I think it is very difficult to exclude that.
I managed to avoid (or reduce) duplicated contents in OpenCart here:
http://forum.opencart.com/viewtopic.php?f=10&t=6677
In my solution, I have to choose that product link is not prefixed by any attributes (category, manufacturer), and suffixes (for example in the search result; I don't get the point why the resulting links are added by search parameters).
So, if originally the content are duplicated across several links, for example:
- /ipod-nano
- /mp3-players/ipod-nano
- /apple/ipod-nano
- /ipod-nano
Nice solution.suhanto wrote:Franz,
I managed to avoid (or reduce) duplicated contents in OpenCart here:
http://forum.opencart.com/viewtopic.php?f=10&t=6677
In my solution, I have to choose that product link is not prefixed by any attributes (category, manufacturer), and suffixes (for example in the search result; I don't get the point why the resulting links are added by search parameters).
So, if originally the content are duplicated across several links, for example:
in my solution, all links are consolidated into:
- /ipod-nano
- /mp3-players/ipod-nano
- /apple/ipod-nano
wherever it is accessed. This is possible, since rewrite module in OC is done inside PHP scripts, so it is easy to change.
- /ipod-nano
Currently working on Finance Trails, personal finance software for budget optimization.
1. robots.txt file to handle duplicate content,
2. 301 redirect in the HTACCESS file to handle all the possible Canconical URLs (more multiples of duplicate content), by redirecting everything to http://www.site.com/ or whatever your url choice is,
http://www.mattcutts.com/blog/seo-advic ... alization/
...and willing to share? It's been fixed for Magento in their forum with these 2 fixes, so I guess its been done for Opencart by someone.
Cheers
Adam
robots.txtadam777 wrote:Has anyone written a decent:
1. robots.txt file to handle duplicate content,
2. 301 redirect in the HTACCESS file to handle all the possible Canconical URLs (more multiples of duplicate content), by redirecting everything to http://www.site.com/ or whatever your url choice is,
http://www.mattcutts.com/blog/seo-advic ... alization/
...and willing to share? It's been fixed for Magento in their forum with these 2 fixes, so I guess its been done for Opencart by someone.
Cheers
Adam
solves dup. content if you can match it to a pattern, but doesn't help with link equity going to waste (doesn't stop the CMS creating alternative URLs, and therefore doesn't take preventative measures against other websites linking to you with alternative URLs)
301 redirect
ok solution, but preferable to stop the duplication before documents are parsed.
Currently working on Finance Trails, personal finance software for budget optimization.
That's one side of the problem -although I don't understand parsing as I'm a hacktowerofbabel wrote: 301 redirect
ok solution, but preferable to stop the duplication before documents are parsed.

The other side is people typing or linking irrelevant urls like:
http://mysite.com
http://mysite.com/
http://www.mysite.com
instead of http://www.mysite.com/
Would the top of the .HTACCESS file look like this?
Code: Select all
RewriteEngine on
RewriteBase /
RewriteCond %{HTTP_HOST} ^mysite\.com$ [NC]
RewriteCond %{HTTP_HOST} ^mysite\.com/$ [NC]
RewriteCond %{HTTP_HOST} ^www.mysite\.com$ [NC]
RewriteCond %{HTTP_HOST} ^www.mysite\.com/index.php?route=common/home$ [NC]
RewriteRule ^(.*)$ http://www.mysite\.com/$1 [R=301,L]
http://httpd.apache.org/docs/2.0/misc/rewriteguide.html
This issue has nothing to do with opencart specifically, as you are talking about the canonical domain root- and yes, it is a totally great thing to do, even though in the last year google deals with it really well - bing doesnt though.adam777 wrote:That's one side of the problem -although I don't understand parsing as I'm a hacktowerofbabel wrote: 301 redirect
ok solution, but preferable to stop the duplication before documents are parsed.![]()
The other side is people typing or linking irrelevant urls like:
http://mysite.com
http://mysite.com/
http://www.mysite.com
instead of http://www.mysite.com/
Would the top of the .HTACCESS file look like this?
At the Apache.org website they mention something different which I don't understand, but that's ok.Code: Select all
RewriteEngine on RewriteBase / RewriteCond %{HTTP_HOST} ^mysite\.com$ [NC] RewriteCond %{HTTP_HOST} ^mysite\.com/$ [NC] RewriteCond %{HTTP_HOST} ^www.mysite\.com$ [NC] RewriteCond %{HTTP_HOST} ^www.mysite\.com/index.php?route=common/home$ [NC] RewriteRule ^(.*)$ http://www.mysite\.com/$1 [R=301,L]
http://httpd.apache.org/docs/2.0/misc/rewriteguide.html
Currently working on Finance Trails, personal finance software for budget optimization.
to better serve the undeniable growing need for SEO specific hosting packages.
I don't understand. If your SEO is so great, then why do you need to spam forums to get clients.ANTHONY009 wrote:By interacting with our clients and by truely understanding their needs as if they were our own, we decided to launch
to better serve the undeniable growing need for SEO specific hosting packages.
LMAO!!jty wrote:I don't understand. If your SEO is so great, then why do you need to spam forums to get clients.ANTHONY009 wrote:By interacting with our clients and by truely understanding their needs as if they were our own, we decided to launch
to better serve the undeniable growing need for SEO specific hosting packages.

OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter
Ecommerce Web Hosting - SSL Certificates - USA & UK VPS Servers
jty wrote:I don't understand. If your SEO is so great, then why do you need to spam forums to get clients.ANTHONY009 wrote:By interacting with our clients and by truely understanding their needs as if they were our own, we decided to launch to better serve the undeniable growing need for SEO specific hosting packages.

Free v1.4.9 Extensions: Default Specials | Improved Search | Customer Activity Report | Customer Groups | Royal Mail With Handling | Improved Product Page | Random Products | Stock Report | All Products
Member of Como Ganhar Dinheiro na Internet Club. Also fan of Monbusho Research Scholarship.
SEO Web Designer | Quality Assurance Services | Organic Seo Services
Users browsing this forum: Google [Bot] and 20 guests