Remove /index.php from joomla 3x, I enable rewrite it removes the /index.php but leads to error 404 please advise except for the home page. Please help fix this.. thanks in advance.
Rename htaccess.txt to .htaccess (as @Midhat said)
htaccess is needed to make your urls friendly. It comes with a ."txt" extension by default.
Make sure your server has mod rewrite on
To enable mod rewrite open your
httpd.conffile (in your server folder) search for
mod_rewrite. If there's any "#" in front of
mod_rewrite, take it out and save the file
Make sure your httpd.conf is correctly configured
it may be hard to find the correct configuration for the
httpd.conffile, so after following the first two steps above, and you still get the error, i suggest you either changing your local server (if it's a local host) or contacting your hosting service to check the server configuration
Depending on the host of your website, there can be several solutions.
First, as already mentioned, rename the htaccess file.
If this proves to be unsuccessful:
Look into the system information tab and be sure that you're on an apache system and not on nginx. Because htaccess only affects Apache. Otherwise, you need to configure nginx.
If you're on Apache, check the rewrite base within the htaccess and remove the #. Or have a call with your hosting service provider to be sure that there is no other configuration necessary for the rewrite base.