• Resolved losgaz

    (@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]
    </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)
  • Thread Starter losgaz

    (@losgaz)

    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.