WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Theme Previews blank (2 posts)

  1. losgaz
    Member
    Posted 6 months 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]
    </IfModule>
    
    # 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
    Member
    Posted 6 months 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

Reply

You must log in to post.

About this Topic