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
-
No index vs removal - Subdomains
One of my clients has a subdomain - docushare.***.edu (vs ***.edu) that they would like to not influence SEO.
On-Page Optimization | | Crescent_Sense
the question is: should they no -index these pages or remove as a subdomain? Thank You! jeremy0 -
Phone number formatting - Periods vs Dashes
Are there any best practices on phone number formatting regarding using periods XXX.XXX.XXXX vs dashes XXX-XXX-XXXX? What about using parentheses on the area code (XXX)XXX-XXX? This is regarding a phone number on a contact apge...
On-Page Optimization | | WorkhorseMKT0 -
How do you handle URLs with slashes?
I asked this question before, but with a different scenario. I upgraded my plan to a more advanced cart and all of my URLs changed about 1.5 years ago. I knew nothing about redirects and such, so none of that was done. Basically, let's say my site was: http://www.abc.com, but when people actually visit my site, they are directed to https://www.abc.com/. I have asked my host about redirecting and she that it is not possible. In the past, the link shared has been just www.abc.com . Will this hurt my ranking? My second question is ...let's say I have a link http://www.abc.com/blog , but now, the link is http://www.abc.com/blog/ . Will I be affected, since all my old links omit the slash?
On-Page Optimization | | tiffany11030 -
Webpages load times and godaddy shared hosting vs. others
Has anyone gone from shared hosting godaddy to either virtual or dedicated with godaddy or even another provider and noticed faster load times without changing anything on your site. Any recommendations on hosting providers?
On-Page Optimization | | cbielich0 -
Pages vs Posts
What are your thoughts on pages vs posts? I am setting up a new blog for a client but not sure how to structure the content. I may just do posts or a whole bunch of page listed down the sidebar. It seems like my pages always rank better than my posts. Has anyone else noticed this? Could it be because of the dates tied posts?
On-Page Optimization | | SixTwoInteractive0 -
Exact Match Domain + shorter permalink vs. longer permalink?
So here's the scenario... You own the exact match domain for "Acupuncture Intake Form" and want to create a page that targets the phrase, "Acupuncture Intake Form Template"... In terms of SEO, which of the following permalinks does a better job targeting the term "Acupuncture Intake Form Template" : A) www.acupunctureintakeform.com/template/ B) www.acupunctureintakeform.com/acupuncture-intake-form-template/ From a user-friendliness perspective, I can definitely see why the /template/ is more ideal. It's more memorable, easier to link to, and logical. I'm just wondering whether there is some edge that the /acupuncture-intake-form-template/ has that I'm not aware of, or if there's some gray area. I can also think of scenarios where the longer version might be better. For example, if there were several different kinds of acupuncture intake form templates. If that were the case, then /template/ might be too vague (e.g. is it the normal "acupuncture intake form template" or is it the "acupuncture intake form template with diagram"). So in that respect, the longer one might be less concise in certain situations, but in others provide more clarity. (Note: I'm looking for answers to this situation as it applies to any website. I just chose this extremely small niche exact match domain because it's an example that illustrate my questions). Thanks in advance for any answers, insights, or comments! I'm not sure if there's a specific answer, but I'm sure there are some key points to discuss. Michael
On-Page Optimization | | InRakeLLC0 -
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 -
URL with two forward slashes //
We have a potential client with a URL structure in this fashion: http://www.site-url.com//cpage/page.html pretty strange, right? my question is: How bad are the 2 forward slashes // for SEO? How bad is it to have that extra layer of /cpage in the URL? this doesn't appear to serve any other purpose than making the URL longer than necessary.
On-Page Optimization | | Motava0