removing component name in url

15 years 6 months ago #4278 by tobiasfransson
Hi,

I wonder if it is possible to remove components name in the url.

Ex:

Right now my blog links look like this.

www.tobias-fransson.com/myblog/site-news-22-april-2009.html


I wonder if it is somehow possible to remove the "myblog" part (or other componenets name
ex /kunena/

So it instead looks like

www.tobias-fransson.com/site-news-22-april-2009.html

If it is possible then how can I make it happen?

Thanks for your help :)

-Tobias Fransson
www.Tobias-Fransson.com

Please Log in or Create an account to join the conversation.

15 years 6 months ago #4280 by Saka
It's only possible to change it to some other word (like blog or forum), not to remove it completely.

Emir Sakic
www.sakic.net

Please Log in or Create an account to join the conversation.

15 years 6 months ago #4282 by tobiasfransson
So it would be possible to rename it myblog to just blog and kunena to forum?

By doing it through SEF Advanced direct links wouldn't be effect.

Example an old link including the "myblog" link would simply end up at /blog/
automatically

or old /kunena/ link would be /forum/ link automatically?

In short I wouldn't have to go over all of my site links since the url has changed?

-Tobias

Please Log in or Create an account to join the conversation.

15 years 6 months ago - 15 years 6 months ago #4284 by Saka
Yes, all links generated by SEF Advance will automatically changed. If your site has already been indexed setup a redirect for old links in .htaccess so you don't get dead links:
RedirectMatch /kunena/(.*) /forum/$1

Emir Sakic
www.sakic.net

Please Log in or Create an account to join the conversation.

About us

We provide high quality Joomla components created by a co-founder and original core developer of Joomla. For over a decade, our products have been used by more than 20.000 webmasters around the world.

Stay in touch