• I get redirected to 404.php for all posts.
    https://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

Viewing 2 replies - 1 through 2 (of 2 total)
  • What are the permissions set to for the .htaccess file? Please provide the permission settings number, such as 644, 777, etc.

    Thread Starter Ivan Storck

    (@ivanoats)

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Permalinks only work when logged in’ is closed to new replies.