XF 1.5 Default htaccess code

Sc0rps

Active member
Hello dear,

i want to know wich htaccess must use ? i changed the hoster and lost my htaccess file . I want to know wich default one i must copy and paste ?

thanks alot
 
I've already explained in a conversation what you need to look at adding:

Firstly look at Point 19 of the FAQ for examples of what to add for redirecting www to non-www.

https://xenforo.com/community/threads/frequently-asked-questions.5183/#post-180456

You will have to find the correct one for your server. As the FAQ says:

Note that all servers are different and you may have to try several variations until you find one which works.


Secondly, you will then need to look at Point 20 of the FAQ for forcing https.
https://xenforo.com/community/threads/frequently-asked-questions.5183/#post-180456


Thirdly, once you have done that, follow the steps in this guide:

https://xenforo.com/community/resources/how-to-implement-ssl-to-secure-http-traffic-https.5425/

The first part should have already been covered by Point 20 of the FAQ.
 
Top Bottom