This’s where you’ll work the magic to get the URL structure you want in the most optimized way possible. Some of the most common used rewrite usage are to shorten long URLs to short-friendly, protect your self against hotlinking, transforming dynamic ?page=title§ion=foo to friendly /title/foo/ or redirecting missing pages and much much more.
November 21st, 2011
Rewrite/redirect URL tips using the .htaccess file
2 Comments, Apache, by Joakim Ling.In WordPress 2.9 custom post type was introduced, that opened a new world for many WordPress developers. I’ve come across a painful issue when it comes to removing the slug and not destroying the rewrite rules for other post types. This only concerns those who are using %postname% as permalink structure and want to add a custom post type so that the urls for them are in the same way as normal posts and pages: http://siteurl/%custom_post_type_title%/.