how to rewrite url on joomla

For Joomla! 3.x Coding related discussions, you could also use: http://groups.google.com/group/joomla-dev-general

Moderators: ooffick, General Support Moderators

Forum rules
Locked
husenbisri
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Fri Nov 24, 2017 7:30 am

how to rewrite url on joomla

Post by husenbisri » Fri Nov 24, 2017 7:53 am

Hi, I have a problem with my plugin. I develop payment plugin and need to send some parameters to the gateway. the gateway need parameters "resultUrl" and my result url is something like this

http://domain.com/index.php?option=com_ ... =132&lang=

but the gateway cannot accept query string, so I try to encode that link use urlencode() function.

http://domain.com/index.php%3Foption%3D ... %26lang%3D

but that link can't be access.

can you help me how to encode the link to remove (&) query string but still can be accessible without htaccess (my be replace it to slash or something)? because I affraid when joomla installed on nginx server, mod rewrite nginx not configure it.
Last edited by toivo on Fri Nov 24, 2017 8:15 am, edited 1 time in total.
Reason: mod note: moved to 3.x Coding

Locked

Return to “Joomla! 3.x Coding”