I have a URL like https://mydomain/pages/123_share
but the corresponding WordPress page would be https://mydomain/pages/123/
How can I do this using .htaccess
, WordPress wp-engine, etc.? Here, the problem is I cannot use 301 redirect. I need the content of that page served. That means whenever I type the first URL, I need to give the content of the second URL without passing additional HTTP headers or changing the URL.
How can I do that?
Thanks in advance.