Support » Plugin: W3 Total Cache » W3 Total Cache – How To Exclude A URL From Being Cached

Viewing 4 replies - 1 through 4 (of 4 total)
  • jimmygba

    (@jimmygba)

    Frederick, please answer my question!

    Plugin Author Frederick Townes

    (@fredericktownes)

    I want to know how to exclude all the below URL’s and their respective pages from being cached

    http://abc.com/it/
    http://abc.com/ga/
    http://abc.com/ar/

    Try adding the following to the “Never cache the following pages” field on the page cache settings tab:

    ^/(it|ga|ar)/?

    jimmygba

    (@jimmygba)

    Thanks for answering,

    As you replied very late so I fixed the problem by modifing the coding, it took me some time but it was done.

    But I’m really thankful to you for answering, I can understand that may be you’ve a lot of works to do.

    The answer which you told me

    ^/(it|ga|ar)/?

    I also tried that and it’s also working.

    Can you please tell me any tutorial from where I can learn these expression which you used in your answer.

    Plugin Author Frederick Townes

    (@fredericktownes)

    You can google search “regular expressions”

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘W3 Total Cache – How To Exclude A URL From Being Cached’ is closed to new replies.