undefined
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

    Unlock flexible pricing & new endpoints
    Moz API

    Unlock flexible pricing & new endpoints

    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. Technical SEO
  4. 403 forbidden error website

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.

403 forbidden error website

Technical SEO
4
7
3.9k
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.
  • MaartenvandenBos
    MaartenvandenBos last edited by Apr 20, 2012, 6:24 PM

    Hi Mozzers,

    I got a question about new website from a new costumer http://www.eindexamensite.nl/.

    There is a 403 forbidden error on it, and I can't find what the problem is.

    I have checked on: http://gsitecrawler.com/tools/Server-Status.aspx
    result:
    URL=http://www.eindexamensite.nl/ **Result code: 403 (Forbidden / Forbidden)**

    When I delete the .htaccess from the server there is a 200 OK :-). So it is in the .htaccess.

    .htaccess code: ErrorDocument 404 /error.html

    RewriteEngine On
    RewriteRule ^home$ / [L]
    RewriteRule ^typo3$ - [L]
    RewriteRule ^typo3/.$ - [L]
    RewriteRule ^uploads/.
    $ - [L]
    RewriteRule ^fileadmin/.$ - [L]
    RewriteRule ^typo3conf/.
    $ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-l
    RewriteRule .* index.php

    Start rewrites for Static file caching

    RewriteRule ^(typo3|typo3temp|typo3conf|t3lib|tslib|fileadmin|uploads|screens|showpic.php)/ - [L]
    RewriteRule ^home$ / [L]

    Don't pull *.xml, *.css etc. from the cache

    RewriteCond %{REQUEST_FILENAME} !^..xml$
    RewriteCond %{REQUEST_FILENAME} !^.
    .css$
    RewriteCond %{REQUEST_FILENAME} !^.*.php$

    Check for Ctrl Shift reload

    RewriteCond %{HTTP:Pragma} !no-cache
    RewriteCond %{HTTP:Cache-Control} !no-cache

    NO backend user is logged in.

    RewriteCond %{HTTP_COOKIE} !be_typo_user [NC]

    NO frontend user is logged in.

    RewriteCond %{HTTP_COOKIE} !nc_staticfilecache [NC]

    We only redirect GET requests

    RewriteCond %{REQUEST_METHOD} GET

    We only redirect URI's without query strings

    RewriteCond %{QUERY_STRING} ^$

    We only redirect if a cache file actually exists

    RewriteCond %{DOCUMENT_ROOT}/typo3temp/tx_ncstaticfilecache/%{HTTP_HOST}/%{REQUEST_URI}/index.html -f
    RewriteRule .* typo3temp/tx_ncstaticfilecache/%{HTTP_HOST}/%{REQUEST_URI}/index.html [L]

    End static file caching

    DirectoryIndex index.html

    CMS is typo3.

    any ideas?

    Thanks!
    Maarten

    1 Reply Last reply Reply Quote 0
    • jenallen
      jenallen Subscriber last edited by Oct 1, 2012, 8:27 AM Oct 1, 2012, 8:27 AM

      Hi everyone,

      I know this thread hasn't been active for a while but i'm looking for an answer relating to a similar issue. Our infrastructure team had issues a few weeks ago and were routing bot traffic to a slave server. This obviously flagged up 403 errors in webmaster tools.

      Having removed the traffic diversion our site hasn't been indexed in the three weeks since serving Googlebot with a 403 response. Does anyone have experience of Google delaying reindexing of a site after experiencing a 403 response?

      Thanks

      1 Reply Last reply Reply Quote 0
      • topic:timeago_earlier,5 months
      • MaartenvandenBos
        MaartenvandenBos @loopyal last edited by Apr 21, 2012, 8:18 AM Apr 21, 2012, 8:18 AM

        Hi Alan,

        Ok we start cutting 🙂 the htaccess. I'll keep you posted.

        Thanks!

        1 Reply Last reply Reply Quote 0
        • MaartenvandenBos
          MaartenvandenBos @Anthony_NorthSEO last edited by Apr 21, 2012, 8:17 AM Apr 21, 2012, 8:17 AM

          Thanks Anthony!

          That's the strange thing, website is working only there is still a 403.

          We will check chmod status.

          1 Reply Last reply Reply Quote 0
          • loopyal
            loopyal last edited by Aug 8, 2012, 8:56 AM Apr 20, 2012, 11:33 PM

            Hello Maarten

            Those RewriteCond entries are cumulative and it looks like there are missing commands.

            Who edited that file last, and what did they change?

            The way conditionals work is you set a condition, Then you add a command, then a line break You can add more than one condition and it acts as AND

            This page has what look like too many conditions and not enough commands -but it could be ok

            Try adding a blank line between the rule entries and the Cond entries (but not between the Cond and the Rule entries)

            Here is what to do to test anything like this: Save a copy of the .htaccess Then start editing it Delete everything below ##Start rewrites See if that fixes it. If not, the problem is above or if that fixes it, the problem is below Keep cutting the file in half or adding half until you discover the problem line

            It is harder with all those conditionals, I suspect it is the lower block that is the problem

            So remove those Cond entries from the bottom up

            MaartenvandenBos 1 Reply Last reply Apr 21, 2012, 8:18 AM Reply Quote 1
            • Anthony_NorthSEO
              Anthony_NorthSEO last edited by Apr 20, 2012, 7:22 PM Apr 20, 2012, 7:22 PM

              Follow up:

              I'm not seeing any errors when visiting the site (http://www.eindexamensite.nl/). It seems to be working perfectly. Could it be something client-side w/ your caching or system time?

              MaartenvandenBos 1 Reply Last reply Apr 21, 2012, 8:17 AM Reply Quote 0
              • Anthony_NorthSEO
                Anthony_NorthSEO last edited by Apr 20, 2012, 7:18 PM Apr 20, 2012, 7:18 PM

                Hi Maarten,

                I'm not extremely familiar .htaccess or the typo3 CMS, but it could be the issue is simply a result of misconfigured file permissions for a specific directory or path.

                I'd check the permissions on all of the paths that are affected by the .htaccess and make sure they're readable and executable (7,5,5).

                This could explain why you get the 200 status w/o the .htaccess but the 403 error with it.

                Good luck!

                1 Reply Last reply Reply Quote 1
                • 1 / 1
                1 out of 7
                • First post
                  1/7
                  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

                • photoseo1

                  Redirecting an Entire Website?

                  redirecting domain redirect former site

                  Is it best to redirect an old website to a new website page by page to like pages or just the entire site all at once to the home page of the new site? I do have about 10 good pages on the site that are worth directing to corresponding pages on the new site. Just trying to figure out what is going to preserve the most link juice. Thanks for the help!

                  Technical SEO | Apr 7, 2024, 8:55 AM | photoseo1
                  0
                • amitdipsite15022020

                  Multilingual website

                  My website is https://www.india-visa-gov.in and we are doing multilingual. There are three options 1. TLD eg india-visa-gov.fr (French) india-visa-gov.de (German) 2. Subdomain eg: fr.india-visa-gov.in (French) de.india-visa-gov.in (German) 3. Folders https://www.india-visa-gov.in/fr/ (French) https://www.india-visa-gov.in/de/ (German) We have tried the 3rd option but need to know whether its better or not for the long term health from SEO. Does the MOZ DA carry better in Subdomain or TLD or Folders? What does MOZ recommend to maintain DA? Thanks

                  Technical SEO | Mar 13, 2020, 9:09 AM | amitdipsite15022020
                  0
                • WeAreDigital_BE

                  Subdomain 403 error

                  Hi Everyone, A crawler from our SEO tool detects a 403 error from a link from our main domain to a a couple of subdomains. However, these subdomains are perfect accessibly. What could be the problem? Is this error caused by the server, the crawlbot or something else? I would love to hear your thoughts.
                  Jens

                  Technical SEO | Nov 19, 2018, 2:09 PM | WeAreDigital_BE
                  0
                • CommercePundit

                  US and UK Websites of Same Business with Same Content

                  Hello Community, I need your help to understand, whether I can use the US website's content on my UK website or not? US Website's domain: https://www.fortresssecuritystore.com UK Website's domain: https://www.fortresssecuritystore.co.uk Both websites are having same content on all the pages, including testimonials/reviews. I am trying to gain business from Adwords and Organic SEO marketing. Thanks.

                  Technical SEO | Dec 22, 2017, 12:43 AM | CommercePundit
                  1
                • Taiger

                  ?_escaped_fragment_= Duplicate error in Webmaster

                  Hi I am not sure where this came from ... ?escaped_fragment= But in webmaster we are seeing hundreds of pages with this and thus webmaster is saying that we have Pages with duplicate title tags How do I fix this, or remove it. Regards T

                  Technical SEO | Apr 26, 2016, 3:21 PM | Taiger
                  0
                • yoursearchteam

                  How To Cleanup the Google Index After a Website Has Been HACKED

                  We have a client whose website was hacked, and some troll created thousands of viagra pages, which were all indexed by Google.  See the screenshot for an example.  The site has been cleaned up completely, but I wanted to know if anyone can weigh in on how we can cleanup the Google index.  Are there extra steps we should take?  So far we have gone into webmaster tools and submitted a new site map. ^802D799E5372F02797BE19290D8987F3E248DCA6656F8D9BF6^pimgpsh_fullsize_distr.png

                  Technical SEO | Mar 13, 2015, 5:19 PM | yoursearchteam
                  0
                • TheKrazyCouponLady

                  429 Errors?

                  I have over 500,000 429 errors in webmaster tools. Do I need to be concerned about these errors?

                  Technical SEO | Nov 19, 2014, 1:08 PM | TheKrazyCouponLady
                  0
                • anchorwave

                  Best 404 Error Checker?

                  I have a client with a lot of 404 errors from Web Master Tools, and i have to go through and check each of the links because Some redirect to the correct page Some redirect to another url but its a 404 error Some are just 404 errors Does anyone know of a tool where i can dump all of the urls and it will tell me If the url is redirected, and to where if the page is a 404 or other error Any tips or suggestions will be really appreciated! Thanks SEO Moz'rs

                  Technical SEO | Oct 27, 2011, 6:09 AM | anchorwave
                  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.