Can any one point me in the correct place to edit a .htaccess file so that https:// is redirected to http:// on a website that you to use a ssl certificate?
the url was https://www.somesite/
and now needs to be http://www.somesite/
As its indexed in search engines as https
Beer for the person who gets me the answer
Server protocol
Forum rules
Please only request support for mods released by phpbbmodders.net found at either https://github.com/phpbbmodders/ or the MODDB at http://www.phpbb.com
Please only request support for mods released by phpbbmodders.net found at either https://github.com/phpbbmodders/ or the MODDB at http://www.phpbb.com
Server protocol
Steve ©
-
- Old member
- Posts: 677
- Joined: 30 Mar 2011, 00:32
- Contact:
Re: Server protocol
Maybe here i was looking for something and im sure its on this site http://www.javascriptkit.com/howto/htaccess7.shtml
-
- Member
- Posts: 164
- Joined: 07 Jul 2009, 20:13
- Location: Leeds, England [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: Server protocol
Hi
Use mod_rewrite
http://kb.mediatemple.net/questions/85/ ... rite+rules
So you should be able to do this
Filename: .htaccess
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.example.com/$1 [R,L]
But use http instead of https
Use mod_rewrite
http://kb.mediatemple.net/questions/85/ ... rite+rules
So you should be able to do this
Filename: .htaccess
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.example.com/$1 [R,L]
But use http instead of https
Re: Server protocol
Steve ©
Re: Server protocol
Steve ©
- RMcGirr83
- Past Contributor
- Posts: 6243
- Joined: 30 Nov 2006, 14:23
- Real name: Rich McGirr [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: Server protocol
Good!! Now fork up my bitch!! :inlove:
Re: Server protocol
Boy, you don't share shit.
Re: Server protocol
I never got the https to http redirect to work on my server.
Probably because I never had a ssl certifikcate.
Probably because I never had a ssl certifikcate.
Return to “Modders MOD support”
Who is online
Users browsing this forum: No registered users and 52 guests