Free Business Forum UK  

Go Back   Free Business Forum UK > Marketing > Search Engine Optimisation


Search Engine Optimisation SEO Help and Advice. Learn from the Experts How to Improve your Ranking in Search.












Duplicate products

Search Engine Optimisation


Reply
 
LinkBack Thread Tools Display Modes
  #11  
Old 03-07-2009, 02:30 PM
His end was peace
 
Join Date: Apr 2009
Location: Wales
Posts: 399
Thanks: 182
Thanked 106 Times in 88 Posts
Default

Yeah. These products are coming up as duplicates. I think I mentioned this before.

TBH, it sounds as if your eCommerce system is a bit out of date.

Anyway as an example, you have:

http://petshop2u.co.uk/proddetail.ph...d-1520&cat=340
http://petshop2u.co.uk/proddetail.ph...ed-1520&cat=78
http://petshop2u.co.uk/proddetail.ph...e-cat-bed-1520

Which are all duplicates. Ideally these URLs would be totally re-written to:

http://petshop2u.co.uk/product/pink-palace-cat-bed

but it would be easiest to do have just:

http://petshop2u.co.uk/proddetail.ph...e-cat-bed-1520

Off the top of my head adding this to htaccess will sort the problem:

RewriteRule ^proddetail.php?prod=([a-z0-9-])+&cat=[0-9]+$ proddetail.php?prod=$1 [R=301,NS,L]

I would view that as a temporary measure. Really, I would look at getting the URLs sorted as they are printed out on page. There should only ever be one URL for each page and the best way to do that is only have 1 URL that will load the page and not a bunch of redirects.
__________________
Signature has Expired
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote


Register to remove these Advertisements.
  #12  
Old 03-07-2009, 03:11 PM
Chubster's Avatar
Got a pet...im your man
 
Join Date: Aug 2008
Location: Surrey
Posts: 5,375
Thanks: 825
Thanked 850 Times in 697 Posts
Default

Cheers David....indeed I think you did mention this before....

So until the time I can get this sorted, will adding that line to htaccess as is be enough or will I need to write something for every duplicate product ?

Thanks muchly
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13  
Old 03-07-2009, 03:24 PM
His end was peace
 
Join Date: Apr 2009
Location: Wales
Posts: 399
Thanks: 182
Thanked 106 Times in 88 Posts
Default

Quote:
Originally Posted by Chubster View Post
Cheers David....indeed I think you did mention this before....

So until the time I can get this sorted, will adding that line to htaccess as is be enough or will I need to write something for every duplicate product ?
The htaccess rule I posted above should redirect all those duplicate products to the root product page. This will stop search engines seeing multiples pages for one product. However, there is always the chance that that rule will need a little tweak and if you have other rules in htaccess you may need to put it in a certain position.

Give it a try and see if it forwards you from the duplicate product pages to the root product page.

Quote:
Originally Posted by Chubster View Post
Thanks muchly
For Chubs, anything.
__________________
Signature has Expired
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #14  
Old 03-07-2009, 03:33 PM
Chubster's Avatar
Got a pet...im your man
 
Join Date: Aug 2008
Location: Surrey
Posts: 5,375
Thanks: 825
Thanked 850 Times in 697 Posts
Default

Quote:
Originally Posted by david64 View Post
The htaccess rule I posted above should redirect all those duplicate products to the root product page. This will stop search engines seeing multiples pages for one product. However, there is always the chance that that rule will need a little tweak and if you have other rules in htaccess you may need to put it in a certain position.

Give it a try and see if it forwards you from the duplicate product pages to the root product page.
OK placed at top and that didnt work....

I will cheekily add my htaccess file below for you to see where it might be "tweaked"

Options +FollowSymlinks -MultiViews -indexes
RewriteEngine on
RewriteBase /

#Duplicate Products

RewriteRule ^proddetail.php?prod=([a-z0-9-])+&cat=[0-9]+$ proddetail.php?prod=$1 [R=301,NS,L]



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

RewriteCond %{THE_REQUEST} /index\.php\ HTTP/
RewriteRule ^index\.php$ / [R=301,L]

deny from 83.57.64.214
deny from 84.123.166.108

<Files 403.shtml>
order allow,deny
allow from all
</Files>

deny from 82.99.30.
deny from 118.69.172.180
deny from 222.124.
deny from 99.16.181.130
deny from 212.107.28.198
deny from 208.99.193.
deny from 78.97.229.173
deny from 67.212.137.5
deny from 208.71.89.180
deny from 208.99.199.
deny from 68.15.185.165

