How bad is a trailing slash?
-
I am working in Magento 2 which has all sorts of difficulties.
My product page is example.com/testproduct the canonical is the same.
But in the sitemap it is example.com/testproduct/
In a perfect world I would get rid of the trailing slash but can't because of this issue- https://magento.stackexchange.com/questions/205337/unique-constraint-violation-found-when-remove-suffix-html-magento-2-2-0
The trailing slash will 301 redirect properly.
Is it an issue having the sitemap urls different with the trailing slash?
-
Hi Tyler,
This is a minor issue, but still an issue. You should be consistent in your sitemap file as on what you want google to index.
There will be no penalty or whatever in an SEO perspective. What can suffer is crawling in your site due to:
1- GoogleBot has a "limited" time/resources for each site, wasting time in redirections may cause that part of your site not being crawled
2- If many redirections are held, GoogleBot might leave instead of having more time/resources for that crawl. There has been said that GoogleBot gives up in the 5th hop (video with matt cuts explaining it)Hope it helps.
Best luck
GR
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 an iframe redirect on the same Domain bad for SEO
Good morning. We have a vendor that has created a landing page with content that we want to use. Because of the way we built the site, the only way to use the content is to create an i-frame. The i-frame is re-directingon the same Domain. Would we benefit from the SEO Content?
Intermediate & Advanced SEO | | jdenbo_edf0 -
Kind of duplicate categories and custom taxonomy. Necessary, but bad for SEO?
Hello Everyone! I'm new here! My husband and I are working on creating a website: https://sacwellness.com .The site is an online therapist directory for the the Sacramento California area. Our problem is this: In wordpress our category system is being used for blog posts. Our theme is using a custom taxonomy system to categorize different therapist specialties, therapeutic approaches, etc. We've found ourselves in a position where our custom taxonomy and categories are near duplicates. for example we have the blog categories: ADHD counseling, Anxiety therapy, and Career counseling our corresponding custom taxonomy/therapist categories are: ADHD, Anxiety, and....(oops) career counseling. My understanding is that google doesn't see a difference between identically named categories and custom taxonomies and will so choose one to rank and disregard the other, effectively leaving you competing against yourself. is this true in a case like this? Can google maybe understand the difference because of the custom taxonomy and/or URL paths? if this is a problem is it ok to have near duplicates....like ADHD vs. ADHD counseling. This has been our solution so far....but now we're questioning it....derp x_x. I thought about tagging the categories with no index, but I think the archive pages would be useful for people. Essentially we have 2 sets of archives for each keyword. One is for blog posts, and one is for therapists who work with that particular issue along with the 6 most recent blog posts in that category.....because we are putting the 6 most recent blog posts at the bottom of the therapist pages I feel like it wouldn't be as terrible of a loss if we had to noindex the category pages. ....what do you think? Thank you!
Intermediate & Advanced SEO | | angelamaemae0 -
Are feeds bad for duplicate content?
One of my clients has been invited to feature his blog posts here https://app.mindsettlers.com/. Here is an example of what his author page would look like: https://app.mindsettlers.com/author/6rs0WXbbqwqsgEO0sWuIQU. I like that he would get the exposure however I am concerned about duplicate content with the feed. If he has a canonical tag on each blog post to itself, would that be sufficient for the search engines? Is there something else that could be done? Or should he decline? Would love your thoughts! Thanks.
Intermediate & Advanced SEO | | cindyt-17038
Cindy T.0 -
Trailing Slashes on URLs
Hi we currently have a site on Wordpress which has two version of each URL trailing slash on URLs and one without it. Example: www.domain.com/page (preferred version - based on link data) www.domain.com/page**/** The non-slash version of the URL has most of the external links pointing to them, so we are going to pick that as the preferred version. However, currently, each version of every URL has rel canonical tag pointing to the non-preferred version. E.g. www.domain.com/page the rel canonical tag is: www.domain.com/page/ What would be the best way to clean up this setup? Cheers.
Intermediate & Advanced SEO | | cathywix0 -
Are Special Characters and Phone no. in Title Tag bad for Rankings? thank u
Hello. In my two sites painterdublin.com and tilers-dublin.com I am using a special characters in my title and meta description tags. My sites got penalized on 28.9.2012 and apart from other problems I got advice here on seomoz to remove those characters from tags.
Intermediate & Advanced SEO | | jarik
Is it really harmful? Title1: • Painter and Decorator in Dublin needed? Painting Contractor?
Description1: • Top quality Painting Contractor, Painter and Decorator based in Lucan, Dublin. online quotation system ✔ pictures of work ✔ customer testimonials ✔ painting tips ✔ Title2: • Tilers Dublin • Tiling Contractors Dublin • 0851390232
Description2: • Top rated Tilers Dublin • Peter & Gavin Tiling Contractors Dublin • Customer reviews ✔ price calculator ✔ project pictures ✔ tiling tips ✔ Of course I am using those symbols and phone number to stand out and be more visible in the search results, but if it is bad for seo, its probably not worth it. what do you think? thank you Jaro0 -
Changing Wordpress Permalinks Bad For SEO?
Hi, I have various pages set up such as http://www.musicliveuk.com/home/wedding-singer. Is there any benefit in SEO terms to changing it to http://www.musicliveuk.com/live-music/wedding-singer? I would presume that a keyword would be better for SEO than 'home' which is irrelevant? Also if I were to change it would all the links external I have on other sites pointing to http://www.musicliveuk.com/home/wedding-singer be lost as the url no longer exists? I suppose I could set up a manual redirect from http://www.musicliveuk.com/home/wedding-singer to http://www.musicliveuk.com/live-music/wedding-singer or would wordpress automatically redirect from the old to new? By redirecting I understand that some 'link juice' is lost along the way so is including the keyword in the url of enough benefit to warrant losing some link juice? Finally if I do change the url to include the keyword how do I do it in wordpress? I can only see how to change the page title using the 'edit' button when editing a page?
Intermediate & Advanced SEO | | SamCUK1 -
Is it bad to host an XML sitemap in a different subdomain?
Example: sitemap.example.com/sitemap.xml for pages on www.example.com.
Intermediate & Advanced SEO | | SEOTGT0 -
What does this technique achieve? Is it bad or good?
There is a technique that makes a category results page never change its links: www.example.com/category/apartments
Intermediate & Advanced SEO | | elwebmaster
www.example.com/category/apartments-apartment1
www.example.com/category/apartments-apartment2
www.example.com/category/apartments-apartment3
www.example.com/category/apartments-apartment4 Instead of the classic: www.example.com/category/apartments
www.example.com/details/apartment/id/789
www.example.com/details/apartment/id/788
www.example.com/details/apartment/id/787
www.example.com/details/apartment/id/786 Basically: The URL www.example.com/category/apartments-apartment1 today will have one apartment, and tomorrow will have another, on the same link. The category page never changes links, it always has the same 10 links, that look the same as the category url and are numbered from 1 to 10.0