Support » Fixing WordPress » Theme Previews blank

  • Resolved losgaz


    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} ^$ [OR]
    RewriteCond %{HTTP_HOST} ^$
    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 ‘Theme Previews blank’ is closed to new replies.