• majorAlexa

        See all notifications

        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.

          Let your business shine with Listings AI
          Moz Local

          Let your business shine with Listings AI

          Learn more
        • 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
        • 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. 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
        3804
        Loading More Posts
        • Watching

          Notify me of new replies.
          Show question in unread.

        • Not Watching

          Do not notify me of new replies.
          Show question in unread if category is not ignored.

        • Ignoring

          Do not notify me of new replies.
          Do not show question in unread.

        • Oldest to Newest
        • Newest to Oldest
        • Most Votes
        Reply
        • Reply as question
        Locked
        This topic has been deleted. Only users with question management privileges can see it.
        • MaartenvandenBos
          MaartenvandenBos last edited by

          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

            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
            • MaartenvandenBos
              MaartenvandenBos @loopyal last edited by

              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

                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

                  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 Reply Quote 1
                  • Anthony_NorthSEO
                    Anthony_NorthSEO last edited by

                    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 Reply Quote 0
                    • Anthony_NorthSEO
                      Anthony_NorthSEO last edited by

                      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
                      • First post
                        Last post

                      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

                      • blogwoman1

                        What Tools Should I Use To Investigate Damage to my website

                        indexed urls seo seo audit

                        I would like to know what tools I should use and how to investigate damage to my website in2town.co.uk I hired a person to do some work to my website but they damaged it. That person was on a freelance platform and was removed because of all the complaints made about them. They also put in backdoors on websites including mine and added content. I also had a second problem where my content was being stolen. My site always did well and had lots of keywords in the top five and ten, but now they are not even in the top 200. This happened in January and feb. When I write unique articles, they are not showing in Google and need to find what the problem is and how to fix it. Can anyone please help

                        Technical SEO | | blogwoman1
                        0
                      • Dan_Tala

                        My website is constantly decreasing

                        loss of ranking

                        For few weeks ago my website is constantly decreasing in search position. I lost keywords and is gooooing down.
                        Although it is well rated on several on page and off page seo verification software that I have tried.
                        I checked Google search console and Analytics and found no major problems. However… from one day to another it keeps going down.
                        I also checked what the main competitors are doing and they are not doing well, at all.
                        The main competitor actually has a creepy website. Totally devoid of onpage or offpage SEO but with an enormous number of backlinks. And of a very bad quality, which should disqualify it, still…
                        Few weeks ago I changed something.
                        In the pages I had H1, 4xH2, no H3 and an H4 without content.
                        An unnatural H tag structure.
                        Now I have H1, H2, H3, 3xH4, with the coherent information.
                        Theoretically, Google should have been “happy” or I’m missing something. I use a SAAS platform.
                        I just found out that they made changes to the keywords (tags).
                        I am selling toner cartridges for printers.
                        So…
                        The tags are printer models and generate a url in which they have the products.
                        Ex. https://www.sertit.ro/cartus-imprimanta-cilindru-color-hp-laserjet-pro-m-177fw goes to the products for that printer model.
                        The question is… should I make tag canonical?
                        Is it possible for products to loose so much in Google search?

                        Technical SEO | | Dan_Tala
                        0
                      • GhillC

                        Broken canonical link errors

                        Hello, Several tools I'm using are returning errors due to "broken canonical links". However, I'm not too sure why is that. Eg.
                        Page URL: domain.com/page.html?xxxx
                        Canonical link URL: domain.com/page.html
                        Returns an error. Any idea why? Am I doing it wrong? Thanks,
                        G

                        Technical SEO | | GhillC
                        1
                      • Answer2cancer

                        Rel=canonical on Godaddy Website builder

                        Hey crew! First off this is a last resort asking this question here. Godaddy has not been able to help so I need my Moz Fam on this one. So common problem My crawl report is showing I have duplicate home pages www.answer2cancer.org and www.answer2cancer.org/home.html I understand this is a common issue with apache webservers which is why the wonderful rel=canonical tag was created! I don't want to go through the hassle of a 301 redirect of course for such a  simple issue. Now here's the issue. Godaddy website builder does not make any sense to me. In wordpress I could just go add the tag to the head in the back end. But no such thing exist in godaddy. You have to do this weird drag and drop html block and drag it somewhere on the site and plug in the code. I think putting before the code instead of just putting it in there. So I did that but when I publish and inspect in chrome I cannot see the tag in the head! This is confusing I know. the guy at godaddy didn't stand a chance lol. Anyway much love for any replies!

                        Technical SEO | | Answer2cancer
                        0
                      • Prime85

                        Are 404 Errors a bad thing?

                        Good Morning... I am trying to clean up my e-commerce site and i created a lot of new categories for my parts... I've made the old category pages (which have had their content removed) "hidden" to anyone who visits the site and starts browsing.  The only way you could get to those "hidden" pages is either by knowing the URLS that I used to use or if for some reason one of them is spidering in Google. Since I'm trying to clean up the site and get rid of any duplicate content issues, would i be better served by adding those "hidden" pages that don't have much or any content to the Robots.txt file or should i just De-activate them so now even if you type the old URL you will get a 404 page... In this case, are 404 pages bad?  You're typically not going to find those pages in the SERPS so the only way you'd land on these 404 pages is to know the old url i was using that has been disabled. Please let me know if you guys think i should be 404'ing them or adding them to Robots.txt Thanks

                        Technical SEO | | Prime85
                        0
                      • jtay123

                        403 forbidden, are these a problem?

                        Hi I have just run a crawl test on screaming frog and it is showing quite a few 403 forbidden status codes. We are showing none of these in webmaster tools, is this an issue?

                        Technical SEO | | jtay123
                        0
                      • seoug_2005

                        Websites on same c class IP address

                        If two websites are on the same  c class IP address, what does it mean ? Does two websites belong to the same company ?

                        Technical SEO | | seoug_2005
                        0
                      • mosaicpro

                        What is the best website structure for SEO?

                        I've been on SEOmoz for about 1 month now and everyone says that depending on the type of business you should build up your website structure for SEO as 1st step. I have a new client click here   ( www version doesn't work)... some bugs we are fixing it now. We are almost finished with the design & layout. 2nd question have been running though my head. 1. What would the best url category for the shop be    /products/     - current url cat ex:   /products/door-handles.html 2. What would you use for the main menu as section for getting the most out of SEO. Personally i am thinking of making 2-3 main categories on the left a section where i can add content to it (3-4 paragraphs... images maybe a video).So the main page focuses on the domain name more and the rest of the sections would focus on specific keywords, this why I avoid cannibalization. Main keyword target is "door handles" Any suggestions would be appreciated.

                        Technical SEO | | mosaicpro
                        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.