NameSilo

That's better 4 ur page rank

Spaceship Spaceship
Watch
i found an article online
Code:
Code:
Options +FollowSymlinks All -Indexes
rewriteEngine on
rewriteBase /

RewriteCond %{HTTP_HOST} ^domain.com$
RewriteRule ^(.*)$ http://www.domain.com/$1 [R=301,L]
Thus redirects all http://domain.com traffic to http://www.domain.com.

Add it to your .htaccess file, change domain.com to your actual domain, and you should see an increase in your Page Ranking. Very handy. Works on all browsers.

THEY said
should see an increase in your Page Ranking.

is that true does it have that big effect what will that do to my PR

Regards\
 
1
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
The theory is that if you have links to domain.com and links to www.domain.com, a lot of search engines count the two separate. So if you have 50 links to each, you only have 50 links to your site. By using mod_rewrite to redirect one to the other, you would have 100 links to your site. It could help, but it depends on how many links you have. If you have 0 links without the www., you wouldn't really see a difference.
 
0
•••
ds

another question if i got a domain like http://boards.ryansdistrict.com can i do this too to get more links to my top domain ? also what about ryansdistrict.com/boards ?
:)

by the way i did do that for the main directory [ in the public_html ]
but does'nt this mean that when i enter ryansn....com will go to www.ryansdis....com ?
 
Last edited:
0
•••
?
 
0
•••
SJ is correct about the rewrite. The goal is to point all traffic to one domain. This should normally be the www.domain.com version.

I did see a significant uptick in back links after I implemented that for all of my sites.
 
0
•••
So this is a valid, effective "White Hat" SEO move?

As an aside, why on earth would Google count www and non-www as different sites???

On topic, why is it better to direct to the www? I have always directed links to the non-www, it is shorter for forum sigs (as below). Since I have most links now to the non-www should I switch positions in the code of www and non-www so that the non-www is my primary address??
 
0
•••
guys tell me
is it effective ?
do u advise me to use it ?
which is better to redirect to www or without www [i think without easier ]
 
0
•••
I have the same question, I always direct www.domain.com to domain.com

accentnepal said:
So this is a valid, effective "White Hat" SEO move?

As an aside, why on earth would Google count www and non-www as different sites???

On topic, why is it better to direct to the www? I have always directed links to the non-www, it is shorter for forum sigs (as below). Since I have most links now to the non-www should I switch positions in the code of www and non-www so that the non-www is my primary address??
 
0
•••
accentnepal said:
So this is a valid, effective "White Hat" SEO move?

As an aside, why on earth would Google count www and non-www as different sites???

On topic, why is it better to direct to the www? I have always directed links to the non-www, it is shorter for forum sigs (as below). Since I have most links now to the non-www should I switch positions in the code of www and non-www so that the non-www is my primary address??

Because technically they are different sites. I have been to companies that had different web presences at domain.com and www domain.com and some that have nothing at domain.com and only a site at www domain.com

I don't feel there is any difference between www and non www, just get all the traffic to the same page.
 
0
•••
mbuna said:
Because technically they are different sites. I have been to companies that had different web presences at domain.com and www domain.com and some that have nothing at domain.com and only a site at www domain.com

I don't feel there is any difference between www and non www, just get all the traffic to the same page.

I just recently had a mobi site that wouldn't resolve as SanDiegoCity.mobi but would when I typed in www.SanDiegoCity.mobi. I had mistakenly capitalized the I in index.html (I uploaded Index.html). It was an interesting find. Before then I had no idea that you could do two sites with one name.
 
0
•••
ddd

hmm
 
0
•••
YOu have to think about things this way. A web server can have a different site at any subdomain. Typically www is reserved for the website, but it doesn't need to be. I have my sites at other sub domains ex: test.domain.com, test2.domain.com, wap.domain.com, etc.

To keep things simply I redirect all domain.com to www . domain.com so that either entry ends up at the same page.

Then the webserver has a list of default pages to look for when you enter domain.com. Typically that is index.html, index.htm or index.php

If you upload Index.htm that isn't the same file as index.htm (note capitalization.).
 
0
•••
as well as gaining from the link perspective you can also gain in other ways.

Search engines penalize for duplicate content. If your site is accessible from www and non www the search engines will see 2 sites with the same content. 1 of them will be penalized if it does not realize they are 1 and the same.
 
0
•••
Thanks for the tip. +repped you and did it on my server :)
 
0
•••
If anyone is using this on their wp blogs make sure the URL you have set for wordpress(and blog) in the 'Options' tab is the same as the URL you may have your .htaccess file redirecting to or else you will face posting/editing problems
 
0
•••
Moved to search engines, as it is a more appropriate category.

-Steve
 
0
•••
Domain Recover
NameMaxi - Your Domain Has Buyers
  • The sidebar remains visible by scrolling at a speed relative to the pageโ€™s height.
Back