why is this happening? different PR in google, one is 0, other is 2. yahoo site explorer shows 10 links for one and 200 for the other? is this normal?? site is crowntutoring . com
you should perform a redirect to the www version of yours site. Google sees these as different pages Options +FollowSymLinks RewriteEngine on RewriteCond %{HTTP_HOST} . RewriteCond %{HTTP_HOST} !^seo-rant\.com RewriteRule (.*) http://seo-rant.com/$1 [R=301,L] use the above code in your .htaccess file to do it....replace my domain name seo-rant.com with yours
thanks, I have been trying to do this for an hour and no success. with your code, I first entered as is, crowntutoring.com would work, www.crowntutoring.com would not work. So I then added: RewriteEngine on RewriteCond %{HTTP_HOST} . RewriteCond %{HTTP_HOST} !^crowntutoring\.com RewriteRule (.*) http://www.crowntutoring.com/$1 [R=301,L] then crowntutoring.com does not work, while www.crowntutoring.com works. stupid thing.
i just tried: RewriteEngine on RewriteCond %{HTTP_HOST} . RewriteCond %{HTTP_HOST} !^crowntutoring\.com RewriteRule (.*) www.crowntutoring.com/$1 [R=301,L] still no go, this is so strange, the www.crowntutoring.com does not work, and crowntutoring.com is not referring under these settings.
Here's a copy of mine (I prefer to remove the www): RewriteEngine On RewriteCond %{HTTP_HOST} ^www.sitefever.com$ [NC] RewriteRule ^(.*)$ http://sitefever.com/$1 [R=301,L] I think yours is setup a little bit wrong. Here's what I would use for yours (leaving the www) using mine as an example: RewriteEngine On RewriteCond %{HTTP_HOST} ^http://crowntutoring.com$ [NC] RewriteRule ^(.*)$ www.crowntutoring.com/$1 [R=301,L] If that doesnt work, maybe your web host does not allow. htaccess files.
thanks for the help so far. the first suggestion causes a block again. The second suggestion causes no blocks, but nothing is forwarding??? right not it is set at: RewriteEngine On RewriteCond %{HTTP_HOST} ^http://crowntutoring.com$ [NC] RewriteRule ^(.*)$ www.crowntutoring.com/$1 [R=301,L]
I just noticed you yours pointing in the opposite direction I want mine pointing, how should I change this?
ok, more news, i tried this code of a webpage: Options +FollowSymlinks RewriteEngine on rewritecond %{http_host} ^crowntutoring.com [nc] rewriterule ^(.*)$ http://www.crowntutoring.com/$1 [r=301,nc] and in firefox, the crowntutoring.com refers to www.crowntutoring.com/public_html and it gives the error. why does it go to public_html?
AHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHh Finally got it listen up, I was accesing the wrong htaccess file, there are two of them on my server. when I modified the one in public_html problem was fixed, check it
Hi, Try to use file level 301 Redirects in your default index page: If you are using PHP then add this code: ---------------------------------------------- <? Header( "HTTP/1.1 301 Moved Permanently" ); Header( "Location: http://www.new-url.com" ); ?> ---------------------------------------------- For ASP go with this one: ---------------------------------------------- <%@ Language=VBScript %> <% Response.Status="301 Moved Permanently"; Response.AddHeader("Location","http://www.new-url.com/"); %> ---------------------------------------------- And for ASP.NET use this one: ---------------------------------------------- <script runat="server"> private void Page_Load(object sender, System.EventArgs e) { Response.Status = "301 Moved Permanently"; Response.AddHeader("Location","http://www.new-url.com"); } </script> ----------------------------------------------
Hi, It's good you got it working, I was replying so i hope others will find this information is useful.
so now after redirection, google will see that it is the same page and attribute links to both sites as if they were the same?
Yes, Just in case it's redirected within 301 level as mentioned above then it will pass the linking as well as the pagerank to the new website. Usually this process take almost 4-6 months till all the pagerank value is passed on.
Register for a Google webmaster tools account and verify your site....there is an option there to tell Google to show the www version of your site