View Full Version : Linking with or without www
ddzc
Nov 8th 2008, 8:36 am
Hi all,
I have a site which is wordpress based. Therefore, when you type http://www.mysite.com it redirects on it's own to http://mysite.com. When submitting sites and creating internal links, should the structure be with or without the www? I'm not sure if theres anyway I can edit wordpress so it doesn't redirect and remove www.
What's your take?
Simply Me
Nov 8th 2008, 8:42 am
I believe that you can change that, check your .htaccess files. I believe those files change the url, not wordpress.
allout
Nov 8th 2008, 8:45 am
If you are talking about links pointing to your site, it does not matter. Just stay one way or the other with all back links you build. Either use with or without for all links you build. I always use the one without www for all my blogs. The PR will show up on both version in PR checkers.
There is no need to remove the redirect, it does not affect anything. I would leave it like it is, I have several blogs and all have done good with the standard set up.
ddzc
Nov 8th 2008, 9:11 am
great, thanks a lot
Loco.M
Nov 8th 2008, 9:13 am
You can also tell google in webmaster tools which formate you prefer ;) with or without the www.
gemini181
Nov 8th 2008, 9:17 am
At the start:
You really should choose with www or without www and be consistent.
.htaccess
(This is a general solution, for no www, not related to any one script)
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} !^example.com$ [NC]
RewriteRule ^(.*)$ http://example.com$1 [L,R=301]
allout
Nov 8th 2008, 9:31 am
At the start:
You really should choose with www or without www and be consistent.
.htaccess
(This is a general solution, for no www, not related to any one script)
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} !^example.com$ [NC]
RewriteRule ^(.*)$ http://example.com$1 [L,R=301]
Just curious, is this not what Word Press already does. It redirects www to no www?
golan
Nov 8th 2008, 9:46 am
In general - you should ONLY use without the WWW
The fact that wordpress is doing that is a good thing, always make links to your site from other websites the same way - WITHOUT the WWW...
Why?
Google sees: www.yoursite.com and yoursite.com as 2 different sites.
So links to one + links to the other do NOT add up to give you your pagerank.
Instead you will get: (for example)
www.yoursite.com PR: 3
yoursite.com PR: 1
where you might have gotten yoursite.com PR: 4 if you hadn't split the domain that way.
(well, this is an example to illustrate, It's not quite that simple, I know)
Also, new web standards remove the "www." (which is technically, a subdomain) in favor of using the domain directly.
did that help explain or did I just make it more confusing?
haha, sometimes I confuse myself, but the idea is there.....
JackHeskett
Nov 8th 2008, 10:33 am
I've always used without the www.
cipals15
Nov 8th 2008, 10:37 am
You can also set it in Google Webmaster Tools.
gemini181
Nov 8th 2008, 11:03 am
Just curious, is this not what Word Press already does. It redirects www to no www?
Your admin > settings >> Main URL
and
.htaccess
can both have an effect.
I just experiment and figure it out. :p
.
..
...
....
.....
......
....... :)
........
...........
..................
...........................
........................................
................................................... :D :D
malikwiki
Nov 8th 2008, 11:22 am
Hello,you can easily change it to www .just login in to account and where you gave the website url change there to www.sitename.com..
ddzc
Nov 10th 2008, 7:07 am
Thanks a lot
Good to know how to change it in wordpress..most of my links are without www so i'll just stick to it. Thanks again
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.