Regular product
£10.00
This is a short description for the product
Content to hide in here
This works fine. Whether the file exists or not, if someone tries to access example.com or example.com/page-not-found it will make a permanent redirect to www.example.com or www.example.com/page-not-found.
I want to change the way the website runs and have all requests get routed through a specific file (for example index.php in the main directory). What should happen is that if someone goes to www.example.com/any-page, it will still show www.example.com/any-page, but I will be handling it in www.example.com/index.php, so that I can handle all traffic in one file. I can do this with the following:
Leave a Reply
You must be logged in to post a comment.