Hello all, I'd like to create custom permalink for the categories but leave the rest intact. For example: mysite.com/?cat=1 will be mysite.com/house mysite.com/?cat=3 will be mysite.com/lands AND the rest stays intact: mysite.com/?p=123 mysite.com/?page_id=96 I tried some htaccess rewrite tutorials but no success yet... Thanks!
I am not sure why you want this. Not sure if this is possible either. I would advise to go with custom permalinks for posts instead of mysite.com/?p=123. This will help you in the long run
The reason I need this because I made a custom theme for a client but in the last moment he told me to have a menu like that. So I should rewrite whole codeblocks if I'd use everything with fancy permalinks. However I figured it out: * This plug-in helped me to make category menu different: http://wordpress.org/extend/plugins/advanced-permalinks/ * And I had to put these lines into the .htaccess file: # BEGIN WordPress RewriteEngine on RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^houses$ ?cat=1 [L] RewriteRule ^lands$ ?cat=3 [L] # END WordPress
I think you should tell your client how important it is to have proper permalinks. It would benefit him in the long run