gplana
asked on
Joomla SEF question
Dear expert:
I have a Joomla site with this kind of URLs:
http://www.mysite.com/<lang>/component/<my_compo nent>/40
where <lang> is the language of the site (such as "en"), <my_component> is the name of a component I made, and 40 is the Itemid. As you can see, I have SEF options on Joomla enabled. Original URL without SEF options enabled would be:
http://www.mysite.com/index.php?option=<my_component>&view=<my_vi ew>&Itemid =40&lang=< lang>
What I would like is to get an URL with something like this:
http://www.mysite.com/<lang>/<city>
where city is a session variable used by <my_component> to show data from a specific city.
I read that it is possible to customize the URL by using sh404SEF component and by customizing .htaccess file, but I'm not sure if it is possible to remove the name of the component from the URL, and to add a session variable on it. Is it possible to do it ? How ?
Finally, I don't understand how the view parameter is passed with the SEF URL, because it seems not to be on it.
Thank you.
I have a Joomla site with this kind of URLs:
http://www.mysite.com/<lang>/component/<my_compo
where <lang> is the language of the site (such as "en"), <my_component> is the name of a component I made, and 40 is the Itemid. As you can see, I have SEF options on Joomla enabled. Original URL without SEF options enabled would be:
http://www.mysite.com/index.php?option=<my_component>&view=<my_vi
What I would like is to get an URL with something like this:
http://www.mysite.com/<lang>/<city>
where city is a session variable used by <my_component> to show data from a specific city.
I read that it is possible to customize the URL by using sh404SEF component and by customizing .htaccess file, but I'm not sure if it is possible to remove the name of the component from the URL, and to add a session variable on it. Is it possible to do it ? How ?
Finally, I don't understand how the view parameter is passed with the SEF URL, because it seems not to be on it.
Thank you.
yes with sh404sef you can do it
ASKER
Thank you for your answer but.... how ???
Which steps should I follow ? Should I use .htaccess ? How can I get this if the parameter isn't on the URL ?
Which steps should I follow ? Should I use .htaccess ? How can I get this if the parameter isn't on the URL ?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.