Forums / Install & configuration / How to keep nice URLs from being too long?

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

How to keep nice URLs from being too long?

Author Message

Martin Crockett

Tuesday 15 February 2005 4:25:28 am

Hi,

I have some news articles being listed on a news page.

The format the links to each article are taking are:

/news/<category>/<title>/<summary>

This results in unnecessary text being used in the URL (in this case, the summary text).

I would prefer them to look like this if possible:

/news/<category>/<title>

Anyone know if this possible?
I've searched high and low and no found the documentation or forum messages to back it up.

Thanks in advance.

;-)

Gabriel Ambuehl

Tuesday 15 February 2005 6:12:27 am

Try editing the Name field at the very top in the class definition of your articles.

Visit http://triligon.org

Łukasz Serwatka

Tuesday 15 February 2005 6:22:21 am

Precisely, you must edit "Object name pattern:" just leave <title> or <your_news_name>. You can aslo use URL transator for some of your news If you want.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Martin Crockett

Tuesday 15 February 2005 6:48:18 am

Okay fellas.

Looks like you cracked it for me.

Thanks for the help - I appreciate it.

kracker

Tuesday 15 February 2005 10:46:13 am

I tried to post this into the faq, as it is a great little nugget of Exponential how to information, only to find that even when I'm logged into ez.no I can not post new faq entries.

Could I trouble someone else who can post a new Question / Answer to the FAQ to add this information into the FAQ?

cheers,
//kracker
thinking of Exponential ... ;)
Eyedea And Abilities : E And A : Paradise

Member since: 2001.07.13 || http://ezpedia.se7enx.com/