ECommerce categories in path name or alternative
-
Our store is in magento and many recommend to turn of category names in product paths as magento creates duplicate pages for the same content when products are in multiple categories. I have a canonical plugin that should fix dup paths.
This has not bothered me until I decided to create GA goals for seeing multiple products and realized I dont have an easy filter because the paths dont have categories.
I think I can add a suffix to products like /?t=p - If I can do so will that be enough for me to create goals in GA - or am I better off adding back category paths.
-
Per Svanstrom,
This is a great way of thinking of it and you answer makes a lot of sense to me.
In case someone finds this later looking for Magento Category advice - what you see in many magento seo posts is to not use categories in the path due poor native canonical handling especially when products end up in multiple category paths. It seems a lot better plan to follow the functionality advice of Per's post and just fix the canonical problems in the design or by adding an extension.
-
For me this is not about how you want your structure and not trying to change a structure to meet your analytics needs. Analytics can be set to handle any structure you choose, even if it can take some tweeking of the installation of the script, but In my experience, you allways have to do a custom installation of Analytics to get what you want anyhow.
So the question should rather be, should you have category paths in your urls or not and that is a much tougher questions.
First, we need to understand that the shorter URLs you can have, but still have good "readability" for the user, the better it is, but you still want to have a good structure for inbound linking.
I think, to make this fairly complex issue more simple I would say, that if you run content at your category pages, with the possibility to shop products and display of campaign information, then you really need to have the category in your URL.
This is because you want the user to be able to just delete the product in the url after finding it in Google to get to the category of that product. For inbound linking its also nice to have a clear and nice category in the URL.
On the other hand, if you dont have content on your category pages, then I woulnd't display them in the URL, mostly for the same, but oppositie, reason as above and as you get shorter URLs
You should not add parameters to your URLs if you dont need them.
If you still go ahead with parameters, just make sure you add link-cannonical to point on the none parameter url, to prevent duplicate urls of the same products
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
-
Homepage name in Breadcrumb for schema.org
Hi all, We have recently implemented the schema.org structure for our breadcrumbs. In our breadcrumb we include a link to the homepage. Since implementation I'm receiving the following error in Google Search Console: Either "name" or "item.name" should be specified The error is being triggered because we don't have itemprop="name" defined for the homepage on each page. Our breadcrumbs look good in search but I'm wondering if anybody else has experienced this error and what can we do to fix it. Should itemprop="name" be our Brand name? Or should we define this as our root domain? Thanks in advance
Technical SEO | | Brando160 -
Query on Sitemap xml Root Path
Is it compulsory to have sitemap.xml at this path - abcd.com/sitemap.xml? My sitename is abcd.com. Now is it compulsory to have sitemap.xml at this path - abcd.com/sitemap.xml only? a) If i take cnd services where path can be like xyz.com/sitemap.xml and then this sitemap i can submit in robot file so it is fine? b) What will happen here in webmaster tool as in webmaster tool when we submit sitemap by default it gives us domain name like abcd.com and we have to just add /sitemap.xml
Technical SEO | | Johny123450 -
Keyword rich domain name and page title
Hi guys, First of all, I must say I love this community, and that SEO is great and at time fascinating :d Ok my question now is, I have this domain which is keyword rich, later I noticed Google changed my pages title into something else but similar, also added my domain name (mysite.com) in the titles. Google had taken some of his auto-title-suggestions from inside my pages, later i changed them and saw google changed the titles too accordingly, nice work google ) So I figured this tile name changing is because my domain is already keyword rich, right? so the best practice is, I create a more unique descriptive title + my domain name at the end of the title. (And for homepage, domain name .com at the beginning in the title. What do you think? Thanks for your thoughts!
Technical SEO | | mdmoz0 -
Best Practices to Choosing a Domain Name
I have the following list of domains to choose from: http://www.xxx.net/ http://www.xxx.uk/ www.es-xxx.com Which of these domain structures seem the best, or are all 3 questionable?
Technical SEO | | theLotter0 -
Name Address Phone NAP For Dentists
I've been working with dentists for a about 6 months but there is something that I feel I need to nail down. When looking at directory listings and trying to standardize a dental practice NAP, many dentists have their company name in many different formats. Here is what I have seen so far. Advanced Dental Care of Chicago
Technical SEO | | Czubmeister
Advanced Dental Care of Chicago - Angela Davidson DDS
Advanced Dental Care of Chicago Drs Davidson, Richardson & Smith
Angela Davidson DDS
Davidson, Richardson & Smith - Advanced Dental Care of Chicago What happens here is that with dentistry, the doctors name is as important as the practice name. Many people hear about a doctor and Google by the doctors name. Others Google the practice name. It almost makes sense to put both the practice name and the doctors name in the Business name but as you can see, the practice name can get real long especially if they have 5 other doctors working there. On top of that, some doctors don't stick around the practice that long so you end up with business listings containing old dental partners. Trying to come to a consensus on the best way to list a dental practice.1 -
ECommerce: Best Practice for expired product pages
I'm optimizing a pet supplies site (http://www.qualipet.ch/) and have a question about the best practice for expired product pages. We have thousands of products and hundreds of our offers just exist for a few months. Currently, when a product is no longer available, the site just returns a 404. Now I'm wondering what a better solution could be: 1. When a product disappears, a 301 redirect is established to the category page it in (i.e. leash would redirect to dog accessories). 2. After a product disappers, a customized 404 page appears, listing similar products (but the server returns a 404) I prefer solution 1, but am afraid that having hundreds of new redirects each month might look strange. But then again, returning lots of 404s to search engines is also not the best option. Do you know the best practice for large ecommerce sites where they have hundreds or even thousands of products that appear/disappear on a frequent basis? What should be done with those obsolete URLs?
Technical SEO | | zeepartner1 -
H-tags and Page Name best practice
For the past few months I've been working on a new site launch, but have been left with a couple of annoyances from my predecessor.. I've got a couple of questions about best practise (and if it's worth changing now). For reference, a good example page is http://polestars.net/hen-party/life-drawing-hen-party/ H-tags The (external) web designer has insisted that wrapping the logo in an H1 tag (with the same branded H1 text on every page), and using an H2 for the actual title of the page is fine. I really don't believe him, but at the same time, feel like maybe google is smart enough to discern the theme of a page in this structure. Is it worth having this changed so that the actual title is the first H1? Page naming convention Another annoyance that I've been left with is the fact that every product page is named the same "burlesque hen party", "life drawing hen party", "whatever hen party"... It looks a little weird, but my real concern is that as we now have 60 "hen party" links in the navigation menu of a bunch of our pages, this may be seen as keyword stuffing - is this a real concern, or am I overthinking it?
Technical SEO | | AlecPR0 -
URL rewriting from subcategory to category
Hello everybody! I have quite simple question about URL rewriting from subcategory to category, yet I can't find any solution to this problem (due to lack of my deeper apache programming knowledge). Here is my problem/question: we have two website url structures that causes dublicate problems: www.website.lt/language/category/ www.website.lt/language/category/1/ 1 and 2 pages are absolutely same (both also returns 200 OK). What we need is 301 redirect from 2 to 1 without any other deeper categories redirects (like www.website.com/language/category/1/169/ redirecting to .../category/1/ or .../category/). Here goes .htaccess URL rewrite rules: RewriteRule ^([^/]{1,3})/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/$ /index.php?lang=$1&idr=$2&par1=$3&par2=$4&par3=$5&par4=$6&%{QUERY_STRING} [L] RewriteRule ^([^/]{1,3})/([^/]+)/([^/]+)/([^/]+)/([^/]+)/$ /index.php?lang=$1&idr=$2&par1=$3&par2=$4&par3=$5&%{QUERY_STRING} [L] RewriteRule ^([^/]{1,3})/([^/]+)/([^/]+)/([^/]+)/$ /index.php?lang=$1&idr=$2&par1=$3&par2=$4&%{QUERY_STRING} [L] RewriteRule ^([^/]{1,3})/([^/]+)/([^/]+)/$ /index.php?lang=$1&idr=$2&par1=$3&%{QUERY_STRING} [L] RewriteRule ^([^/]{1,3})/([^/]+)/$ /index.php?lang=$1&idr=$2&%{QUERY_STRING} [L] RewriteRule ^([^/]{1,3})/$ /index.php?lang=$1&%{QUERY_STRING} [L] There are other redirects that handles non-www to www and related issues: RedirectMatch 301 ^/lt/$ http://www.domain.lt/ RewriteCond %{HTTP_HOST} ^domain.lt RewriteRule (.*) http://www.domain.lt/$1 [R=301,L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_URI} !(.)/$RewriteRule ^(.)$ http://www.domain.lt/$1/ [R=301,L] At this moment we cannot solve this problem with rel canonical (due to our CMS limits). Thanks for your help guys! If You need any other details on our coding, just let me know.
Technical SEO | | jkundrotas0