• My .htaccess file has rewrite commands on it. I thought it was corrupted so I tried to take it down, but none of my interior pages were displaying. It seems to create a robots.txt that disallows access to my entire site…even when I upload a robots.txt file that allows all access. Here is what my .htaccess file is now…

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress

    I welcome you much appreciated help in solving this mystery! Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘.htaccess is hijacking my robots.txt?’ is closed to new replies.