Custom rewrite rules in .htaccess
-
Have been forced to make custom rewrite rules directly in the .htaccess file.
The rule i have is
RewriteRule ^serietabell/([a-zA-Z0-9\-]+)/([a-zA-Z0-9\-]+)/$ index.php?page_id=75&league=$1&season=$2 [L,R=301]
But when this is executed wordpress ewrite it to https://xxxxxxxxxx/serietabell/?league=elitserien&season=2017
(Serietabell) is the name of page with id 75)
How can i force the url to still be
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Custom rewrite rules in .htaccess’ is closed to new replies.