Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author barteled

    (@barteled)

    What is the role of the user you are logging in as?

    Thread Starter PeterVonFrosta

    (@petervonfrosta)

    I am the only one who works in the backend. So I am always loggend in as Admin.

    Plugin Author barteled

    (@barteled)

    Sorry for continued questions without an answer but I’m trying to recreate the issue. Could you provide the contents of you .htaccess file? What version of WordPress are you using? Have you tried the newest version of the plugin (0.2)?

    Thread Starter PeterVonFrosta

    (@petervonfrosta)

    I am using WP 3.8.1.
    The prob still remains even after having installed Vers. 0.2.
    The content of my .htaccess file is:

    #AddHandler x-httpd-php5 .php .php3 .php4 .php5
    
    # BEGINN CACHIFY
    <IfModule mod_rewrite.c>
    # ENGINE ON
    RewriteEngine On
    
    # GZIP FILE
    <IfModule mod_mime.c>
    RewriteCond %{REQUEST_URI} /$
    RewriteCond %{REQUEST_URI} !^/wp-admin/.*
    RewriteCond %{REQUEST_METHOD} !=POST
    RewriteCond %{QUERY_STRING} =""
    RewriteCond %{HTTP_COOKIE} !(wp-postpass|wordpress_logged_in|comment_author)_
    RewriteCond %{HTTP:Accept-Encoding} gzip
    RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/cachify/%{HTTP_HOST}%{REQUEST_URI}/index.html.gz -f
    RewriteRule ^(.*) /wp-content/cache/cachify/%{HTTP_HOST}/$1/index.html.gz [L]
    
    AddType text/html .gz
    AddEncoding gzip .gz
    </IfModule>
    
    # HTML FILE
    RewriteCond %{REQUEST_URI} /$
    RewriteCond %{REQUEST_URI} !^/wp-admin/.*
    RewriteCond %{REQUEST_METHOD} !=POST
    RewriteCond %{QUERY_STRING} =""
    RewriteCond %{HTTP_COOKIE} !(wp-postpass|wordpress_logged_in|comment_author)_
    RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/cachify/%{HTTP_HOST}%{REQUEST_URI}/index.html -f
    RewriteRule ^(.*) /wp-content/cache/cachify/%{HTTP_HOST}/$1/index.html [L]
    </IfModule>
    # END CACHIFY
    
    Redirect 301 /kontakt-und-infos/kontakt/ https://www.finanzfinder24.de/kontakt-und-infos/kontaktdaten-kontaktformular/
    Redirect 301 /versichern-und-vorsorgen/schadenanzeige/ https://www.finanzfinder24.de/versichern-und-vorsorgen/schaden-melden/
    Redirect 301 /geld-und-anlage/die-wahre-inflation/ https://www.finanzfinder24.de/die-wahre-inflation/
    Redirect 301 /versichern-und-vorsorgen/versicherungsvergleiche/krankentagegeldversicherung-vergleich/ https://www.finanzfinder24.de/versichern-und-vorsorgen/versicherungen-ohne-gesundheitspruefung/krankentagegeld-ohne-gesundheitspruefung/
    Redirect 301 /versichern-und-vorsorgen/versicherungen-ohne-gesundheitspruefung/erwerbsunfaehigkeitsversicherung-ohne-gesundheitspruefung/ https://www.finanzfinder24.de/versichern-und-vorsorgen/versicherungen-ohne-gesundheitspruefung/erwerbsunfahigkeitsversicherung-ohne-gesundheitspruefung/
    Redirect 301 /geld-und-anlage/kapitalanlagen/immobilien-aus-der-bankenverwertung/ https://www.finanzfinder24.de/geld-und-anlage/kapitalanlagen/immobilien-aus-bankverwertung/
    Redirect 301 /geld-und-anlage/kapitalanlagen/senioren-und-pflegeappartements/ https://www.finanzfinder24.de/geld-und-anlage/kapitalanlagen/pflegeappartements/
    
    # 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
    
    # BEGIN Sandbox
    # END Sandbox
    Plugin Author barteled

    (@barteled)

    The problem is a conflict with the Cachify plugin. I tried to install the plugin to recreate it but could not get the plugin to add entries to .htaccess like you have above. Although I could not test it, one of the two suggestions below may work. Make sure you have a backup of the .htaccess file before proceeding.

    First try to move the following tags to the beginning of the file and then activate the plugin:

    # BEGIN Sandbox
    # END Sandbox

    Make sure that each is on its own line, exactly how it is in the current .htaccess except at the top of the file

    If that doesn’t work, edit the following line:
    RewriteCond %{HTTP_COOKIE} !(wp-postpass|wordpress_logged_in|comment_author)_
    to say
    RewriteCond %{HTTP_COOKIE} !(sandbox|wp-postpass|wordpress_logged_in|comment_author)_
    This could be overwritten by the Cachify plugin though in the future.

    Thread Starter PeterVonFrosta

    (@petervonfrosta)

    the second idea solved the prob.

    But I had to add the “sandbox|” twice. Once in the section “GZIP File” an once in the section “HTML File”.

    The changes will not be overwritten by a Cachify-update. Because Cachify itself does not make any changes to the .htaccess-file. All content has to be copied into the file manually (the help file of Cachify includes the “how-to”).

    Now everything works fine. So thanks for quick support and the great plugin.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘You do not have sufficient permissions to access this admin page.’ is closed to new replies.