Skip to content
    Moz logo Menu open Menu close
    • Products
      • Moz Pro
      • Moz Pro Home
      • Moz Local
      • Moz Local Home
      • STAT
      • Moz API
      • Moz API Home
      • Compare SEO Products
      • Moz Data
    • Free SEO Tools
      • Domain Analysis
      • Keyword Explorer
      • Link Explorer
      • Competitive Research
      • MozBar
      • More Free SEO Tools
    • Learn SEO
      • Beginner's Guide to SEO
      • SEO Learning Center
      • Moz Academy
      • MozCon
      • Webinars, Whitepapers, & Guides
    • Blog
    • Why Moz
      • Digital Marketers
      • Agency Solutions
      • Enterprise Solutions
      • Small Business Solutions
      • The Moz Story
      • New Releases
    • Log in
    • Log out
    • Products
      • Moz Pro

        Your all-in-one suite of SEO essentials.

      • Moz Local

        Raise your local SEO visibility with complete local SEO management.

      • STAT

        SERP tracking and analytics for enterprise SEO experts.

      • Moz API

        Power your SEO with our index of over 44 trillion links.

      • Compare SEO Products

        See which Moz SEO solution best meets your business needs.

      • Moz Data

        Power your SEO strategy & AI models with custom data solutions.

      Track AI Overviews in Keyword Research
      Moz Pro

      Track AI Overviews in Keyword Research

      Try it free!
    • Free SEO Tools
      • Domain Analysis

        Get top competitive SEO metrics like DA, top pages and more.

      • Keyword Explorer

        Find traffic-driving keywords with our 1.25 billion+ keyword index.

      • Link Explorer

        Explore over 40 trillion links for powerful backlink data.

      • Competitive Research

        Uncover valuable insights on your organic search competitors.

      • MozBar

        See top SEO metrics for free as you browse the web.

      • More Free SEO Tools

        Explore all the free SEO tools Moz has to offer.

      NEW Keyword Suggestions by Topic
      Moz Pro

      NEW Keyword Suggestions by Topic

      Learn more
    • Learn SEO
      • Beginner's Guide to SEO

        The #1 most popular introduction to SEO, trusted by millions.

      • SEO Learning Center

        Broaden your knowledge with SEO resources for all skill levels.

      • On-Demand Webinars

        Learn modern SEO best practices from industry experts.

      • How-To Guides

        Step-by-step guides to search success from the authority on SEO.

      • Moz Academy

        Upskill and get certified with on-demand courses & certifications.

      • MozCon

        Save on Early Bird tickets and join us in London or New York City

      Access 20 years of data with flexible pricing
      Moz API

      Access 20 years of data with flexible pricing

      Find your plan
    • Blog
    • Why Moz
      • Digital Marketers

        Simplify SEO tasks to save time and grow your traffic.

      • Small Business Solutions

        Uncover insights to make smarter marketing decisions in less time.

      • Agency Solutions

        Earn & keep valuable clients with unparalleled data & insights.

      • Enterprise Solutions

        Gain a competitive edge in the ever-changing world of search.

      • The Moz Story

        Moz was the first & remains the most trusted SEO company.

      • New Releases

        Get the scoop on the latest and greatest from Moz.

      Surface actionable competitive intel
      New Feature

      Surface actionable competitive intel

      Learn More
    • Log in
      • Moz Pro
      • Moz Local
      • Moz Local Dashboard
      • Moz API
      • Moz API Dashboard
      • Moz Academy
    • Avatar
      • Moz Home
      • Notifications
      • Account & Billing
      • Manage Users
      • Community Profile
      • My Q&A
      • My Videos
      • Log Out

    The Moz Q&A Forum

    • Forum
    • Questions
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. Home
    2. SEO Tactics
    3. Intermediate & Advanced SEO
    4. Why do people put xml sitemaps in subfolders? Why not just the root? What's the best solution?

    Moz Q&A is closed.

    After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.

    Why do people put xml sitemaps in subfolders? Why not just the root? What's the best solution?

    Intermediate & Advanced SEO
    2
    3
    4540
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with question management privileges can see it.
    • McTaggart
      McTaggart last edited by

      Just read this: "The location of a Sitemap file determines the set of URLs that can be included in that Sitemap. A Sitemap file located at http://example.com/catalog/sitemap.xml can include any URLs starting with http://example.com/catalog/ but can not include URLs starting with http://example.com/images/." here: http://www.sitemaps.org/protocol.html#location

      Yet surely it's better to put the sitemaps at the root so you have:
      (a) http://example.com/sitemap.xml 
      http://example.com/sitemap-chocolatecakes.xml
      http://example.com/sitemap-spongecakes.xml 
      and so on...

      OR this kind of approach - 
      (b) http://example/com/sitemap.xml
      http://example.com/sitemap/chocolatecakes.xml and 
      http://example.com/sitemap/spongecakes.xml

      I would tend towards (a) rather than (b) - which is the best option?

      Also, can I keep the structure the same for sitemaps that are subcategories of other sitemaps - for example - for a subcategory of http://example.com/sitemap-chocolatecakes.xml I might create http://example.com/sitemap-chocolatecakes-cherryicing.xml - or should I add a sub folder to turn it into http://example.com/sitemap-chocolatecakes/cherryicing.xml

      Look forward to reading your comments - Luke

      1 Reply Last reply Reply Quote 0
      • McTaggart
        McTaggart last edited by

        Thanks Angular Marketing, and Everett... very helpful feedback and much appreciated. Luke
        
        1 Reply Last reply Reply Quote 1
        • HiveDigitalInc
          HiveDigitalInc last edited by

          Consider this:  "The location of a Sitemap file determines the set of URLs that can be included in that Sitemap. A Sitemap file located at http://example.com/catalog/sitemap.xml can include any URLs starting with http://example.com/catalog/ but can not include URLs starting with http://example.com/images/." here: http://www.sitemaps.org/protocol.html#location

          B would not be an acceptable approach as http://example.com/sitemap/chocolatecakes.xml could only contain a sitemap of content located in http://example.com/sitemap.   For this same reason, you couldn't create sitemaps in subfolder directories...

          This is the best approach from those options you mentioned...

          (a) http://example.com/sitemap.xml 
          http://example.com/sitemap-chocolatecakes.xml 
          http://example.com/sitemap-spongecakes.xml
          http://example.com/sitemap-chocolatecakes-cherryicing.xml

          It is worth noting that you can have a sitemap of sitemaps.. so for example.

          http://example.com/sitemap.xml could contain links to http://example.com/sitemap-cakes,  http://example.com/sitemap-articles, etc..
          http://example.com/sitemap-cakes.xml could contain links to http://example.com/sitemap-chocolatecakes.xml, http://example.com/sitemap-vanilla-cakes.xml, etc..

          Try not to over-complicate things by trying to create sub-category sitemaps, etc.. Unless you have an exorbitant amount of sub-category pages, or have directories/sections managed by different cms, etc.

          You generally see large sites will have a separate sitemap based on content type (company pages, category pages, product pages, blog pages)

          1 Reply Last reply Reply Quote 3
          • 1 / 1
          • First post
            Last post

          Got a burning SEO question?

          Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.


          Start my free trial


          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.

          • See all categories

          Related Questions

          • Ria_

            Partial Match or RegEx in Search Console's URL Parameters Tool?

            So I currently have approximately 1000 of these URLs indexed, when I only want roughly 100 of them. Let's say the URL is www.example.com/page.php?par1=ABC123=&par2=DEF456=&par3=GHI789= All the indexed URLs follow that same kinda format, but I only want to index the URLs that have a par1 of ABC (but that could be ABC123 or ABC456 or whatever). Using URL Parameters tool in Search Console, I can ask Googlebot to only crawl URLs with a specific value. But is there any way to get a partial match, using regex maybe? Am I wasting my time with Search Console, and should I just disallow any page.php without par1=ABC in robots.txt?

            Intermediate & Advanced SEO | | Ria_
            0
          • Gauge123

            Should you allow an auto dealer's inventory to be indexed?

            Due to the way most auto dealership website populate inventory pages, should you allow inventory to be indexed at all? The main benefit us more content. The problem is it creates duplicate, or near duplicate content. It also creates a ton of crawl errors since the turnover is so short and fast. I would love some help on this. Thanks!

            Intermediate & Advanced SEO | | Gauge123
            0
          • esiow2013

            May know what's the meaning of these parameters in .htaccess?

            Begin HackRepair.com Blacklist RewriteEngine on Abuse Agent Blocking RewriteCond %{HTTP_USER_AGENT} ^BlackWidow [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^Bolt\ 0 [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^Bot\ mailto:[email protected] [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} CazoodleBot [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^ChinaClaw [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^Custo [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^Default\ Browser\ 0 [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^DIIbot [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^DISCo [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} discobot [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^Download\ Demon [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^eCatch [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ecxi [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^EirGrabber [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^EmailCollector [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^EmailSiphon [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^EmailWolf [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^Express\ WebPictures [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^ExtractorPro [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^EyeNetIE [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^FlashGet [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^GetRight [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^GetWeb! [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^Go!Zilla [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^Go-Ahead-Got-It [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^GrabNet [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^Grafula [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} GT::WWW [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} heritrix [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^HMView [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} HTTP::Lite [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} HTTrack [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ia_archiver [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} IDBot [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} id-search [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} id-search.org [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^Image\ Stripper [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^Image\ Sucker [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} Indy\ Library [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^InterGET [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^Internet\ Ninja [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^InternetSeer.com [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} IRLbot [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ISC\ Systems\ iRc\ Search\ 2.1 [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^Java [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^JetCar [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^JOC\ Web\ Spider [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^larbin [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^LeechFTP [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} libwww [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} libwww-perl [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^Link [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} LinksManager.com_bot [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} linkwalker [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} lwp-trivial [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^Mass\ Downloader [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^Maxthon$ [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} MFC_Tear_Sample [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^microsoft.url [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} Microsoft\ URL\ Control [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^MIDown\ tool [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^Mister\ PiX [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} Missigua\ Locator [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^Mozilla.*Indy [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^Mozilla.NEWT [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^MSFrontPage [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^Navroad [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^NearSite [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^NetAnts [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^NetSpider [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^Net\ Vampire [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^NetZIP [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^Nutch [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^Octopus [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^Offline\ Explorer [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^Offline\ Navigator [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^PageGrabber [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} panscient.com [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^Papa\ Foto [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^pavuk [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} PECL::HTTP [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^PeoplePal [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^pcBrowser [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} PHPCrawl [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} PleaseCrawl [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^psbot [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^RealDownload [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^ReGet [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^Rippers\ 0 [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} SBIder [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^SeaMonkey$ [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^sitecheck.internetseer.com [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^SiteSnagger [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^SmartDownload [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} Snoopy [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} Steeler [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^SuperBot [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^SuperHTTP [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^Surfbot [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^tAkeOut [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^Teleport\ Pro [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^Toata\ dragostea\ mea\ pentru\ diavola [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} URI::Fetch [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} urllib [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} User-Agent [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^VoidEYE [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^Web\ Image\ Collector [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^Web\ Sucker [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} Web\ Sucker [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} webalta [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^WebAuto [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^[Ww]eb[Bb]andit [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} WebCollage [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^WebCopier [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^WebFetch [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^WebGo\ IS [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^WebLeacher [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^WebReaper [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^WebSauger [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^Website\ eXtractor [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^Website\ Quester [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^WebStripper [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^WebWhacker [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^WebZIP [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} Wells\ Search\ II [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} WEP\ Search [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^Wget [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^Widow [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^WWW-Mechanize [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^WWWOFFLE [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^Xaldon\ WebSpider [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} zermelo [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^Zeus [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ^(.)Zeus.Webster [NC,OR]
            RewriteCond %{HTTP_USER_AGENT} ZyBorg [NC]
            RewriteRule ^. - [F,L] Abuse bot blocking rule end End HackRepair.com Blacklist

            Intermediate & Advanced SEO | | esiow2013
            1
          • kking4120

            What's the best way to redirect categories & paginated pages on a blog?

            I'm currently re-doing my blog and have a few categories that I'm getting rid of for housecleaning purposes and crawl efficiency. Each of these categories has many pages (some have hundreds). The new blog will also not have new relevant categories to redirect them to (1 or 2 may work). So what is the best place to properly redirect these pages to? And how do I handle the paginated URLs? The only logical place I can think of would be to redirect them to the homepage of the blog, but since there are so many pages, I don't know if that's the best idea. Does anybody have any thoughts?

            Intermediate & Advanced SEO | | kking4120
            0
          • turnbullholdingsltd

            Best practice for duplicate website content: same root domain name but different extension

            Hi there I have a new client who has two websites: http://www.bayofislandsteambuilding.co.nz
            http://www.bayofislandsteambuilding.org.nz They are the same in every regard apart from the domain extension (.co.nz & .org.nz) which is likely to be causing them issues with Google ranking given the huge amount of duplicate content. What is the best practice approach to fixing this? Normally, if I was starting from scratch, I would set one of the extensions as an alias which redirects to the main domain. Thanks in advance. Laurie

            Intermediate & Advanced SEO | | turnbullholdingsltd
            0
          • edlondon

            Google Not Indexing XML Sitemap Images

            Hi Mozzers, We are having an issue with our XML sitemap images not being indexed. The site has over 39,000 pages and 17,500 images submitted in GWT.  If you take a look at the attached screenshot, 'GWT Images - Not Indexed', you can see that the majority of the pages are being indexed - but none of the images are. The first thing you should know about the images is that they are hosted on a content delivery network (CDN), rather than on the site itself. However, Google advice suggests hosting on a CDN is fine - see second screenshot, 'Google CDN Advice'.  That advice says to either (i) ensure the hosting site is verified in GWT or (ii) submit in robots.txt.  As we can't verify the hosting site in GWT, we had opted to submit via robots.txt. There are 3 sitemap indexes: 1) http://www.greenplantswap.co.uk/sitemap_index.xml, 2) http://www.greenplantswap.co.uk/sitemap/plant_genera/listings.xml and 3) http://www.greenplantswap.co.uk/sitemap/plant_genera/plants.xml. Each sitemap index is split up into often hundreds or thousands of smaller XML sitemaps. This is necessary due to the size of the site and how we have decided to pull URLs in.  Essentially, if we did it another way, it may have involved some of the sitemaps being massive and thus taking upwards of a minute to load. To give you an idea of what is being submitted to Google in one of the sitemaps, please see view-source:http://www.greenplantswap.co.uk/sitemap/plant_genera/4/listings.xml?page=1. Originally, the images were SSL, so we decided to reverted to non-SSL URLs as that was an easy change.  But over a week later, that seems to have had no impact.  The image URLs are ugly... but should this prevent them from being indexed? The strange thing is that a very small number of images have been indexed - see http://goo.gl/P8GMn. I don't know if this is an anomaly or whether it suggests no issue with how the images have been set up - thus, there may be another issue. Sorry for the long message but I would be extremely grateful for any insight into this.  I have tried to offer as much information as I can, however please do let me know if this is not enough. Thank you for taking the time to read and help. Regards, Mark Oz6HzKO rYD3ICZ

            Intermediate & Advanced SEO | | edlondon
            0
          • Omnipress

            Do I need to use canonicals if I will be using 301's?

            I just took a job about three months and one of the first things I wanted to do was restructure the site. The current structure is solution based but I am moving it toward a product focus. The problem I'm having is the CMS I'm using isn't the greatest (and yes I've brought this up to my CMS provider). It creates multiple URL's for the same page. For example, these two urls are the same page: (note: these aren't the actual urls, I just made them up for demonstration purposes) http://www.website.com/home/meet-us/team-leaders/boss-man/
            http://www.website.com/home/meet-us/team-leaders/boss-man/bossman.cmsx (I know this is terrible, and once our contract is up we'll be looking at a different provider) So clearly I need to set up canonical tags for the last two pages that look like this: http://www.omnipress.com/boss-man" /> With the new site restructure, do I need to put a canonical tag on the second page to tell the search engine that it's the same as the first, since I'll be changing the category it's in? For Example: http://www.website.com/home/meet-us/team-leaders/boss-man/ will become http://www.website.com/home/MEET-OUR-TEAM/team-leaders/boss-man My overall question is, do I need to spend the time to run through our entire site and do canonical tags AND 301 redirects to the new page, or can I just simply redirect both of them to the new page? I hope this makes sense. Your help is greatly appreciated!!

            Intermediate & Advanced SEO | | Omnipress
            0
          • digisavvy

            There's a website I'm working with that has a .php extension. All the pages do. What's the best practice to remove the .php extension across all pages?

            Client wishes to drop the .php extension on all their pages (they've got around 2k pages). I assured them that wasn't necessary. However, in the event that I do end up doing this what's the best practices way (and easiest way) to do this? This is also a WordPress site. Thanks.

            Intermediate & Advanced SEO | | digisavvy
            0

          Get started with Moz Pro!

          Unlock the power of advanced SEO tools and data-driven insights.

          Start my free trial
          Products
          • Moz Pro
          • Moz Local
          • Moz API
          • Moz Data
          • STAT
          • Product Updates
          Moz Solutions
          • SMB Solutions
          • Agency Solutions
          • Enterprise Solutions
          • Digital Marketers
          Free SEO Tools
          • Domain Authority Checker
          • Link Explorer
          • Keyword Explorer
          • Competitive Research
          • Brand Authority Checker
          • Local Citation Checker
          • MozBar Extension
          • MozCast
          Resources
          • Blog
          • SEO Learning Center
          • Help Hub
          • Beginner's Guide to SEO
          • How-to Guides
          • Moz Academy
          • API Docs
          About Moz
          • About
          • Team
          • Careers
          • Contact
          Why Moz
          • Case Studies
          • Testimonials
          Get Involved
          • Become an Affiliate
          • MozCon
          • Webinars
          • Practical Marketer Series
          • MozPod
          Connect with us

          Contact the Help team

          Join our newsletter
          Moz logo
          © 2021 - 2025 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
          • Accessibility
          • Terms of Use
          • Privacy

          Looks like your connection to Moz was lost, please wait while we try to reconnect.