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=1234
But getting an infinite redirect loop.
Further,
website.com/specific-page
andwebsite.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=1234
Instead, 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)
- You must be logged in to reply to this topic.