MyBB Support

Redirect from Http?

Submitted by Mr_Joker, , Thread ID: 4837

Thread Closed

RE: Redirect from Http?

Mr_Joker
YouR JuSt G4Y
Level:
0
Reputation:
3
Posts:
795
Likes:
51
Credits:
493
OP
25-06-2015, 01:13 AM
#11
25-06-2015, 12:57 AM
Gods Hand Wrote:
24-06-2015, 04:21 PM
Mr_Joker Wrote:
23-06-2015, 02:24 PM
GodsHand Wrote:
Add this to your .htaccess file

Code:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^example\.com$ [NC]
RewriteRule ^(.*)$ http://www.example.com/$1 [R=301,L]

This will add the WWW prefix to your domain names in URLs

example\.com do i remove \ ??

No you don't remove.

There was no point for you to reply since i said it worked..

Users browsing this thread: 1 Guest(s)