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
-
Need Some Quality Vs. Quantity SEO Advice
We have a gallery here with our main categories of patches. https://www.stadriemblems.com/gallery/ If you click on one, say Fire Patches, you'll be taken to a page of just fire patches. https://www.stadriemblems.com/fire-patches/ But here's the kicker: If you notice of the fire patch page, there are also sub-categories to that. So if you click on say, Fire Rescue, you get taken one level deeper. https://www.stadriemblems.com/fire-patches/fire-rescue-patches/ I'm redoing this entire site (a project over five years overdue), and I'm wondering if it's really worth it to keep these three-level deep sub pages. I originally created them with long tail SEO in mind, making us be the only ones who come up when people search for very specific patches. But it's a big undertaking to redo all of them, and are they really adding any value?
On-Page Optimization | | UnderRugSwept0 -
Unique Pages with Thin Content vs. One Page with Lots of Content
Is there anyone who can give me a definitive answer on which of the following situations is preferable from an SEO standpoint for the services section of a website? 1. Many unique and targeted service pages with the primary keyword in the URL, Title tag and H1 - but with the tradeoff of having thin content on the page (i.e. 100 words of content or less). 2. One large service page listing all services in the content. Primary keyword for URL, title tag and H1 would be something like "(company name) services" and each service would be in the H2 title. In this case, there is lots of content on the page. Yes, the ideal situation would be to beef up content for each unique pages, but we have found that this isn't always an option based on the amount of time a client has dedicated to a project.
On-Page Optimization | | RCDesign741 -
Inventory Pages that are Sold, 404 vs 301?
I am working with a company that sells high-priced automobiles. Each Unit has its own URL We currently leave most sold inventory live on the site as it draws in many leads (the units are visually shown as sold, so it shouldn't be a UX issue in most cases). We are wanting to start pruning some old units (this is in WordPress - custom post type) and I'm not quite sure what the best solution for this site is with removed units. Some ideas: Remove the units pages that are no longer needed, resulting in any links 404'ing to a useful 404 page. Remove the units pages, and 301 them to the Homepage (I don't really want to do this, as it seems like really poor UX) Remove the units page, and 301 the user to a specific "This item has sold" page that is shared by all sold units, but may not be the sites full 404. another option I haven't thought of? I dont' want to do anything that would confuse or get search engines upset, and I'm not sure how bad 404's are, I see some info on how bad they are, some that say they aren't bad. I'm guessing it is as usual, some gray area in the middle.
On-Page Optimization | | Andy_Staple0 -
Duplicate anchor text vs poor relevance in internal links
We're writing a number of blog posts, all based around a particular head-term (call it "women's widgets"). Each post will be centered around a different long-tail keyword (e.g. "women's brandA widgets", "women's brandB widgets", "women's type1 widgets", etc.). We want to link from the blog posts back to the main "women's widgets" category-level page on our site. Should we: a) Use the words "women's widgets" in each blog post and link that to the "women's widgets" page? This would be the most relevant, but it also seems like using the same anchor text on all of the posts, and linking to the main page, is not good since Google doesn't like seeing the same exact anchor text all the time, right? b) Link the long-tail keyword ("women's brandA widgets") to the main "women's widgets" page? That would solve the anchor text duplication issue, but then the anchor text doesn't seem relevant to the page being linked to (it might never mention "brandA" on that main page at all), and I think it would also hurt the blog post's chances of ranking for the long-tail keyword since we're basically saying that there's a more relevant page for that keyword somewhere else (i.e. you shouldn't link out from a page using the phrase you're trying to optimize that page for). c) Link a nearby word/phrase instead? For example, we could say "Trust Companyname.com for your women's widget needs", and link "Companyname.com" to the "women's widget" page. By proximity to the keyword phrase, that may help a bit, but again the relevancy of the anchor text to the page being linked to is fairly low. I'd hate to have a bunch of "click here", "read this" or "company name" anchor texts being used, just in the name of not overusing the head-term in the anchor text. Are we just missing something, or misunderstanding Google's preferences? What do you do when you don't want to overuse a keyword in anchor text, but you still want to link to a main category-level page using the head-term in order to tell Google that that is the most relevant, best page for that keyword? Is anchor text duplication more of a problem for external backlinks, and less of an issue for internal interlinking? Do you have a different suggestion, other than what I outlined above? Thanks for the help!
On-Page Optimization | | BandLeader
John0 -
Does a URL forward slash break up an exact match phrase?
I've seen some organisations implementing keyword phrases per URL with forward slashes in-between the keywords. Would this still work for broad AND exact match keywords when the search engine references the URL? Here's an example with the keyword being "scuola di lingue tedesco". http://www.esl.ch/it/adulti/scuola-di-lingue/tedesco/index.htm Thanks in advance.
On-Page Optimization | | featherseo0 -
One Page Website vs. Multipage Site, if you want to target one specific Keyword only.
Hello! suppose I want to start a website about, let's say spray adhesives. My aim is to rank on the first page for the keyword "spray adhesive". I don't care about my ranking on more specific keywords like "Tesa spray adhesive" or "3M spray adhesive". My ranking for more general keywords like "glue" is unimportant, too. So I thought about creating a single-page website, that writes about spray adhesives, the pros & cons of every manufacturer, and shows the best discounts for spray adhesives. Each section can be accessed through a top-navigation, that links via anchors to the individual sections. The page will be updated every day On the other hand, i could create a blog and write an article for every specific spray adhesive. So I would have a home page that lists the latest articles for every product, with titles like "3M spray adhesive CreativeMount", "3M spray adhesive SprayMount", "Tesa Spray adhesive" ... I will write one article every day What do you think would be the better strategy? Is there a risk to create competing articles for the keyword "spray adhesive" and thus rank lower if I go with the blog strategy? On the other hand, does google rate singe-page websites lower, because google thinks those websites are less valuable than websites with many pages for the same topic? Thank you ver much for you help in advance!
On-Page Optimization | | MGMT0 -
Installing a site on top level domain directory VS deeper directory
How important it is for seo to install a site on a top level directory vs deeper directory? example: www.mysite.com VS www.mysite.com/catalog many eCommerce scripts such as oscommerce and cre loaded will install by default to /catalog and that's what I've been doing for most of my customer. does it mean it will be harder for them to get good seo results? Thanks in advance for the input...
On-Page Optimization | | zigi0 -
With a slash and without a slash
I have noticed recently on open site explorer that pages are listed that contact the ending / and that dont. so for example- www.onlinemediadirect.co.uk/blog-setup and www.onlinemediadirect.co.uk/blog-setup/ They also have slightly different page authority. Is it worth setting up a redirect or does google not need this ? The page ranks well of course.
On-Page Optimization | | onlinemediadirect0