Convert path to query parameter
-
Hello, I am trying to create a direct from:
https://website.com/specific-page/1234
TO
https://website.com/specific-page?page_id=1234But getting an infinite redirect loop.
Further,
website.com/specific-pageandwebsite.com/specific-page/should have no redirect. Only if there is a value after/specific-page/.I have tried various variations, all similar to:
^/specific-page/(.*)
TO
/specific-page?page_id=1234Instead, all attempts redirect to
website.com/specific-page?page_id=?page_id=. Any advice is greatly appreciated.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Convert path to query parameter’ is closed to new replies.