WordPress.org

Forums

[resolved] Homepage forbidden, others blank (2 posts)

  1. losgaz
    Member
    Posted 1 year ago #

    My homepage
    http://www.lewesoperatic.co.uk/
    returns a forbidden error and all other site pages return blank.

    WordPress is installed at http://www.lewesoperatic.co.uk/bar_man/
    and returns a 404 on the site template,

    wp-admin is unaffected.

    Permalinks are index.php/%postname%. I had been trying to get rid of the index.php and had moved the file to the lewesoperatic root. This failed and moving it back didn't fix the problem. I subsequently restored wordpress which also failed to fix.

    .htaccess is currently

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /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]

    How can I fix this please?

  2. losgaz
    Member
    Posted 1 year ago #

    I seem to have sorted this now - redirect to bar_man... in htacess

Topic Closed

This topic has been closed to new replies.

About this Topic