#Stop Image Hotlinking
RewriteCond %{HTTP_REFERER} !^http(s)?://(www.)?mydomain.co.uk [NC]
RewriteCond %{HTTP_REFERER} !^http(s)?://(www.)?mydomain [NC]
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !google\. [NC]
RewriteCond %{HTTP_REFERER} !search\?q=cache [NC]
RewriteCond %{HTTP_REFERER} !msn\. [NC]
RewriteCond %{HTTP_REFERER} !yahoo\. [NC]
RewriteCond %{REQUEST_URI} !^hotlinker.jpe$
RewriteRule .(jpe?g|png|gif|jpg)$ /images/hotlinker.jpe [NC,R,L]

Last edited by Chubster; 03-07-2009 at 04:37 PM.. Reason: Removed my urls
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #15  
Old 03-07-2009, 03:35 PM
Chubster's Avatar
Got a pet...im your man
 
Join Date: Aug 2008
Location: Surrey
Posts: 5,375
Thanks: 825
Thanked 850 Times in 697 Posts
Default

Quote:
Originally Posted by david64 View Post
For Chubs, anything.
Hmmm....free SEO till a certain other couple of pet sites are knocked off the top spot
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #16  
Old 03-07-2009, 04:27 PM
His end was peace
 
Join Date: Apr 2009
Location: Wales
Posts: 399
Thanks: 182
Thanked 106 Times in 88 Posts
Default

Quote:
Originally Posted by Chubster View Post
Hmmm....free SEO till a certain other couple of pet sites are knocked off the top spot
Quite a lot of work to go on PetShop2U to beat the competition

Code:
RewriteCond %{REQUEST_URI} ^/proddetail.php [NC]
RewriteCond %{QUERY_STRING} ^prod=([a-z0-9-]+)&cat [NC]
RewriteRule ^.+$ proddetail.php?prod=%1 [R=301,NC,L]
I tested this on local and it works. Should be ok to put it at the top of your htaccess.
__________________
Signature has Expired
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #17  
Old 03-07-2009, 04:34 PM
Chubster's Avatar
Got a pet...im your man
 
Join Date: Aug 2008
Location: Surrey
Posts: 5,375
Thanks: 825
Thanked 850 Times in 697 Posts
Default

Quote:
Originally Posted by david64 View Post
Quite a lot of work to go on PetShop2U to beat the competition

Hey...you offered. Never said it would be easy

Code:
RewriteCond %{REQUEST_URI} ^/proddetail.php [NC]
RewriteCond %{QUERY_STRING} ^prod=([a-z0-9-]+)&cat [NC]
RewriteRule ^.+$ proddetail.php?prod=%1 [R=301,NC,L]
I tested this on local and it works. Should be ok to put it at the top of your htaccess.

Thanks very much David, will go add that now and see what happens
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #18  
Old 03-07-2009, 04:40 PM
Chubster's Avatar
Got a pet...im your man
 
Join Date: Aug 2008
Location: Surrey
Posts: 5,375
Thanks: 825
Thanked 850 Times in 697 Posts
Default

...OMG. I think I love you



Cheers David thats done the trick brilliantly.....one step closer to the competition
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #19  
Old 03-07-2009, 04:50 PM
His end was peace
 
Join Date: Apr 2009
Location: Wales
Posts: 399
Thanks: 182
Thanked 106 Times in 88 Posts
Default

No problem

Actually, I think for your main SERPs, you just need more link text. This site is on page one for "pet shop".

killaypetshop.co.uk

Only big boy is petsathome.com (as far as I can tell).
__________________
Signature has Expired
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #20  
Old 03-07-2009, 04:57 PM
Chubster's Avatar
Got a pet...im your man
 
Join Date: Aug 2008
Location: Surrey
Posts: 5,375
Thanks: 825
Thanked 850 Times in 697 Posts
Default

Quote:
Originally Posted by david64 View Post
No problem

Actually, I think for your main SERPs, you just need more link text. .
OWG is working on that for me....

I do do quite well for long tail though.....We will get there sooner rather than later
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Tags
duplicate, products

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Duplicate content Laurafyp Search Engine Optimisation 3 03-03-2009 08:43 PM
A Big Hello From Computer Products Ltd CPLTD Introductions 15 24-02-2009 10:36 AM
Duplicate Meta Titles Chubster Search Engine Optimisation 3 06-10-2008 02:07 PM
Duplicate content question Peter W Search Engine Optimisation 3 10-09-2008 08:46 PM
Witchy Products Nicksyb General Business Questions and Discussion 3 25-08-2008 01:15 PM




All times are GMT. The time now is 05:41 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.0
© Free Business Forums 2010

Ad Management plugin by RedTyger