Adding custom url rewrite to wordpress?
-
I have a wordpress site with url rewrite activated. I want to add two more url rewrites for my custom page
RewriteRule ^page/([^/]*)$ page.php?$id=$1 [L]
RewriteRule ^page/2/([^/]*)$ page2.php?$id=$1 [L]But when i add these lines, no use. It redirects to the wordpress page and saying no post found. How can i achieve this..
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Adding custom url rewrite to wordpress?’ is closed to new replies.