What htaccess RewriteRule can rewrite URLs to “/index.php?page_id=5”?
-
Hi there
On a WordPress site, what htaccess RewriteRule can rewrite URLs starting with “city-” to “/index.php?page_id=5”?
I tried the one below, and it redirects, while I want to rewrite the URLs.
RewriteRule ^city-.*$ /index.php?page_id=5 [L]
Thanks.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘What htaccess RewriteRule can rewrite URLs to “/index.php?page_id=5”?’ is closed to new replies.