Ok, that should be fine. If you’re still getting 404s, contact your hosting provider and ask them to make sure that mod_rewrite is installed and active on your server.
The thing is I am using a VPS to host my server. I am my own host.
Is thee any way I can enable the mod rewrite?
Yes, you’ll have to recompile Apache and ensure that mod_rewrite is one of the enabled modules.
How can I do that? Like recompiling httpd
That’s one way yes, it’s different though depending on what you’re using to manage your server (WHM, CLI, the OS itself, etc). Consult your hosting provider’s documentation, or your panel’s documentation, for specifics.
Server:
OS: Centos
Using Apache
Local MySQL
Consult your hosting provider’s documentation, or your panel’s documentation, for specifics.
OK. Thanks for all your help. I really appreciate it 🙂