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
-
Hreflang Errors 404 vs "Page Not Found"
For a websites that differ between catalogs (PDPs) what hreflang error causes the least harm? Obviously the best solution is to only have hreflang for shared products, but this takes more work to implement. So when no identical product exists... 1. Hreflang points to 404 or 410 error. 2. Hreflang points to 200 status "Page Not Found" page. This obviously has the additional issue of needing to point back to 100+ urls. I want to avoid having Google decide to ignore all hreflang due to errors as many correct urls will exist. Any thoughts?
On-Page Optimization | | rigelcable0 -
Does blogging with a wysiwyg negatively affect SEO (vs. hand coding)?
Many bloggers use a wysiwyg editor to write posts. Are there any drawbacks to wysiwyg vs plain text? When I write blogs I prefer to hand code my text to be sure everything is optimized. My feeling is that wysiwyg leads to code bloat and generally fewer optimization opportunities. I have no real evidence. Is there any reason not to use the wysiwyg editor?
On-Page Optimization | | Jason-Rogers0 -
Many have stolen our content. Rewrite vs. DMCA content removal?
Hello, We own a medical tourism website and many other sites have stolen (copied and pasted) our content. Our content is more than 2 years old, so we thought we could rewrite the content - but Which is a more wiser decision from you guys' experience? Archive our current content at a different URL and upload a fresh content in the current URL Claim our originality to Google and ask the stolen sites to remove our content. Thank you and appreciate your time.
On-Page Optimization | | joony0 -
How do you treat http/https and slashes at the end of a site?
I believe there is a difference between http://www.abc.com vs https://www.abc.com I also know that it shows security and whatnot, but how do you treat it? Do you submit both? Do you re-direct one to the other? What if you have had the non-secure site for years and the links are mostly crawled? My second question is similar as my report shows these two as different: http://www.abc.com/blog vs http://www.abc.com/blog/ I didn't think it made a difference, but when I submitted the links to Google it would not accept them without the slash at the end. Again, the same questions as above in regards to how to treat it. Do you submit both? Do you re-direct one to the other? What if you have had the non-slash site for years and the links are mostly crawled? -What about http://www.abc.com vs http://abc.com ? They go to the same page, but are they treated the same?
On-Page Optimization | | tiffany11030 -
Wordpress & trailing slash on domain name
Hi recently changed my site so it is based on Wordpress, got my preferred domain set in Google webmaster as www.domian.co.uk but since moving to wordpress my domain is now having a slash put on the end of it like www.domain.co.uk/ Most of the links going to my homepage do not have the slash on the end so am I right in thinking I should get rid of the slash from my site so I have one consistent url? If so any ideas how to banish the slash? Cannot seem to do it through the Wordpress general settings (despite preferred domain being set as www.domain.co.uk !) Thanks T
On-Page Optimization | | Jon-C0 -
Schema.org vs data-vocabulary.org
Hi, I am implementing the rich snippets on an e coomerce site. Should we implement schema.org or data-vocabulary.org? As i feel data vocabulary is more used by google in showing rich snippets.
On-Page Optimization | | rahijain0 -
"And" vs "&"
I blog for hotels and I am wondering whether it is best to have on a wordpress tagline the name of the hotel such as Holiday Inn and Suites vs Holiday Inn & Suites. In Google AdWords, the "and" keyword always beats out the "&" word in exact search. The "&" just always looks cleaner. Also, when I refer to the hotel within a blog post, should I use the "and" or "&" in the name? Please help me understand which is best for seo. Thank you!
On-Page Optimization | | lwilkins0 -
Absolute vs Relative URLs
What are the pros and cons of these two types of URLs and what type of weight does this hold. It doesn't seem to be a big issue in regards to ranking. Any qualified clarity would help.
On-Page Optimization | | Romancing0