SMF Support > Server Performance and Configuration

Non WWW to WWW

<< < (3/7) > >>

Luka Paunović:

--- Quote from: MrPhil on June 12, 2012, 07:07:05 PM ---Add the www-change code before any lines for SEO. The easiest thing is to put them at the very beginning of the .htaccess file.

--- End quote ---

Sorry friend, i do not understand :(

Kill Em All:
Put this:

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

At the top of the .htaccess file.

.htaccess file should read as:

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

blah blah
blah blah

Sap_Payment:
Don't worry about WWW,
i hope in usa site took wwwdot sitename dot come
duplicate content for the code rel="cronical" href='"priory url"

Luka Paunović:

--- Quote from: Kill Em All on June 13, 2012, 01:15:42 AM ---Put this:

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

At the top of the .htaccess file.

.htaccess file should read as:

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

blah blah
blah blah

--- End quote ---

He should just say "Put the rule in the first line of .htaccess"
lol

Kill Em All:
lol, there are always language barriers that people have to overcome. It is sometimes hard to convey things in text too.

Let us know if it works. :)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version