• Hi!

    Depending what PHP I use, W3TC generates two lines different in .htaccess under PHP 5.2 and PHP 5.3.

    With PHP 5.2 htaccess contains:

    RewriteCond %{REQUEST_URI} (wp-comments-popup\.php|wp-links-opml\.php|wp-locations\.php) [NC]
    RewriteCond %{HTTP_COOKIE} !(comment_author|wp-postpass|wordpress_\[a-f0-9\]\+|wordpress_logged_in) [NC]

    With PHP 5.3:

    RewriteCond %{REQUEST_URI} (wp\-comments\-popup\.php|wp\-links\-opml\.php|wp\-locations\.php) [NC]
    RewriteCond %{HTTP_COOKIE} !(comment_author|wp\-postpass|wordpress_\[a\-f0\-9\]\+|wordpress_logged_in) [NC]

    You can see the difference is the added backslashes. Why? Which one is the correct one?

    https://www.ads-software.com/plugins/w3-total-cache/

  • The topic ‘.HTACCESS Question’ is closed to new replies.