• I have created a rule that will rewrite something like:

    http://mydomain.com/civicrm?page=CiviCRM&q=civicrm/event/register&reset=1&id=5

    to:

    http://www.mydomain.com/civicrm/event/register-5

    In theory, my rule is correct, but it’s not working when entered into the Rewrite plugin. Here is my rule as entered:

    Rule Pattern: ^([^-]*)-([^-]*)$
    Match: /civicrm?page=CiviCRM&q=[1]&reset=1&id=[2]

    I can’t figure out what I am missing here. All I can figure is the original URL is already being rewritten, so the additional rewrite is confusing it.

    https://ww.wp.xz.cn/plugins/rewrite/

The topic ‘Rewrite not working’ is closed to new replies.