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 but no changes... Anything that will work I highly welcome – alfred atsaba Apr 7 '20 at 8:41
-
1Your comment only alerted me because I am the only user to comment under your question. To respond to the answerers, leave a comment under their answers -- this way they will receive a notification. – mickmackusa♦ Apr 7 '20 at 9:29
Rename htaccess.txt to .htaccess
-
This answer has been auto-flagged as Low-quality. Please try to be more generous about what this does and why it is a good idea. I realise you are making a very basic/intuitive/self-explanatory suggestion, but it role models better posting behaviours and stands to empower/educate more researchers if you can explain your solution. – mickmackusa♦ Apr 6 '20 at 2:54
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.conf
file (in your server folder) search formod_rewrite
. If there's any "#" in front ofmod_rewrite
, take it out and save the fileMake sure your httpd.conf is correctly configured
it may be hard to find the correct configuration for the
httpd.conf
file, 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