Link to home
Start Free TrialLog in
Avatar of gplana
gplanaFlag for Spain

asked on

Joomla SEF question

Dear expert:

I have a Joomla site with this kind of URLs:

http://www.mysite.com/<lang>/component/<my_component>/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_view>&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.
Avatar of Panagiotis S
Panagiotis S
Flag of Greece image

yes with sh404sef you can do it
Avatar of gplana

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 ?
ASKER CERTIFIED SOLUTION
Avatar of Abhijeet Rananaware
Abhijeet Rananaware
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial