WordPress.org

Ready to get started?Download WordPress

Forums

Permalinks only work when logged in (3 posts)

  1. ivanoats
    Member
    Posted 6 years ago #

    I get redirected to 404.php for all posts.
    http://www.ecomomalliance.org

    I have checked and .htaccess is writable

    please help point me in the right direction, this site is going to be on t.v. very soon! thank you,

    here is the .htaccess
    # BEGIN WPSuperCache
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{QUERY_STRING} !.*s=.*
    RewriteCond %{HTTP_COOKIE} !^.*(comment_author_|wordpress|wp-postpass_).*$
    RewriteCond %{HTTP:Accept-Encoding} gzip
    RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html.gz -f
    RewriteRule ^(.*) /wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html.gz [L]

    RewriteCond %{QUERY_STRING} !.*s=.*
    RewriteCond %{HTTP_COOKIE} !^.*(comment_author_|wordpress|wp-postpass_).*$
    RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html -f
    RewriteRule ^(.*) /wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html [L]
    </IfModule>

    # END WPSuperCache
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

  2. JHouse
    Member
    Posted 6 years ago #

    What are the permissions set to for the .htaccess file? Please provide the permission settings number, such as 644, 777, etc.

  3. ivanoats
    Member
    Posted 6 years ago #

    #ls -la public_html/.htaccess
    -rw-rw-rw- 1 kimberly kimberly 913 Apr 6 17:30 public_html/.htaccess

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags