Strangeness with pretty url rules
-
Hi Everybody
I updated my wordpress from version 3.0 to 3.4.1. Immediately I noticed some troubles with permalinks related to categories pages, which return a 404 error. I temporarily solved with WCS-Permalinks plugin that catch 404 and return a page with a url like this: sitename/?cat=x.So I used function add_rewrite_rule() to add a pretty url into htaccess to solve the problem. I used this code:
add_rewrite_rule('^shortcut/$','/?cat=2000/','top');with a flush the rule appears into htaccess with [QSA,L] but it seems not work. I always had a 404.
any ideas?
The blog I need help with is: (visible only to logged in users)
-
I updated my wordpress from version 3.0 to 3.4.1
Thatr site is not hosted on WordPress.COM and you are posting to the wrong support forum. This forum is for support of sites hosted on WordPress.COM.
Your support questions must be posted to the correct support site for your softwareand that is here http://wordpress.ORG/support/
For more on the differences: http://support.wordpress.com/com-vs-org/
-
-
- The topic ‘Strangeness with pretty url rules’ is closed to new replies.