I’ve created a template for a custom page in WP, which URL looks like:

http://example.com/my-page/

Then I had to pass some info to the page with the GEt request, so my page now looks like:

http://example.com/my-page/?id=123

Finally I want to rewrite the way the URL looks via .htaccess, to get something like:

http://example.com/my-page/123

How do I change the WP original .htaccess to achieve that (without breaking it too)? Thanks!

Read more here: WordPress URL custom rewrite


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.


Wordpress related questions and answers: