How to set up internal linking with subcategories?
-
I'm building a new website and am setting up internal link structure with subcategories and hoping to do so with best Seo practices in mind. When linking to a subcategory's main page, would I make the internal link www.xxx.com/fishing/ or www.xxx.com/fishing/index.html or does it matter? I'm just trying to avoid duplicate content I guess, if Google saw each page as a separate page. Any other cautions when using subdirectories in my navigation?
-
It seems like you are actually asking 2 questions in one. Let's approach them both separately.
Should you include index.html or not in your structure? Personally, I think the cleanest URL structure works the best. Get rid of any URL parameters that do not offer any benefit. Cleaner URLs not only look better, but are easier to read and share. Who really wants to share DOMAIN.com/fishing.index.html vs DOMAIN.com/fishing. It may seem petty, but in the grander scheme of things it will just work better. If you do this in one area of your site, keep it consistant through the whole site
As to making sure that Google only indexes one version, this can be done through the URL parameter redirects on your server. You can create rules where the URL automatically strips out any additional URL items, and redirects to the proper version. Once you create your sitemap, make sure to only include the versions of your URL you want indexed. One thing I have found in my entire SEO career is this: The easier and clearer you paint a picture for Google about your site, the better your results will be.
-
Hello,
Duplicate content is usually pretty simple to deal with see Sheena's response.
I would recommend at this point in design looking at the URL structure not primary as trying to avoid a negative, rather how to incorporate the most positives. That is how can you get the most SEO value out of the url's. Since you're at the point where you can make these changes, then now is the time to evaluate how you want your site to appear to the users and search engines.
Here are 2 Good, nay VERY GOOD post on Moz to help with this process.
1. Moz: Guide To SEO Chapter 4
2. Dr Pete: Anatomy Of A URLI hope this is helpful,
Don
-
First thing you need to do is determine which is your preferred URL (probably www.site.com/fishing/). Once you have that, the key to good linking is consistency (using the same, preferred URL for any given page you're linking to & also using descriptive, naturally-occurring anchor text that's relevant to the page's content).
The fact that your site has other versions of the page (/fishing/ and /fishing/index.html) means that you probably need to implement a solution to prevent dup content issues - either 301 redirect all variations to the preferred URL or implement rel=canonical tags to tell search bots which is the preferred URL to include in its index. You can read more about this here:
I hope this helps!
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
-
Should we Nofollow Social Links?
I've been asked the question of whether if we should nofollow all of our social links, would this be a wise thing to do? I'm not exactly getting a clear answer from search results and thought you guys would be best to ask 🙂 Thanks in advance.
Technical SEO | | JH_OffLimits0 -
Can I redirect a link even if the link is still on the site
Hi Folks, I've got a client who has a duplicate content because they actually create duplicate content and store the same piece of content in 2 different places. When they generate this duplicate content, it creates a 2nd link on the site going to the duplicate content. Now they want the 2nd link to always redirect to the first link, but for architecture reasons, they can't remove the 2nd link from the site navigation. We can't use rel-canonical because they don't want visitors going to that 2nd page. Here is my question: Are there any adverse SEO implications to maintaining a link on a site that always redirects to a different page? I've already gone down the road of "don't deliberately create duplicate content" with the client. They've heard me, but won't change. So, what are your thoughts? Thanks!
Technical SEO | | Rock330 -
Robots file set up
The robots file looks like it has been set up in a very messy way.
Technical SEO | | mcwork
I understand the # will comment out a line, does this mean the sitemap would
not be picked up?
Disallow: /js/ should this be allowed like /*.js$
Disallow: /media/wysiwyg/ - this seems to be causing alerts in webmaster tools as it can not access
the images within.
Can anyone help me clean this up please #Sitemap: https://examplesite.com/sitemap.xml Crawlers Setup User-agent: *
Crawl-delay: 10 Allowable Index Mind that Allow is not an official standard Allow: /index.php/blog/
Allow: /catalog/seo_sitemap/category/ Allow: /catalogsearch/result/ Allow: /media/catalog/ Directories Disallow: /404/
Disallow: /app/
Disallow: /cgi-bin/
Disallow: /downloader/
Disallow: /errors/
Disallow: /includes/
Disallow: /js/
Disallow: /lib/
Disallow: /magento/ Disallow: /media/ Disallow: /media/captcha/ Disallow: /media/catalog/ #Disallow: /media/css/
#Disallow: /media/css_secure/
Disallow: /media/customer/
Disallow: /media/dhl/
Disallow: /media/downloadable/
Disallow: /media/import/
#Disallow: /media/js/
Disallow: /media/pdf/
Disallow: /media/sales/
Disallow: /media/tmp/
Disallow: /media/wysiwyg/
Disallow: /media/xmlconnect/
Disallow: /pkginfo/
Disallow: /report/
Disallow: /scripts/
Disallow: /shell/
#Disallow: /skin/
Disallow: /stats/
Disallow: /var/ Paths (clean URLs) Disallow: /index.php/
Disallow: /catalog/product_compare/
Disallow: /catalog/category/view/
Disallow: /catalog/product/view/
Disallow: /catalog/product/gallery/
Disallow: */catalog/product/upload/
Disallow: /catalogsearch/
Disallow: /checkout/
Disallow: /control/
Disallow: /contacts/
Disallow: /customer/
Disallow: /customize/
Disallow: /newsletter/
Disallow: /poll/
Disallow: /review/
Disallow: /sendfriend/
Disallow: /tag/
Disallow: /wishlist/ Files Disallow: /cron.php
Disallow: /cron.sh
Disallow: /error_log
Disallow: /install.php
Disallow: /LICENSE.html
Disallow: /LICENSE.txt
Disallow: /LICENSE_AFL.txt
Disallow: /STATUS.txt
Disallow: /get.php # Magento 1.5+ Paths (no clean URLs) #Disallow: /.js$
#Disallow: /.css$
Disallow: /.php$
Disallow: /?SID=
Disallow: /rss*
Disallow: /*PHPSESSID Disallow: /:
Disallow: /😘 User-agent: Fatbot
Disallow: / User-agent: TwengaBot-2.0
Disallow: /0 -
Yoast plug in - title settings
Hi, I am using yoast plugin and having problems with title. For example, my recent post http://www.soobumimphotography.com/bulverde-realtor-headshot/
Technical SEO | | BistosAmerica
It's showing as "Bulverde Realtor Headshot | San Antonio Headshot PhotographerSan Antonio Wedding Photography Journal So basically, homepapge title is followed on every single page and post. I would like Bulverde Realtor Headshot | San Antonio Headshot Photographer Could you help with this?0 -
External Links Discrepancy
Hello folks Apologies for my ignorance, but a SEO novice here… One of our competitors boasts over 300,000 external links, however when we analysed their links via http://www.opensiteexplorer.org we can only see around 10,000 in there “Number of Domains Linking to this Page” section. Can someone please assist and point out something which I assume is painfully obvious! Cheers, Chris
Technical SEO | | footyfriends0 -
Google Shows 24K Links b/w 2 sites that are not linked
Good Morning, Does anyone have any idea why Google WMT shows me that i have 24,101 backlinks from one of my sites ( http://goo.gl/Jb4ng ) pointing to my other site ( http://goo.gl/JgK1e ) ... These sites have zero links between them, as far as I can see/tell. Can someone please help me figure out why Google is showing 24k backlinks? Thanks
Technical SEO | | Prime850 -
Pinterist links no follow or followed?
in OSE it says we are getting lots of good links from pages like this on pinterest; pinterest.com/cbn456/inspiration-at-home However if you look at the code it says nofollow. Am I missing something or is OSE just missing it?
Technical SEO | | iAnalyst.com0 -
What loss of value would this link experience?
What loss of value would this link experience? If the link is actually a link to the from site that is 301'd to your site like this example below: i.e., www.domain.com/29834?=www.yourdomain.com My thought is that simply because you're going through a redirect (In this case a 301) you will lose slight value there. But I'd love to hear your thoughts and reasoning on any other affects if any (direct or indirect) you think it may have.
Technical SEO | | Webfor1