• I’m going crazy with this problem: when I try to fetch my web site with “fetch as google” I get a strange result:
    if I try to fetch the page as “Desktop” the result is “not found”
    if I try as “mobile (smartphone)” the result is “fine”

    Looking at the error log of the web server I found this error every time I try to fetch the page as “Desktop”:

    [Sat Jul 19 16:52:35 2014] [alert] [client 31.13.99.114] /home/itlyshop/public_html/marios/wp-content/cache/.htaccess: <IfModule takes one argument, Container for directives based on existance of specified modules

    I found the same error also using facebook debug but when I browse the file with a computer I get no errors.

    My website is http://www.mariosdesign.com.

    This is the code of my /wp-content/cache/.htaccess:

    # BEGIN supercache
    <IfModule mod_mime.c>
    <FilesMatch "\.html\.gz$"> ForceType text/html FileETag None </FilesMatch>
    AddEncoding gzip .gz AddType text/html .gz </IfModule>
    <IfModule mod_deflate.c> SetEnvIfNoCase Request_URI \.gz$ no-gzip </IfModule>
    <IfModule mod_headers.c> Header set Cache-Control 'max-age=3, must-revalidate' </IfModule>
    <IfModule mod_expires.c> ExpiresActive On ExpiresByType text/html A3 </IfModule>
    ''
    # END supercache

    What can I do to solve this problem?

    https://wordpress.org/plugins/wp-super-cache/

Viewing 1 replies (of 1 total)
  • Hi there!

    I am not quite sure why you’re getting that particular message, because the htaccess looks fine to me. However, I’m not even able to load your site at all anymore. Once your site is back up, let me know and we’ll look again!

Viewing 1 replies (of 1 total)
  • The topic ‘Error when fetching as google’ is closed to new replies.