MyBB Community Forums

Full Version: Changed from webhost site to my own domain
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
(2018-03-19, 04:27 AM).m. Wrote: [ -> ]^ you can add suggested content into a file named htaccess2.txt ,
upload it to main folder of your files server (where you have htaccess.txt)
and then rename it as .htaccess [file name has a dot at beginning & it has no extension]
Okay so I created a .htaccess file in my public folder inside it there is the code you gave me and for some reason it's still not working.
^ can you try using this instead of earlier suggested code in .htaccess file
RewriteEngine On
RewriteBase /
RewriteCond %{HTTPS} off [OR]
RewriteCond %{HTTP_HOST} ^www\. [NC]
RewriteCond %{HTTP_HOST} ^(?:www\.)?(.+)$ [NC]
RewriteRule ^ https://%1%{REQUEST_URI} [L,NE,R=301]
(2018-03-19, 04:54 AM).m. Wrote: [ -> ]^ can you try using this instead of earlier suggested code in .htaccess file
RewriteEngine On
RewriteBase /
RewriteCond %{HTTPS} off [OR]
RewriteCond %{HTTP_HOST} ^www\. [NC]
RewriteCond %{HTTP_HOST} ^(?:www\.)?(.+)$ [NC]
RewriteRule ^ https://%1%{REQUEST_URI} [L,NE,R=301]
Hmm I think it did the job but now the error is thisĀ https://gyazo.com/0fb3a3cf5eea60f21279f92473703934
^ can you tell us if you have installed ssl certificate for your forum ?
sometime ago your forum url changed to https & I assumed that you have installed ssl.
(2018-03-19, 05:16 AM).m. Wrote: [ -> ]^ can you tell us if you have installed ssl certificate for your forum ?
sometime ago your forum url changed to https & I assumed that you have installed ssl.

Hey there, I asked my Webhost support and they said this

We do not offer full certificates here, however you can enable a Let's Encrypt cert for free from the advanced options for a subdomain on your domains tab.
in that case, you can try below rule in .htaccess file
RewriteEngine On
RewriteBase /
RewriteCond %{HTTPS} off [OR]
RewriteCond %{HTTP_HOST} ^www\. [NC]
RewriteCond %{HTTP_HOST} ^(?:www\.)?(.+)$ [NC]
RewriteRule ^ http://%1%{REQUEST_URI} [L,NE,R=301] 
(2018-03-19, 07:02 AM).m. Wrote: [ -> ]in that case, you can try below rule in .htaccess file
RewriteEngine On
RewriteBase /
RewriteCond %{HTTPS} off [OR]
RewriteCond %{HTTP_HOST} ^www\. [NC]
RewriteCond %{HTTP_HOST} ^(?:www\.)?(.+)$ [NC]
RewriteRule ^ http://%1%{REQUEST_URI} [L,NE,R=301] 

Redirected it but now I'm getting thisĀ https://gyazo.com/cd61e406da838a11325daf1adc051306
would you like to PM me temporary access to files (FTP) & forum admin panel to check the issue ..
(2018-03-20, 01:47 AM).m. Wrote: [ -> ]would you like to PM me temporary access to files (FTP) & forum admin panel to check the issue ..

I went ahead and PM'd you the info!
Pages: 1 2