• Resolved gonza.ar

    (@gonzaar)


    Hi!

    We are trying the plugin and we have the following rule:

    RewriteRule “^about/?$” “https://test.local/about-page/” [R=301,L]

    If I add that rule in the .htaccess file, works greate! but of course I would like to use the plugin:

    I tried with the following configuration inside the source URL textbox, but none of them worked:

    * ^about/?$
    * “^about/?$”

    The following worked:

    * “/about/?$”
    * ^/about/?$

    of course with Regex selected.

    The question is, why ^about/?$ doesn’t work? if in the htaccess file works great?

    Regards

    • This topic was modified 4 years, 4 months ago by gonza.ar.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author John Godley

    (@johnny5)

    > The question is, why ^about/?$ doesn’t work? if in the htaccess file works great

    Redirection expects a URL, and is not Apache. Apache is expecting things in it’s own format.

    Thread Starter gonza.ar

    (@gonzaar)

    John,

    yes you′re right.
    Thank you very much for your help!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Redirect ^ (anchor) problem’ is closed to new replies.