Sc0rps Active member May 2, 2018 #1 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
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
Ozzy47 Well-known member May 2, 2018 #2 Here, copy the contents of this and name it .htaccess https://xenforo.com/community/htaccess.txt Upvote 0 Downvote
Sc0rps Active member May 2, 2018 #3 ozzy47 said: Here, copy the contents of this and name it .htaccess https://xenforo.com/community/htaccess.txt Click to expand... alright , and i must change something ? i juste changed hoster and go to alibaba Upvote 0 Downvote
ozzy47 said: Here, copy the contents of this and name it .htaccess https://xenforo.com/community/htaccess.txt Click to expand... alright , and i must change something ? i juste changed hoster and go to alibaba
Ozzy47 Well-known member May 2, 2018 #4 If you added some other code to your old file then add the code back, if you did not, then use the code as is. Upvote 0 Downvote
If you added some other code to your old file then add the code back, if you did not, then use the code as is.
Sc0rps Active member May 2, 2018 #5 i don't remember what i added.. i juste want to force https Upvote 0 Downvote
Ozzy47 Well-known member May 2, 2018 #6 Have a read here, https://xenforo.com/community/resources/how-to-implement-ssl-to-secure-http-traffic-https.5425/ Upvote 0 Downvote
Have a read here, https://xenforo.com/community/resources/how-to-implement-ssl-to-secure-http-traffic-https.5425/
Martok Well-known member May 3, 2018 #7 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. Click to expand... 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. Upvote 0 Downvote
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. Click to expand... 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.