How to have a short URL

Discussion regarding Joomla! 1.5 Performance issues.
Locked
yk_Gabriel
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Mon Dec 24, 2007 10:27 am

How to have a short URL

Post by yk_Gabriel » Fri Jan 11, 2008 9:27 pm

Hi,
I'm new to the forum & Joomla! I installed Joomla! 1.5 last week on a website. If anybody can help me how can I have a short URL for new posted articles on the website ... (I don't know much about MySQL database, so please, bear in your mind my knowledge when you try help me)

When I read the new posted articles the address will be something like this;
http://websitename.com/main/index.php?o ... &Itemid=50, which is very long.

How can I fix it to be short? Something like the following http://websitename.com/main/content/view/658/21/215/
Thanx!

User avatar
Robin
Joomla! Master
Joomla! Master
Posts: 15753
Joined: Thu Aug 18, 2005 10:41 am

Re: How to have a short URL

Post by Robin » Sat Jan 12, 2008 12:24 pm

Hi,

Try enabling the SEF url's in the global configuration. That will help you get clearer url's.

There are some known issues in RC4 with SEF url's, but thats being worked on for another release, soon to come.

yk_Gabriel
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Mon Dec 24, 2007 10:27 am

Re: How to have a short URL

Post by yk_Gabriel » Sun Jan 13, 2008 6:02 pm

Thanks RobInk,

I applied your recommendation & the result of the URLs is like this;
http://wesitename.com/main/index.php/th ... tter%20one
which is better than before.

The title (Letter One) is still in the URL. Is there any way that the title will not be included on the URL?

Thanx!

User avatar
Robin
Joomla! Master
Joomla! Master
Posts: 15753
Joined: Thu Aug 18, 2005 10:41 am

Re: How to have a short URL

Post by Robin » Sun Jan 13, 2008 6:26 pm

Hi,

I do not think thats possible, not without a 3rd party extension for SEF url's.

yk_Gabriel
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Mon Dec 24, 2007 10:27 am

Re: How to have a short URL

Post by yk_Gabriel » Mon Jan 21, 2008 8:12 pm

Hi RobInk,

Can I use a 3rd party extension for SEF url's on Joomla! 1.5? Where can I find the extension?

Thanx!

User avatar
Robin
Joomla! Master
Joomla! Master
Posts: 15753
Joined: Thu Aug 18, 2005 10:41 am

Re: How to have a short URL

Post by Robin » Tue Jan 22, 2008 7:59 am

I'm not sure if there are any already, you would have to check the extension site for that.

User avatar
Vince
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 143
Joined: Sun Aug 21, 2005 11:41 pm
Location: UK
Contact:

Re: How to have a short URL

Post by Vince » Tue Jan 22, 2008 10:10 am

yk_Gabriel wrote: The title (Letter One) is still in the URL. Is there any way that the title will not be included on the URL?
AFAIK, the Joomla SEF uses the 'Alias' field, not title.
Therefore you can change the alias to show whatever you prefer within the URL

Hope that helps,

- Vince
www.hostbaron.com - low price Joomla starter packages.

www.SpanishVilla.com - Buy, rent or sell a Spanish property.

yk_Gabriel
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Mon Dec 24, 2007 10:27 am

Re: How to have a short URL

Post by yk_Gabriel » Thu Jan 24, 2008 9:10 pm

Thank you very much Vince & RobInk,
My problem with short URL is solved with your help.
The long URL example; http://websitename.com/index.php?option ... &Itemid=50,
RobInk wrote: Try enabling the SEF url's in the global configuration. That will help you get clearer url's.
By enabling the SEF (Search Engine Friendly URLs) the URL became shorter than before,
Example; http://wesitename.com/index.php/the-new ... ne%for%you

Then with the help of Vince
Vince wrote: AFAIK, the Joomla SEF uses the 'Alias' field, not title.
Therefore you can change the alias to show whatever you prefer within the URL

I got the shortest URL I wanted.
http://websitename.com/the-news/1-latest-news/44-you
'you' appears on the URL at the end, it is because I wrote 'you' in 'Alias' field. When I left the 'Alias' field empty, '-----------' shows at the end of the URL (instead of 'you'.
Thanks again RobInk & Vince.

* Mission accomplished!!!
:pop
Last edited by yk_Gabriel on Thu Jan 24, 2008 9:24 pm, edited 1 time in total.

orom
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Thu Mar 12, 2009 12:26 am

Re: How to have a short URL

Post by orom » Fri May 01, 2009 10:46 pm

Hi there;
I followed the suggestions to shorten the URL. But when I enabled the SEF in global configuration...all my older articles showed 404 error page. How can I update all articles after enabling the SEF?

livingloaded
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Sat Jun 18, 2011 1:54 am

Re: How to have a short URL

Post by livingloaded » Fri Sep 23, 2011 3:13 pm

i'm having the exact same problem as orom, does anyone know how to fix this?

shiv240
Joomla! Apprentice
Joomla! Apprentice
Posts: 15
Joined: Thu Jan 03, 2013 6:49 am

Re: How to have a short URL

Post by shiv240 » Mon Jan 07, 2013 8:25 am

yk_Gabriel wrote:Thank you very much Vince & RobInk,
My problem with short URL is solved with your help.
The long URL example; http://websitename.com/index.php?option ... &Itemid=50,
RobInk wrote: Try enabling the SEF url's in the global configuration. That will help you get clearer url's.
By enabling the SEF (Search Engine Friendly URLs) the URL became shorter than before,
Example; http://wesitename.com/index.php/the-new ... ne%for%you

Then with the help of Vince
Vince wrote: AFAIK, the Joomla SEF uses the 'Alias' field, not title.
Therefore you can change the alias to show whatever you prefer within the URL

I got the shortest URL I wanted.
http://websitename.com/the-news/1-latest-news/44-you
'you' appears on the URL at the end, it is because I wrote 'you' in 'Alias' field. When I left the 'Alias' field empty, '-----------' shows at the end of the URL (instead of 'you'.
Thanks again RobInk & Vince.

* Mission accomplished!!!
:pop
hey yk_Gabriel
can you please share your way how you shorten the url. Coz when i do the same like SEF in global confi it shows "no input file specified" on my article page.

Help Required.

Thanks Again.

unleash_it
Joomla! Ace
Joomla! Ace
Posts: 1311
Joined: Wed Nov 05, 2008 11:28 pm

Re: How to have a short URL

Post by unleash_it » Sat Nov 09, 2013 2:12 pm

hello dear all,

well i stumbled over this article / thread.
well i am using joomla and i love it.

question: do we have allready the SEF / short urls - in the new version 3.1.5?

love to hear from you
regards un-leash,
a big fan for ++ 11 years now: With Joomla you can easily create and extend your website: see the site, that offers you ideas & modules - extensions.joomla.org - it lists over 4000 extensions


Locked

Return to “Performance - Joomla! 1.5”