Slash vs no slash?
-
Why does SeoMoz tell me I have duplicate content issues and show me these two URLs?
What does the slash matter and why is that considered duplicate content?
-
On the homepage it does not matter, as no redirect is made to the slash, both return a 200 code
but on deeper pages it is a problem as it leads to canonical issues.
I prefer no slash because when people link to you by hand, they rarely add the slash on the end.Wordpress makes a mess of this, i have to say, i dont use wordpress so i dont know if its wordp[ress of a plugin, but almost all wordpress sites have un-neecessary redirects. That is internal links that go thought a 301 to get to the internal link, each 301 is a link juice leak, so why would you do this when the link is internal. Wordpress sites often use a 301 redirect to send you to a url with a slash, when the link should point to the slash or none slash, and there for not leak ling juice.
The first think i do when i build a site, is setup my redirects, to ensure a canonical domain, none slash( or slash one of the other), and make sure all urls are lowercase. These things are a nightmare to fix later.
-
Hmm... Wordpress has a built in fix. Just add or remove the trailing slash from your permalink structure. For the home page, you can just specify what the home page should be. Joomla, from what I can tell, requires some modification to the htaccess file... I'm not much of a Joomla fan and my Wordpress information could be incomplete, so if anyone has any corrections feel free to chime in.
-
Do you know of any plugin suitable for Joomla or Wordpress
-
The slash is minor, but it can create some issues... Search engines can figure out pretty easily which URL you mean but users can't. If users come to the site and decide to link back to you, the link can point to either mysite.com or mysite.com/. The PageRank is essentially split to what really amounts to two separate pages.
You should redirect one to the other. It isn't a huge deal and won't cause too many problems, but why leave something to chance with the algorithm?
If your site runs Drupal, I suggest downloading the Global Redirect plugin for easy across the board decisions about trailing slashes and other duplicate content URL issues.
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
-
Keyword Cannibalization vs. Optimizing Site
I am in the process of optimizing our website and I am having a hard time reconciling two best practices I have found on Moz. 1. You should avoid having multiple pages focus on the same keyword because you will lose some control of which result will show. 2. You should identify your core keywords and weave these keywords multiple times (naturally) throughout your site. I have spent months identifying our top 7 keywords and am working through the site now. The first piece of advice keeps giving me pause. Can anyone weigh in with other considerations or advice on how I can reconcile these two strategies. Thank you
On-Page Optimization | | NikCall2 -
Long-tail with few searches vs. Generic with many
Our business is a contract packager/manufacturer of products sold to very prominent brands who sell through retail. For example, we make the sunscreen under a brand’s name, which you might then find on the shelf in Target or CVS. As I’ve optimized our pages, I’ve attempted to go long-tail, which has been simply to add “…contract packaging” or a variation after the particular product. So, instead of trying to compete in “sunscreen”, which would pit me against big-box distributors and prominent brands and sellers of sunscreen, I’ve optimized for “sunscreen manufacturers.” “Sunscreen” has 31K – 72K searches, with an 81 Difficulty and 67 Potential. “Sunscreen manufacturers” has a low 13 Difficulty and a decent 54 Potential, but only 51 – 100 searches. Some of my terms have only 0 – 10 searches, but I’ve been thinking that it’s better to compete for fewer but more qualified / buyer-intent searches and have generally lower Difficulty. Can you please tell me if this is a smart strategy, or if I should instead try to compete in higher-volume terms but much greater Difficulty? Thanks a lot for everyone's help.
On-Page Optimization | | Beau_W0 -
Duplicate Content, http vs https
Hi All! I just discovered that a client of ours a duplicate content issue. Essentially they have approximately 20 pages that have an http and an https version. Is there a better way to handle this than a simple 301? Regards, Frank
On-Page Optimization | | FrankSweeney0 -
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 -
.com vs .co.uk domain
I have a client who has a site live at example**.co.uk** and would like to rank for the term "example". But example**.com** is owned by another company who offers a different product and service and has been live since 2003. I know that I can make example**.co.uk** rank for keywords related to their service but I think it's going to be a struggle to get them to rank for the brand term "example" as the .com site already owns Page 1 with their domain name, Facebook page, Wiki page etc etc. The only variation is that example**.com** is a US based company and my client want to ranks in the UK only. What are the chances I can out rank example**.com** for the brand term on www.google.co.uk if example**.com** currently owns Page 1 on google**.co.uk**?
On-Page Optimization | | Marketing_Today0 -
Slash at the end of a url
I keep reading contradicting information, so I figured I'll ask here. What's the best practice for slash '/' at the end of a URL? Should it be idealchooser.com/search/laptop/ or idealchooser.com/search/laptop (no trailing slash)? The options: 1. Accept both equally 2. Accept 1 and redirect the other with 301 3. Accept 1 and treat the other as a wrong URL returning 404 Which would be the best for SEO? Thank you.
On-Page Optimization | | corwin0 -
Unique Product Descriptions Vs. Speedy Launch
We are close to launching a new property and are also in the process of writing completely unique product descriptions for every product. This will continue to take a lot of time. We are debating the following two options: A. Launch soon with about 10-15% of descriptions being very unique and the rest being standard (mostly manufacture supplied). Then continue to update product content as we complete new fresh descriptions. B. Wait to launch until everything is unique. This will probably set us back 2 Months. We of course would like to go live sooner than later, but don't want to jeopardize anything as it pertains to rankings. The fear internally with launching now is that product pages get crawled, but don't make our best 1st impression with the engines. The counter argument is that it doesn't matter much, pages will get crawled again, and the fresh new content will be considered. Any inputs on this? Is '1st impression' with Google key, or is there no harm in launching and updating. Everything else is very sound -- architecture, on-site optimization, usability/crawlability etc. It's just the matter of the unique vs. generic product page content. Many thanks!
On-Page Optimization | | SEOPA0 -
Subdomains vs. Subfolders Inheriting Authority/Ranking Value
Our website is a continuing education website that is linked to a large university, and our URL is a subdomain of that larger university domain. We offer degrees as well, but because of the modifications we'd like to make to the degree webpages, our content management system won't let them be a part of our website. Now we're trying to figure out if we should create a separate subdomain for all degrees, and put the individual degrees in separate folders (so, all degrees' URLs woudl be degrees.us.university.edu/degree-name/), or if we should give each its own URL, which would be completely separate from ours (degree urls would be degree-name.university.edu). So our question is, how well do subdomains carry the value of the domain? Is it better to have twenty websites that are all separate subdomains of a strong domain, or one subdomain in a subdomain that houses all twenty websites in folders? And, as a side note, will housing the degrees in degrees.us.university.edu pass value to us (us.university.edu)? Thanks!
On-Page Optimization | | UWPCE0