What is the best URL designed for a product page?
-
Should a product page URL include the category name and subcategory name in it?
Most ecommerce platforms it seems are designed to do have the category and sub-category names included in the URL followed by the product name.
If that is the case and the same product is listed in more then 1 category and sub-category then will that product have 2 unique urls and as a result be treated as 2 different product pages by google? And then since it is the same product in two places on the site won't google treat those 2 pages as having duplicate content?
SO is it best to not have the category and sub-category names in the URL of a product page?
And lastly, is there a preferred character limit for a URL to be less than in size?
Thanks!
-
Thanks Ryan. Very helpful.
-
Thanks Tom. Perfect.
-
A lot of retail shopping carts still do not have the canonical tag feature which I agree is the best method. If you're on a somewhat modern cart there should be a custom url field wen entering the product in the admin area. You can set the custom url for that product then select all the categories for it to fall under. The url will then appear the same on the front of the site under every category.
-
If that is the case and the same product is listed in more then 1 category and sub-category then will that product have 2 unique urls and as a result be treated as 2 different product pages by google? And then since it is the same product in two places on the site won't google treat those 2 pages as having duplicate content?
Correct. You should decide which category is the most popular and then use the canonical tag so all other versions of the page point to the main page.
SO is it best to not have the category and sub-category names in the URL of a product page?
Using the canonical tag is one option. Using the same product page for both categories is another option.
And lastly, is there a preferred character limit for a URL to be less than in size?
Technically speaking URLs can be over 2000 characters. Practically speaking, the shorter the better for user readability and other factors. Dr Pete covers this topic well: http://www.seomoz.org/blog/should-i-change-my-urls-for-seo
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Is My Site Structure Suppressing Product Pages
Hey Guys, I've built some ecommerce sites using WooCommerce, and I've been auditing some of the sites to see why I'm not getting more traffic to my product pages. I have several informational blog posts and resources that are getting a lot of traffic, but my product pages aren't ranking very well. There are two things that I think could be causing the issue, but I could use some extra eyes on this. Products are listed several sub-categories down in the structure of the site. For example, this product is listed under a fifth level sub-category: /product-category/ ->FIRE SAFETY » FIRE EXTINGUISHERS » PORTABLE FIRE EXTINGUISHERS » FIRE EXTINGUISHER ACCESSORIES » FIRE EXTINGUISHER BRACKETS Also, I checked to see what Google's indexed under the /product/ directory, which is the default format for WooCommerce products. It looks like all of my products are given lower authority than other top-level directories, including /product-tag/ and /product-category/ It seems like an adjustment to how my products are structured in the site might go a long way. If you have any experience with this and could weigh in on it, I'd appreciate it.
Technical SEO | | robbinsinternational0 -
How to deal with canonicals on dup product pages in Magento?
What's the best way to sort canonicals on duplicate product pages generated from products being in more than one category in a Magento web store? Thanks
Technical SEO | | Kerry_Jones0 -
I am looking for the best post and page title template
There seems to be a few schools of thought as to how the title templates in the yoast plugin. currently mine are set with the default templates posts title template (%%title%% %%page%% %%sep%% %%sitename%%) page title template (%%title%% %%page%% %%sep%% %%sitename%%) What are the best options here for proper SEO. I am learning as much as i can but i have searched for a concrete answer here on the net, but found many different responses. What do you all think? What is my best option?
Technical SEO | | donsilvernail0 -
How to change the woocommerce product page permalink
How I can change the product URL structure. Please let me know how to fix woocommerce permalink in wordpress. My current URL is http://www.ayurjeewan.com/product/divya-ashmarihar-kwath and I want to like (only post name) http://www.ayurjeewan.com/divya-ashmarihar-kwath Attached is the screenshot of option available. qa2hZMP.jpg
Technical SEO | | JordanBrown0 -
Can you noindex a page, but still index an image on that page?
If a blog is centered around visual images, and we have specific pages with high quality content that we plan to index and drive our traffic, but we have many pages with our images...what is the best way to go about getting these images indexed? We want to noindex all the pages with just images because they are thin content... Can you noindex,follow a page, but still index the images on that page? Please explain how to go about this concept.....
Technical SEO | | WebServiceConsulting.com0 -
Product Pages Outranking Category Pages
Hi, We are noticing an issue where some product pages are outranking our relevant category pages for certain keywords. For a made up example, a "heavy duty widgets" product page might rank for the keyword phrase Heavy Duty Widgets, instead of our Heavy Duty Widgets category page appearing in the SERPs. We've noticed this happening primarily in cases where the name of the product page contains an at least partial match for the desired keyword phrase we want the category page to rank for. However, we've also found isolated cases where the specified keyword points to a completely irrelevent pages instead of the relevant category page. Has anyone encountered a similar issue before, or have any ideas as to what may cause this to happen? Let me know if more clarification of the question is needed. Thanks!
Technical SEO | | ShawnHerrick0 -
Does page speed affect what pages are in the index?
We have around 1.3m total pages, Google currently crawls on average 87k a day and our average page load is 1.7 seconds. Out of those 1.3m pages(1.2m being "spun up") google has only indexed around 368k and our SEO person is telling us that if we speed up the pages they will crawl the pages more and thus will index more of them. I personally don't believe this. At 87k pages a day Google has crawled our entire site in 2 weeks so they should have all of our pages in their DB by now and I think they are not index because they are poorly generated pages and it has nothing to do with the speed of the pages. Am I correct? Would speeding up the pages make Google crawl them faster and thus get more pages indexed?
Technical SEO | | upper2bits0 -
On Page 301 redirect for html pages
For php pages youve got Header( "HTTP/1.1 301 Moved Permanently" );
Technical SEO | | shupester
Header( "Location: http://www.example.com" );
?> Is there anything for html pages? Other then Or is placing this code redirect 301 /old/old.htm http://www.you.com/new.php in the .htaccess the only way to properly 301 redirect html pages? Thanks!0