How to get my pagerank back for joomla site

Spread the love
  •  
  •  
  •  
  •  
  •  

I wondered why google is considering http://www.technointellects.com and http://technointellects.com as different sites and rank both the URLs separately

Try this quick test for your web site. Navigate to the two following URL’s:

http://yoursite.com

http://www.yoursite.com

If you can actually have these show up in your browser then you have a problem. What is happening is that Joomla will happily process both URL’s, with and without the www.

“Is that bad?” you now ask.

Actually yes, This meant from Google’s point of view, they were actually 2 different sites and each will get get ranked individually. And one has to face the consequences of duplicate contents!

Thanks to the lots of resourceful sites on the internet which helped me fix the issue real fast

You need to make the following changes in your existing htaccess file or if if you don’t have one yet then need to create one and upload it

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

Explanation to the above commands

The first line “RewriteEngine On” tells Apache to enable Mod_rewrite – the engine responsible for manipulating URLs.

The second line “RewriteCond %{HTTP_HOST} ^technointellects\.com$ [NC]” looks for when people access technointellects.com. The “[NC]” flag makes the test case-insensitive, so it catches URLs like TechnoIntellects.com.

The third line “RewriteRule ^(.*)$ http://www.technointellects.com/$1 [R=301,L]” redirects technointellects.com to www.technointellects.com with a 301 redirect.

Note, in the Joomla htaccess file the “RewriteEngine On” statement is already there, you don’t need it twice.


Spread the love
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  

Leave a Reply

Your email address will not be published. Required fields are marked *