I have a plugin which generates a set of URLs with several variables, such as:
- hostname/index.php?page=CiviCRM&q=civicrm/event/register&page_id=92
- hostname/?page=CiviCRM&q=civicrm/event/info&page_id=92&reset=1&id=1
In each case, I would like to be able to rewrite these to:
- hostname/nameofpageid92/?page=CiviCRM&q=civicrm/event/register
- hostname/nameofpageid92/?page=CiviCRM&q=civicrm/event/info&reset=1&id=1
Any help would be highly appreciated.