XF 2.2 index.php issue

Rock75

Member
hi , To remove index.php from my site url i ticked option "Use full friendly URLs" and it successfully removed index.php from my forum main url, but now when i click any Node of my forum i got this error below as shown in screenshot, how can we also remove index.php from nodes url successfully.?

kkkk.png
 
Solution
If it's the XF .htaccess file then no editing is necessary.

However, if it was an existing .htaccess file which was in place before XF was installed then it's likely the contents are incorrect.

In that case, copy the contents from the htaccess.txt file to it.
Or just delete the existing .htaccess file and rename htaccess.txt.
Then as posted above, it will need server set up.

Your host will be able to assist if you aren't sure how to do that.
I had discussion with host, and they advised me to edit the .htaccess file for friendly URLs,as shown in screenshot below,But i am not sure what codes in .htaccess i need to edit for friendly URLs.
Screenshot (4).webp
 
If it's the XF .htaccess file then no editing is necessary.

However, if it was an existing .htaccess file which was in place before XF was installed then it's likely the contents are incorrect.

In that case, copy the contents from the htaccess.txt file to it.
Or just delete the existing .htaccess file and rename htaccess.txt.
 
Solution
If it's the XF .htaccess file then no editing is necessary.

However, if it was an existing .htaccess file which was in place before XF was installed then it's likely the contents are incorrect.

In that case, copy the contents from the htaccess.txt file to it.
Or just delete the existing .htaccess file and rename htaccess.txt.
Thanks @Brogan for this tip, it worked, You're a champ (y)(y)
 
In most cases it's just a missing .htaccess file.

Rename htaccess.txt to .htaccess.
I ve renamed to .htacces but I have now new error

Internal Server Error​

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

I don t have luck with index.php ....
 
Back
Top Bottom