Regarding the 403 errors
-
Dear,
I have been struggling few days to find a fix since our website analysis showed that site or the server is blocking automated access. As the result, I am getting many 403 forbidden links (resources and images) especially as you see in the image most of 403 errors are from wp-content folder.
If I go to those links and see them manually, they look ok and I don’t get errors. But when the crawlers performing multiple simultaneous requests, those errors appear. I am afraid that this hurts our website’s seo. Website:
https://www.badetonneholz.de
Original message who performed the website analysis:
“It looks like your site or the server is blocking automated access or is choking
upon performing multiple simultaneous requests (code-403 “Forbidden by Server”),
thus preventing proper crawling of your website (hence why search engines have trouble
fully indexing & properly ranking your site, because they use automated bot software to
do that and your site blocks them out). This usually happens on WordPress-based
websites (like yours) that either use a security plugin to block automated access (e.g.
“Bad Behavior”, “Wordfence”), or use a misconfigured W3 Total Cache plugin.
However, it can also happen if your server / hosting provider blocks access directly. This
behavior is to be avoided at all costs for websites that don’t have high rankings or
reputation, and is useful ~only~ for really huge websites with lots of attack situations
and that already have an established rank & reputation. So I strongly recommend
disabling any plugins/settings that prevent automated access because they only harm
your site.”Below is .htaccess content:
# BEGIN WpFastestCache <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{HTTPS} =on RewriteCond %{HTTP_HOST} ^www.badetonneholz.de # Start WPFC Exclude # End WPFC Exclude RewriteCond %{HTTP_USER_AGENT} !(facebookexternalhit|WhatsApp|Mediatoolkitbot) RewriteCond %{REQUEST_METHOD} !POST RewriteCond %{REQUEST_URI} !(\/){2}$ RewriteCond %{REQUEST_URI} \/$ RewriteCond %{QUERY_STRING} !.+ RewriteCond %{HTTP:Profile} !^[a-z0-9\"]+ [NC] RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/all/$1/index.html -f [or] RewriteCond /home/timberin/domains/badetonneholz.de/public_html/wp-content/cache/all/$1/index.html -f RewriteRule ^(.*) "/wp-content/cache/all/$1/index.html" [L] </IfModule> <FilesMatch "\.(html|htm)$"> AddDefaultCharset UTF-8 <ifModule mod_headers.c> FileETag None Header unset ETag Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate" Header set Pragma "no-cache" Header set Expires "Mon, 29 Oct 1923 20:30:00 GMT" </ifModule> </FilesMatch> # END WpFastestCache # BEGIN GzipWpFastestCache <IfModule mod_deflate.c> AddType x-font/woff .woff AddOutputFilterByType DEFLATE image/svg+xml AddOutputFilterByType DEFLATE text/plain AddOutputFilterByType DEFLATE text/html AddOutputFilterByType DEFLATE text/xml AddOutputFilterByType DEFLATE text/css AddOutputFilterByType DEFLATE text/javascript AddOutputFilterByType DEFLATE application/xml AddOutputFilterByType DEFLATE application/xhtml+xml AddOutputFilterByType DEFLATE application/rss+xml AddOutputFilterByType DEFLATE application/javascript AddOutputFilterByType DEFLATE application/x-javascript AddOutputFilterByType DEFLATE application/x-font-ttf AddOutputFilterByType DEFLATE application/vnd.ms-fontobject AddOutputFilterByType DEFLATE font/opentype font/ttf font/eot font/otf </IfModule> # END GzipWpFastestCache # BEGIN LBCWpFastestCache <FilesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf|x-html|css|xml|js|woff|woff2|ttf|svg|eot)(\.gz)?$"> <IfModule mod_expires.c> ExpiresActive On ExpiresDefault A0 ExpiresByType image/gif A2592000 ExpiresByType image/png A2592000 ExpiresByType image/jpg A2592000 ExpiresByType image/jpeg A2592000 ExpiresByType image/ico A2592000 ExpiresByType image/svg+xml A2592000 ExpiresByType text/css A2592000 ExpiresByType text/javascript A2592000 ExpiresByType application/javascript A2592000 ExpiresByType application/x-javascript A2592000 </IfModule> <IfModule mod_headers.c> Header set Expires "max-age=2592000, public" Header unset ETag Header set Connection keep-alive FileETag None </IfModule> </FilesMatch> # END LBCWpFastestCache # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress Redirect 301 /product/entwerfen-badetonne-modell/ https://www.badetonneholz.de/badefass-kunststoffeinsatz-bauen/ <IfModule mod_expires.c> ExpiresActive on ExpiresDefault "access plus 1 month" ExpiresByType application/javascript "access plus 1 year" ExpiresByType image/x-ico "access plus 1 year" ExpiresByType image/jpg "access plus 14 days" ExpiresByType image/jpeg "access plus 14 days" ExpiresByType image/gif "access plus 14 days" ExpiresByType image/png "access plus 14 days" ExpiresByType text/css "access plus 14 days" Redirect 301 /holzfasssauna-garten-mit-vorraum-holzofen/ https://www.badetonneholz.de/fasssauna-aussensauna-garten-vorraum-holzofen-kaufen/
Thanks
Albert
- The topic ‘Regarding the 403 errors’ is closed to new replies.