W3 Total Cache
Why are you use "\/" in htaccess? (2 posts)

  1. Galerio
    Posted 3 years ago #

    Hi Frederick,
    I have seen that in the htaccess file, when the plugin writes something about a directory, it uses the \ (backslash) before the / (slash) of the dir, but / is not a special characters so there is no reason to use the backslash!
    As you can see here:
    the backslash is used only to suppress the special meaning of a special character, and because of slash is not special, a line like:
    should be:


  2. Frederick Townes
    Plugin Author

    Posted 3 years ago #

    In order to make W3TC compatible with a lot of OSes, http servers etc; some environments require that escapement for backslashes.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • W3 Total Cache
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic