Welcome to WebmasterWorld Guest from 54.205.20.160

Forum Moderators: phranque

Message Too Old, No Replies

Java script causing duplicate content problem

To show breadcrumbs my client used javascript which made the pages dynamic.

   
10:30 am on Sep 20, 2007 (gmt 0)

5+ Year Member



Hi,

I am working on my client's website which has pure static htm pages. But the Javascipt that he has used on the site just to show the breadcrumbs has converted the static product pages into the dynamic ones.

He has several product pages which has the static urls like the below one

www.example.com\products\product_no_1.htm

But to show breadcrumbs on the pages he used javascript which has changed the urls of the pages like

www.example.com\products\product_no_1.htm?bc_market+pro_ch

So my problem is that the same content (product page) can be accessed through several different urls, so its clearly a duplicate content issue in the eyes of the search engines.

Adding to this, the same product page needs to be accessed through the different categories on the site.

For example: If I make headlights for vehicles. The same product (headlight) can appear on several different categories like under the two-wheeler, three-wheeler and four-wheeler categories.

But all I know is that the content location is same for the product pages (under the proudcts folder) only breadcrumbs is causing problems. So can anybody suggest how can I show these product pages so that urls remains static at the same time I can show the breadcrumbs on the pages as well.

Any suggestions guys?

9:44 am on Sep 21, 2007 (gmt 0)



Yes. Here's a solution...

It is possible to lay a cookie before generating the header response (200, 301, 302 etc). So - when the bredacrumb variable URL is called, drop the variable as a cookie, then return a 301 without the variable to the static page.

 

Featured Threads

Hot Threads This Week

Hot Threads This Month