Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author John Godley

    (@johnny5)

    What is the redirect you created?

    Thread Starter alexlii

    (@alexlii)

    Hello,

    Url and user agent, please check the last screenshot in my above post

    • This reply was modified 5 years, 7 months ago by alexlii.
    Plugin Author John Godley

    (@johnny5)

    Ok, I didn’t see you had posted a screenshot of the redirect.

    You have created a regular expression for /. This is not a regular expression, and what will happen is you will capture everything with a / in it. This is not what you want.

    Remove the regular expression option

    Thread Starter alexlii

    (@alexlii)

    Thanks.

    This setting will only work for redirecting homepage to a specific page in a subsite:

    https://prntscr.com/n9rmpz

    but how should I create a regular expression please?

    For example, I just want to redirect all of access by the user agent of MicroMessager to the domain:

    subsite.mysite.com

    To a specific page:

    subsite.mysite.com/test

    Here are what I tested:

    this setting is not work:
    https://prntscr.com/n9ro4z

    and this setting will caused 502 Error.

    https://prntscr.com/n9roza

    would you please let me know how I should create redirection for all access to a specific page url?

    Great thanks and have a nice day.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘cache does not work as expected’ is closed to new replies.