In Joomla, suppose we have sef url like:
Now I have to append a variable "id" to this url, so i have done this:
$invite_url="http://www.mauriestate.com/en/mauritius-real-estate-community/groups/viewgroup/1-social-media-in-action.html"
$inv_url=$invite_url."&id="."123"
Now when i open $inv_url
in browser, I am getting a 404 error. Can you give me any idea how to append a variable to sef urls in php, or can you tell me the way to generate a normal url from a sef url.
Replace &
with ?
:
$inv_url=$invite_url."?id="."123"
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.