• My site is partly WordPress and partly “legacy” files in html, etc.

    When trying to access https://www.peterwade.com/quantity-discounts.shtml or https://www.peterwade.com/archive/pw46.shtml I think WordPress additions to .htaccess are forcing WordPress to respond that it cannot find the pages. “Not Found — Apologies, but we were unable to find what you were looking for. Perhaps searching will help.” And of course it doesn’t help as the files are outside the WordPress directory.

    This could be the normal WordPress addition to the .htaccess file or the WPSuper Cache stuff in .htaccess. However, the file is there on the server.

    Can anyone point me to an answer as to how to adjust .htaccess, as it will take many months to get the nearly 600 pages left into WordPress, which is the eventual aim. Perhaps allow *.shtml files to display?

    Thanks,
    Peter

Viewing 1 replies (of 1 total)
  • Thread Starter posword

    (@posword)

    I have disabled WP-Super-Cache but the problem remains.

    Does anyone know how to amend .htaccess so my legacy pages can display?

    Here’s what is in my .htaccess file now I have removed the Super Cache stuff:

    # 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
Viewing 1 replies (of 1 total)
  • The topic ‘Is .htaccess blocking non-WordPress parts of site’ is closed to new replies.