add_rewrite_rule
-
my code
add_rewrite_rule(‘catalog/cars/([^/]+)/?$’,’index.php?pagename=priroda&tovar=$matches[1]’,’top’);
Follow this URL: http://mysait/catalog/cars/audi_a3/
Result: http://mysait/catalog/cars/
in Chrome debugger:
Request URL:http://mysait/catalog/cars/audi_a3/
Request Method:GET
Status Code:301 Moved PermanentlyThe blog I need help with is: (visible only to logged in users)
-
Since we can’t do rewrite rules here you are probably in the wrong forum
The site you are asking about does not seem to be hosted on WordPress.COM so you need to make friends over at WordPress.ORG the keepers of the software you are using.
This site is for support of sites hosted on WordPress.COM. You should address your questions to WordPress.ORG the keepers of the software you are using: http://wordpress.org/support/
For more on the difference: http://support.wordpress.com/com-vs-org/
If you are asking for help with a WordPress.COM site then we need a link to that site to give you accurate help.
- The topic ‘add_rewrite_rule’ is closed to new replies.