Does having a \ on a URL make a difference?
-
On our website we have CMS pages which end normally without a /. However when linking from web banners e.c.t it always adds a / on the end. Will this have a negative impact on SEO?
-
Hi there - The simplest thing to do is to:
-
choose a url variant (either with or without /) and apply it consistently across the site.
-
say you choose the "without /" version. Redirect all "with /" versions to the without version.
-
make sure the rel=canonical of each page points to the variant you choose (either the with or without traling slash variant).
-
when linking to a page on your site (from a banner for example) try to link to the variant you choose, otherwise Googlebot has to follow a url redirect unnecessarily, which is an inefficient use of your crawl budget.
I hope this is clear.
Thanks!
-
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
-
Should I change my website urls?
We're translating our website in a few languages (FR / DE / JP) using subdirectories. So our website will have the following urls www.brand.com/en
On-Page Optimization | | dcalexandra
www.brand.com/fr
www.brand.com/de
www.brand.com/jp I would like to change the url structure of a few pages from www.brand.com/section/feature-name to www.brand.com/feature-name Is it a good idea to do this now since we're adding the subfolders and these are anyway new urls in google's eyes?0 -
Duplicate URL's in Sitemap? Is that a problem?
I submitted a sitemap to on Search Console - but noticed that there are duplicate URLs, is that a problem for Google?
On-Page Optimization | | Luciana_BAH0 -
Short URL's vs Optimised URL's
Howdy Mozzers! What are your thoughts on short URL's vs Optimised URL's. For example if a website currently sells wood furniture and wants to target the keyword "Wood Furniture For Sale", which URL would be preferable: Short URL: www.domain.com/wood-furniture Optimised URL: www.domain.com/wood-furniture-for-sale The website also uses facet navigation and selected attributes are added in a fixed order sequence after the category. For example if Cane is selected as wood type: Short URL: www.domain.com/wood-furniture/Cane Optimised URL: www.domain.com/wood-furniture-for-sale/Cane Which one do you prefer (between the short URL and optimised URL) and why? Cheers! MozAddict
On-Page Optimization | | MozAddict0 -
Different page for each product colour?
Hi Guys, I've just read an ecommerce article that suggests it's a good idea to have a different page for each colour that the product comes in. However surely this will mean duplicate content? What are your thoughts? Have you put this tactic into motion and how did it go? Thanks, Dan
On-Page Optimization | | Sparkstone0 -
URL best practices, use folders or not ?
Hi I have a question about URLs. Client have all URL written after domain and have only one / slash in all URLs. Is this best practice or i need to use categories,folders? Thanks
On-Page Optimization | | 77Agency0 -
CcTLDs Differences Between Each Other
Hi, this is a simple question, many ccTLD look like this: .com.es .es .org.es 1.What is the difference from one another regarding SEO? 2.Does the .com.es has any advantage? Like targeting the "world" and "Spain" 3.Is there one better than other? 4.Will a .com.es or any other domain like that be able to rank globally? or just in Spain? Thanks!
On-Page Optimization | | andresgmontero0 -
2 URLs, same content, 1 with keywords. Does this hurt me?
I'm in the process of adding some new features to our site and have a question about our URLs. Most of our URLs consist of either sitename.com/contentname or sitename.com/content/contentid I'm in the process of building a directory to those pages. The directory has a number of filters which will ultimately point to the destination page. sitename.com/filter1/filter2/contentid or sitename.com/filter1/filter2/contentname The destinations will have references. From an SEO perspective, I would think I want the filter1/filter2 version of the link indexed since this will add keywords that someone might search for. However, since the filters are dynamic, if someone just searches for contentname I would want to have sitename.com/contentname returned in the search results. Do I get any SEO benefit out of building those filter links as described if they are not the canonical links?
On-Page Optimization | | JoeCotellese810 -
Site URL's
We are redeveloping our website, and have the option to amend URLs (with 301 redirects from old URL to new), so my question is: Would 'golfsite.com/golf-clubs' achieve superior rankings than 'golfsite.com/clubs' for the search term 'golf clubs' if all other factors were the same? Should the URL reflect the intended search term wherever possible?
On-Page Optimization | | swgolf1230