Hi,
I am having a problem with pathauto.
When I created a path alias pattern like shop/product.php?productid=[node:nid] , it converts the URL to shop/product.php%3Fproductid%3D17518
when I type shop/product.php?productid=17518 .... it show page not found.
Kindly help me out this issue.

Thanks,

Comments

drupal of $_GET parameters is $_GET['q']. When the parameter is shop/product.php?productid=[node:nid] ,Drupal considers it the whole as ($_GET['q']=shop/product.php?productid=[node:nid]) and format the $_GET['q'] by rawurlencode.To modify it, remove rawurlencode from drupal_http_build_query() and drupal_encode_path() function.

Anyhow we suggest you not removing the perameter since it belongs to drupal core.

Status:Active» Closed (won't fix)

Drupal does not support query strings in URL alias, so natively we cannot support this functionality in Pathauto either. See #118072: Allow query strings in URL aliases for the feature request in Drupal core.