Free Joomla Tutorials

 
01 Feb
How to Solve Duplicate URL's - 5.0 out of 5 based on 4 votes

How to Solve Duplicate URL's

Be the first to comment!
Last modified on Tuesday, 19 August 2014 13:36
Rate this item
(4 votes)

Having any kind of duplicate content on your website could jeopardize your search engine ranking.

First of all you should make sure you do not have any repeated content, make sure your content is unique, not copied from somewhere else on the internet or from other page on your site. Also there is the problem of the search engines accessing through multiple URL's.

Of course Joomla as well as a lot of other CMS tend to have this issue.

For instance when using the SEF (Search Engine Friendly) links ON in Joomla Global Configuration, the URL without SEF still exists and it is crawled and accessed by the search engines. This of course means that you will have your site content copied at least twice, sometimes even more.

Read this article and watch the video below to understand the cause and to help you resolve this issue on your Joomla site.

Watch Our Video Tutorial Below to Follow Instructions

 

 
The following can cause duplicated URL's:

- The same article accessed form different menu items.
- Pages ending with the extentsion .html, .php, etc, which show the same information.
- URL's with and without the trailing slashes such as http://www.yoursite.com and http://www.your site.com/
- Parameters like /component/content/?id=2&Itemid=109
- SEF URL's and non-SEF URL's that are still accessible despite the SEF being activated.

There are different points of view as far as how bad Duplicated URL's affect your rankings, some opinions say that you can be penalized by the search engine. Bottom line is even if your are not penalized duplicated content simply confuses the indexing process of the search engines.

There are many different way to go around this. We will talk about the easy way around, trying to avoid having to write so much confusing code.

First of all there is a very useful free website tool called "Nibbler" to test your website for various important criteria, including accessibility, SEO, social media, technology, links, etc. Bookmark it Nibbler Website

CANONICAL TAGS:

Setting canonical tags to the right pages will prevent the non-SEF from being indexed by the search engines.
However doing this manually could even get worse if wrong. To avoid this risk an incidentally having to deal with code I recommend an extension called "Canonical by Grigor Mihov" Download Canonical

The canonical plugin will solved all the issues mentioned above.
But there is still the issue with search engines reading www and non-www as separate URL's.

http://yoursite.com
http://www.yoursite.com

It will interpret them as two separate sites and therefore assuming your content is duplicated.
To go around this we need to use 301 redirects.

USING 301 REDIRECTS:

Again we can write code or we can use a Plugin to go around this issue. You can doiwnload and use the following plugin aiRedirectWww developed by Algin Info Grup
To redirect manually we have to open the .htaccess file on our server and type the following code under RewriteEngine On 

RewriteCond %{HTTP_HOST} ^yoursite\.com$
RewriteRule ^$ http://www.yoursite.com/ [R=301,L]

The previous code will redirect yoursite.com to www.yoursite.com. Therefore solving the duplicates issue. On the following video we demostrate the procedure.

 

 

Federico Dantoni

Web Developer Expert in Global Online Solutions. 12+ years experience in the web development filed well versed in Content Management Systems, HTML5, CSS3, Java Script, SQL, JQuery among others.

Leave a comment

Make sure you enter the (*) required information where indicated. HTML code is not allowed.

Can't get data from youtube.
Probable causes listed below:

1. Youtube username or Playlist is not valid with your selection. Please set the parameters correctly from module manager

2. It might also be a problem with CURL library or your server config

Reply from youtube:

No longer available