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
- 
					
					
					
					
 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.phpStart rewrites for Static file cachingRewriteRule ^(typo3|typo3temp|typo3conf|t3lib|tslib|fileadmin|uploads|screens|showpic.php)/ - [L] 
 RewriteRule ^home$ / [L]Don't pull *.xml, *.css etc. from the cacheRewriteCond %{REQUEST_FILENAME} !^..xml$ 
 RewriteCond %{REQUEST_FILENAME} !^..css$
 RewriteCond %{REQUEST_FILENAME} !^.*.php$Check for Ctrl Shift reloadRewriteCond %{HTTP:Pragma} !no-cache 
 RewriteCond %{HTTP:Cache-Control} !no-cacheNO 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 requestsRewriteCond %{REQUEST_METHOD} GET We only redirect URI's without query stringsRewriteCond %{QUERY_STRING} ^$ We only redirect if a cache file actually existsRewriteCond %{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 cachingDirectoryIndex index.htmlCMS is typo3. any ideas? Thanks! 
 Maarten
- 
					
					
					
					
 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 
- 
					
					
					
					
 Hi Alan, Ok we start cutting  the htaccess. I'll keep you posted. the htaccess. I'll keep you posted.Thanks! 
- 
					
					
					
					
 Thanks Anthony! That's the strange thing, website is working only there is still a 403. We will check chmod status. 
- 
					
					
					
					
 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 
- 
					
					
					
					
 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? 
- 
					
					
					
					
 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! 
Browse Questions
Explore more categories
- 
		
		Moz ToolsChat with the community about the Moz tools. 
- 
		
		SEO TacticsDiscuss the SEO process with fellow marketers 
- 
		
		CommunityDiscuss industry events, jobs, and news! 
- 
		
		Digital MarketingChat about tactics outside of SEO 
- 
		
		Research & TrendsDive into research and trends in the search industry. 
- 
		
		SupportConnect on product support and feature requests. 
Related Questions
- 
		
		
		
		
		
		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 | | amitdipsite150220200
- 
		
		
		
		
		
		Does anyone know the linking of hashtags on Wix sites does it negatively or postively impact SEO. It is coming up as an error in site crawls 'Pages with 404 errors' Anyone got any experience please?
 Does anyone know the linking of hashtags on Wix sites does it negatively or positively impact SEO. It is coming up as an error in site crawls 'Pages with 404 errors' Anyone got any experience please? For example at the bottom of this blog post https://www.poppyandperle.com/post/face-painting-a-global-language the hashtags are linked, but they don't go to a page, they go to search results of all other blogs using that hashtag. Seems a bit of a strange approach to me. Technical SEO | | Mediaholix0
- 
		
		
		
		
		
		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 | | CommercePundit1
- 
		
		
		
		
		
		Migrating micro site into existing website
 My company is planning to migrate an existing (ecommerce) micro site - which sits on its own domain - into their main ecommerce site. This means that the content will be moved from www.microdomain.co.uk to www.maindomain.com/category. Some products already exist on the main domain. The micro site is fairly small with just over 400 pages - I am planning to map each URL to the new URL (exact corresponding page) and create 301 redirects for each. Where any additional content does not exist yet on the existing main domain, we will create it and 301 redirect to it. The micro site currently ranks fairly well for some keywords - being such a specialised micro site, (some of) the keywords also form part of the domain name, however, they won't on the main page although they may form part of the URL (category). As an example (using a made up URL), our micro site www.bread-sticks.co.uk ranks on page 1 for the keyword bread sticks - we don't just sell bread sticks on www.bread-sticks.co.uk but also rolls and bread though, bread sticks is one category of very closely related categories. Say our main domain is www.supermarket.co.uk (selling a wide range of food / drink products. The micro site will be moving to www.supermarket.co.uk/baked-products/ - which is a category. Within that category, there are sub categories, i.e. bread sticks, rolls and bread which will sit under www.supermarket.co.uk/bread-sticks/ etc. What would be the best way for ensuring that our main domain would take over the rankings from our micro site, given that it will be sitting on our main domain as a category (one of many)? Can we expect www.supermarket.co.uk/baked-products/ or www.supermarket.co.uk/bread-sticks/ to replace www.bread-sticks.co.uk in the rankings simply by 301 redirecting? Thanks for your help! Technical SEO | | ViviCa10
- 
		
		
		
		
		
		Schema Markup Errors - Priority or Not?
 Greetings All... I've been digging through the search console on a few of my sites and I've been noticing quite a few structured data errors. Most of the errors are related to: hcard, hentry and hatom. Most of them are missing author & entry-title, while the other one is missing: fn. I recently saw an article on SEL about Google's focus on spammy mark-up. The sites I use are built and managed by vendors, so I would have to impress upon them the impact of these errors and have them prioritize, then fix them. My question is whether or not this should be prioritized? Should I have them correct these errors sooner than later or can I take a phased approach? I haven't noticed any loss in traffic or anything like that, I'm more focused on what negative impact a "phased approach" could have. Any thoughts? Technical SEO | | AfroSEO0
- 
		
		
		
		
		
		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 | | yoursearchteam0
- 
		
		
		
		
		
		Websites being hacked & duplicated, what should we do?
 Hi, please help! Our website was hacked and being totally duplicated. They even injected codes to intercept our orders. Although the codes issue had been solved, still there're two mirror sites out there. When search for some of our key words, they even have good ranks. What exactly can we do to let Google ban those two sites. Thanks in advance! Technical SEO | | Squall3150
- 
		
		
		
		
		
		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 | | anchorwave0
 
			
		 
			
		 
			
		 
			
		 
					
				 
					
				 
					
				 
					
				 
					
				 
					
				