Aren't domain.com/page and domain.com/page/ the same thing?
-
Hi All,
A recent Moz scan has turned up quite a few duplicate content notifications, all of which have the same issue. For instance: domain.com/page and domain.com/page/ are listed as duplicates, but I was under the impression that these pages would, in fact, be the same page.
Is this even something to bother fixing or a fluke scan? If I should fix it does anyone know of an .htaccess modification that might be used?
Thanks!
-
Wow, thanks guys! This is indeed an enterprise level site, so especially thanks to CleverPhD for the breakdown on trailing slash v. no trailing slash. Redirecting as we speak.
-
You bet Jesse - thank you. I do work at the enterprise level and so it would make sense that this would become a bigger issue on larger sites. I would still say it could become an issue on smaller sites as people do tend to add the slash at the end and so you end up with a duplicate issue.
Full disclosure, I run sites due to legacy issues do not end with the slash. They run just fine. The key is to be consistent.
P
-
Interesting Clever, thanks for posting that. To be honest your points all make perfect sense. I've just never had that situation come up. To Frank's point, organization with or without slash doesn't matter much for smaller sites but as you said I can see how using the slash could make your analytics tracking much easier.
Perhaps it depends on the size of the site, but either way I hadn't thought of it in that detailed-a-manner and am glad you posted it.
Thanks as always !
-
As others have already mentioned, it is typically considered a separate page. Whether you choose with the slash or without is your preference. If a site is small I will typically opt for with/without the slash, but if a site is large and there are many different pages and the structure gets quite large I default to using the slash.
Not sure if the site you are mentioning is Wordpress based or not, if so there there are plugins that can help with this issue as well.
-
They are different and you need to setup 301s to correct, also check all your menus etc to make sure that you use them consistently - this includes in emails etc - consistency is the key.
You can go with slashes or no slashes, as long as you are consistent, I have run sites both ways.
I will disagree with Jesse one thing - I would strongly recommend using the ending slash. I have several reasons why.
-
The url ending in a slash traditionally represents a folder with pages/documents/images inside that folder. Used to be that we would use a URL like /folder/index.htm with index.htm being the default page. It used to be that if you did not designate any file as an index file, assuming the permissions on the folder were set correctly, you would see all the content in that folder. Later, you could designate a default index file and so when you left it blank by ending in a slash it would show the content of the default page without needing the index.htm to be included. Now this issue can cause duplicate content problems (but that is another story).
-
Knowing all that above, many of your web analytic and other reporting software would create reports using a given folder Google Analytics is a good one. If you use the conent drilldown tool, it automatically organizes your reports by looking at the slashes and then grouping pageviews and visits according to the folder structure.
3) Separately, you had development code that used the folder system in the url as a way to parse what the user wants and then deliver a page. This is why you can now have a url like /article/file and you do not need a .htm or .php or .html at the end as the server knows what to do with it without seeing the final extensions.
What happens then is that you end up with URLs like this
/toys/age6-8
/toys/age6-8/redball
/toys/age6-8/blueball
/toys/age9-10
/toys/age9-10/remote-car
/toys/age9-10/remote-control-train
You can see this is a toy store and they are grouping toys by age. Balls are better for younger children vs remote vehicles for older children. In your GA reporting, if you assume that a slash indicates a new folder
/toys/age6-8 would not be included in the report with the products as it would be seen as a page within the /toys/ folder. Same thing with /toys/age9-10
You have your most important page not grouped with all the products it contains.
This is one of the reasons that I prefer ending with the slash. Can you do it the other way, sure, but it just adds more hassle. The folder ending in a slash is a convention that most people follow and frankly, you will find that users also tend to end in a slash when they put in a url. You end up with links to your site where they have a slash and one is needed.
Old habits are hard to break and so this is why I recommend going with the ending slash.
-
-
As for the htaccess fix, a simple 301 redirect from one to the other will do it. I recommend going with the no-slash format.
-
Technically they are different URLs.
http://googlewebmastercentral.blogspot.com/2010/04/to-slash-or-not-to-slash.html
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
-
What is the difference between my pages' keyword rank and keyword-specific SERP?
I've been tasked with identifying high volume keywords for products our company sells and optimizing our copy and listings to rank higher on Google. The Keyword Explorer and On-Page Grader have been fantastic for this, but as I write my reports, i'm not sure whether SERP or Moz's keyword page rank would be more accurate for reporting results and movement. For instance, one of our product pages ranks #12 for the highest (relevant) volume keyword, but when looking at the SERP analysis for that keyword, our product page actually shows up at #7 down the list. I've tried naturally searching in Google in case it was an issue of private results based on my user data but it seems to give the same result. Am I conflating two different tools? Or is the Moz rank just an estimate?
Moz Pro | | BJake0 -
Solving 'duplicate content' for page 2 of X for 1 blog post
Hi to all SEO wizards, For my Dutch blog google-plus-marketing.nl I'm using WordPress Genesis framework 2.0 with news theme pro 2.0 responsive theme. I love the out of the box SEO friendliness and features. One of those features is that it allows for a blog post or page to be divided into several pages. This results in MOZ signaling duplicate titles for all pages after the 1st page. Now I was thinking that a canonical url set to the first page should do the trick for me as I reason that the rank will go the the first page and the rest will not be seen as duplicates. Genesis does some good stuff on it's own and places the following meta tags in the header for the first page. All looks well and my question is about the same meta tags for the 2nd page and higher that I pasted below this one for the 1st page. Meta tags page 1 of X for blog post Meta tags page 2 of X for the same blog post Would it not be better to point the canonical url for page 2 till X to always point to the first page? In this case:
Moz Pro | | DanielMulderNL0 -
Why can't I see last week's stats?
Can see stats week ending May 1st but nothing after that- and it's May 9th!?
Moz Pro | | locumhunter0 -
My site's domain authority is 1\. why is that
Hi Guys My website's domain authority is 1 no matter i try www or non www.. why is that? can you guys please help? Thanks a lot in advance. http://www.opensiteexplorer.org/links?site=autoproject.com.au
Moz Pro | | JazzJack
http://www.opensiteexplorer.org/links?site=www.autoproject.com.au Jazz0 -
I need an interlinking report for my site, is there a report in Moz or another application that tell me how all of my pages are linked to other pages on my site?
I am in the process of doing a redesign for one of my sites. I need an interlinking report for my site. Is there a report in Moz or another application that tell me how all of my pages are linked to other pages on my site?
Moz Pro | | seoflorida0 -
Analyzing backlinks - domain, page, anchor text, contact info, description
Hello, If I have an OSE file of the site's backlinks, is there any way to easily put together a spreadsheet with domain page link is on anchor text contact info description/feed Buzzstream does domain, page, and anchor text but you have to add the contact info one by one and there's no description/feed. Is there any way with any set of tools to do it all? Talking about 1375 domains for a total of 4500 pages. Thanks!
Moz Pro | | BobGW0 -
Exact match .ORG/.INFO vs. all query terms .COM - proof?
Hello world 🙂 I have searched among tons of quality articles here on forums, but surprisingly I haven't found topic that goes into the deep water when it comes to a specific KW rich domain problem. Let me first state that I'm mainly based this topic on the information found in following blog posts by randfish (that guru with the beard). http://www.seomoz.org/blog/exact-match-domains-are-far-too-powerful-is-their-time-limited and http://www.seomoz.org/blog/google-vs-bing-correlation-analysis-of-ranking-elements My questions is only related to RANKING aspect of the domains - NOT how is sounds, smell or dance. As all good simple .COM KW domain combinations are already taken, only thing that is left is to be a bit creative using non .COMs exact match, hyphens .COM exact match, all query terms .COM with a letter or word added etc. QUESTION and case study I found a good keyword phrase, let us called it 'super domain' with low competition & high monthly searches and great revenue possibilities. Naturally, first step is to acquire a exact match .COM domain (EMD). But, of course, that is not possible because 'superdomain.com' and super-domain.com has already been taken by some greedy domain broker waiting someone to pay $1.000.000 for it. Not an option. What options do I got? OPT1) superdomainA.COM (keyword phrase with added 'A' at the end) OR OPT2) superdomain.ORG/NET/INFO (keyword phrase on non .COM TLD) I couldn't find any studies with test and clear results regarding this subject. This is VERY important because, regarding to the links I posted, there is a 0.10 better correlation if choosing OPT1) superdomainA.COM, even if using exact match domain OPT2) superdomain.ORG/NET. But they haven't been cross tested in that results in the same post. So it's big '?' sign to me. As SEO market is getting more and more competitive, it is important to not leave anything to chance. I would appreciate if randfish, or anybody else could give some inputs about this. Thanks in advance!
Moz Pro | | RetroOnline0 -
Page Authority vs Domain Authority
I'm hoping this is a quick and simple question. Sometimes when using the open site explorer or the keyword difficulty tool i find that some pages have a higher "page authority" than the "domain authority." That seemed odd to me, is there a correlation between the two? You would think by default as you grow your page authority the domain authority increases as well? So i guess my question would be, what happens on a page to give it a higher page authority than domain authority?
Moz Pro | | kchandler0