Rewrite rule doesn't work
-
Hi,
I am desperately trying since a few days to use the following rewrite rule.
The URL should be somtething like this:
https://www.example.com/parameter/custom-page
The problem is that the parameter should be before the pagename as it is user-friendlier in this case.
The RegExp I used is:
(.?.+?)/([^/]+)/custom-page/?$
That expression works fine with a RegExp tester but it seems like WordPress doesn’t use it. According to the plugin “Rewrite Rules Inspector” its registered but not used for the URL.Hope someone can help me as I don’t have a clue whats wrong at the moment ??
Thanks very much in advance
Ben
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Rewrite rule doesn't work’ is closed to new replies.