homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Marketing and Biz Dev / SEM Research Topics
Forum Library, Charter, Moderators: phranque

SEM Research Topics Forum

Java script causing duplicate content problem
To show breadcrumbs my client used javascript which made the pages dynamic.

5+ Year Member

Msg#: 3455792 posted 10:30 am on Sep 20, 2007 (gmt 0)


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


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


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?



WebmasterWorld Administrator receptional us a WebmasterWorld Top Contributor of All Time 10+ Year Member

Msg#: 3455792 posted 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.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Marketing and Biz Dev / SEM Research Topics
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved