XF 2.2 Getting rid of index.php

Alvin63

Well-known member
Licensed customer
I've done this before on my previous forum and can't remember what I did. So the web adress is just www.......................,com - without the index.php? at the end.
 
I couldn't follow that link? What I've seen in basic options is this:

"Use full friendly URLs - If you enable this option, the links generated by the system will not include "index.php?". However, to enable this, mod_rewrite must be available and an appropriate .htaccess file (or the equivalent for your web server) must be in place."

What does that last bit mean about mod_rewrite available and ht.access file?
 
No - the htacecss.txt file is not used.

It is just a placeholder (for want of a better word) for the .htaccess file, if one is needed.
 
Enable it and see if it works.

If it doesn't, disable it and rename htaccess.txt on the server to .htaccess , enable it again and see if it works.

If it doesn't, disable it and contact your host as it will require server changes as explained here: https://xenforo.com/docs/xf2/options/#friendly-urls
This error is still common today, but I made this change and it started working for me. "Use full friendly URLs".
Thanks for your explanation, it was helpful to me and I hope it will be for other future users as well.

rename htaccess.txt to .htaccess
 
Back
Top Bottom