[resolved] Theme Previews blank (2 posts)

  1. losgaz
    Posted 2 years ago #

    I have recently amended permalinks and htaccess file to remove 'index.php' from urls. Since then all theme previews return a blank window. The sidebar (header image etc) are ok.

    htaccess is

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /bar_man/index.php [L]
    # END WordPress
    Options All -Indexes
    RewriteCond %{HTTP_HOST} ^lewesoperatic.co.uk$ [OR]
    RewriteCond %{HTTP_HOST} ^www.lewesoperatic.co.uk$
    RewriteRule ^main\.html$ "http\:\/\/lewesoperatic\.co\.uk\/" [R=301,L]

    Can anybody help me please?

  2. losgaz
    Posted 2 years ago #

    Managed to fix this (don't know why it stopped working)
    Copied index.php tp the root and added wordpress directory name to the require( dirname( __FILE__ ) statement

Topic Closed

This topic has been closed to new replies.

About this Topic