drupaldrupal-path-aliases

I want to use the question mark in the auto-generated path aliases


I want to use the question mark the automatically generated path aliases, but when I write the question mark, it is changed to %3f.

How can I fix this?


Solution

  • The URL you are trying to use appears to be used as a proper delimiter of path vs. query string. You should not attempt to add the question mark yourself, but instead implement the section after the question mark as query string. For example:

    l(t('My Link'), 'campaign/resurfacing-seminar', array(
      'query' => array(
        'campid' => '70150000000Tbdk',
        'eloqua' => 'SEM-110604-SyracuseNY-Lowe',
      ),
    ));