The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

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

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. Technical SEO Issues
    4. Webmaster Crawl errors caused by Joomla menu structure.

    Webmaster Crawl errors caused by Joomla menu structure.

    Technical SEO Issues
    4 2 271
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • dwallner
      dwallner last edited by

      Webmaster Tools is reporting crawl errors for pages that do not exist due to how my Joomla menu system works. Example, I have a menu item named "Service Area" that stores 3 sub items but no actual page for Service Area. This results in a URL like domainDOTcom/service-area/service-page.html

      Because the Service Area menu item is constructed in a way that shows the bot it is a link, I am getting a 404 error saying it can't find domainDOTcom/service-area/ (The link is to "javasript:;") Note, the error doesn't say domainDOTcom/service-area/javascript:; it just says /service-area/

      What is the best way to handle this? Can I do something in robots.txt to tell the bot that this /service-area/ should be ignored but any page after /service-area/ is good to go? Should I just mark them as fixed as it's really not a 404 a human will encounter or is it best to somehow explain this to the bot? I was advised on google forums to try this, but I'm nervous about it.

      Disallow: /service-area/*
      Allow: /service-area/summerlin-pool-service.
      Allow: /service-area/north-las-vegas
      Allow: /service-area/centennial-hills-pool-service

      I tried a 301 redirect of /service-area to home page but then it pulls that out of the url and my landing pages become 404's.

      http://www.lvpoolcleaners.com/

      Thanks for any advice!

      Derrick

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

        Hi Derrick,

        if you wish to use robots.txt you could simply use:

        Allow: /service-area/*
        Disallow: /service-area/

        This will allow access to any child of /service-area/ but not /service-area/.

        You could redirect this page to your homepage if you wished, and to stop children of this page being redirected you could use RedirectMatch instead of the Redirect directive and use a simple regular expression to only redirect if the URI ends with /service-area/, like this:

        RedirectMatch 301 /service-area/?$ http://www.lvpoolcleaners.com/

        The $ sign at the end signs that the apache should only redirect if the URI is ending in that pattern, and the ? after the trailing / allows the redirect to happen with or without the trailing slash.

        But perhaps the simplest solution to this problem would be making your /service-area/ link point to '#' if the Joomla menu will allow it. This will append an empty anchor to the url, it will not refresh or redirect the page and anchors in URLs are not counted as duplicate URLs.

        For human usability this would be the nicest way to interact with the menu, as you don't want a visitor being interrupted mid-way through their buying cycle by being sent back to the homepage when they didn't ask for it.

        Hope that helps!

        1 Reply Last reply Reply Quote 1
        • dwallner
          dwallner last edited by

          Wow,

          Tom, thank you for the amazingly complete and well articulated response.   You, kind sir, are a interwebs Rock Star!

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

            No problem Derrick, my pleasure.

            Tom

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post
            • Sitemap error in Webmaster tools - 409 error (conflict)
              JohnSammon
              JohnSammon
              0
              3
              235

            • WEBMASTER console: increase in the number of URLs we were blocked from crawling due to authorization permission errors.
              odmsoft
              odmsoft
              0
              21
              835

            • Google Webmaster Structured Data Error
              Everett
              Everett
              0
              3
              126

            • To avoid errors in our Moz crawl, we removed subdomains from our host. (First we tried 301 redirects, also listed as errors.) Now we have backlinks all over the web that are broken. How bad is this, from a pagerank standpoint?
              KristyFord
              KristyFord
              0
              7
              172

            • During my last crawl suddenly no errors or warnings were found, only one, a 403 error on my homepage.
              FedeEinhorn
              FedeEinhorn
              0
              2
              130

            • How is my competition causing bad crawl errors and links on my site
              ClaireH-184886
              ClaireH-184886
              0
              11
              917

            • Crawl Errors In Webmaster Tools
              kdaly100
              kdaly100
              0
              4
              641

            • Magento - Google Webmaster Crawl Errors
              Benj25
              Benj25
              0
              3
              1.8k

            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 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
            • Accessibility
            • Terms of Use
            • Privacy