Thread: .html vs /
View Single Post
  #10  
Old 02-20-2017, 11:38 PM
 
xim xim is offline
 

X-Cart team
  
Join Date: Nov 2004
Posts: 677
 

Default Re: .html vs /

Quote:
Originally Posted by hartwellj
Well I would, at least, request cleaner URLs. Stuff like this with the Tabs is just too much:

http://gospelmusicians.com/real-deal.html?category_id=12
http://gospelmusicians.com/pure-synth.html#product-details-tab-description

I wouldn't mind the .html, if everything else was cleaner.

1. Your product located in several categories. category_id=12 is needed to build the correct breadcrumbs path. However, to make it SEO friendly, we use "canonical URL" meta tag to show Google the original page to prevent Google to mark the page as it has "duplicate content" :

Code:
<link rel="canonical" href="http://gospelmusicians.com/real-deal.html" />


2.
Code:
http:/yourwebsite/product.html#product-details-tab-description
vs
Code:
http:/yourwebsite/product/description/

We use "#" especially. It allows us to prevent any duplicate content marker for the page. Google index all the content of the page, even it is shown in the tab only (since it loaded into the page source). But http:/yourwebsite/product/description/ is the new URL and Google can mark it with duplicate content if you show any similar information from the http:/yourwebsite/product.html page.
__________________
Sincerely yours, Max Vydrin
Reply With Quote