This Forum has been archived there is no more new posts or threads ... use this link to report any abusive content
==> Report abusive content in this page <==
Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
The pagerank of my website?
04-08-2014, 08:15 PM
Post: #1
The pagerank of my website?
I have website and whenever I ckeck irs pagerank and I write without ''www'' it says that my rank is ''2'' BUT when i write it by ''www'' its says the pagerank is ''0''!!
I dont know! beats me :-?
anybody can help me with this?!!

Ads

Find all posts by this user
Quote this message in a reply
04-08-2014, 08:19 PM
Post: #2
 
If your home page opens with both 'www' and non 'www', then you have a canonical issue. It means you have two different URLs for one page. This issue also divides your page rank in between these different URLs. It is also bad according to search engine algorithms. You need to fix this ASAP. There are lots of ways you can do it:

First figure out which URL you want, I suggest you chose without 'www' as it has PR 2.


Use this tag right under the header section.

<head>

<link rel="canonical" href="http://yourwebsitedomain.com" />

This is a temporary solution. For a better solution place this code in your .htaccess file.



Options +SymLinksIfOwnerMatch

RewriteEngine on

RewriteCond %{HTTP_HOST} ^domainname\.com$ [NC]

RewriteRule ^(.*)$ http://domainname.com/$1 [R=301,L]

RewriteCond %{THE_REQUEST} ^.*/index.html

RewriteRule ^(.*)index.html$ http://domainname.com/$1 [R=301,L]

Ads

Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)