WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Theme Previews blank

[Resolved] Theme Previews blank

  • 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?

Viewing 1 replies (of 1 total)
  • 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

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] Theme Previews blank’ is closed to new replies.