Why is my website returning errors on different website graders?


When my boss asked me why our website was returning errors on website.grader.com and freegrader.com, I figured it was just an incorrect redirect rule. However, I have checked and double checked my redirect rules, and I can't find anything wrong.

I manage my company's website, and they use a shared host, so it's possible that there's some server configuration issue. I'm honestly not sure. My redirect rules are as follows:

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteRule ^ https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
RewriteCond %{HTTP:X-Forwarded-Proto} !https 
RewriteCond %{HTTPS} !on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

My robots.txt is as follows:

Sitemap: https://www.brookechase.com/sitemap_index.xml
Sitemap: https://www.brookechase.com/post-sitemap.xml
Sitemap: https://www.brookechase.com/page-sitemap.xml
User-agent: *
Disallow: /cgi-bin/
Disallow: /wp-admin/
Disallow: /category/
Disallow: /readme.html
Disallow: /recommended/
Disallow: /comments/feed/
Disallow: /trackback/
Allow: /wp-admin/admin-ajax.php
User-agent: NinjaBot
Allow: /
User-agent: Mediapartners-Google*
Allow: /
User-agent: Googlebot-Image
Allow: /
User-agent: Adsbot-Google
Allow: /
User-agent: Googlebot-Mobile
Allow: /

My server configuration is pretty long, and I don't want to post too much extraneous information. Although, if there are any specific lines that would help to diagnose the problem, I'd be happy to post the information.

The website in question is https://www.brookechase.com. Feel free to test it on website.grader.com or freegrader.com, but I wasn't able to get either to work (GTMetrix works though!).

Show source
| seo   | .htaccess   | web-crawler   | robots.txt   | web-applications   2016-06-13 17:06 0 Answers

Answers ( 0 )

◀ Go back