URL's show with underscores in them

Author Message

Herman Hardenbol

Tuesday 07 February 2006 1:00:18 am

Suddenly my url's have underscores and numbering in them like this:

index.php/news/events__1/concert

Does anyone know why and how to get rid of them? Thanks for any help.

Thomas Nunninger

Tuesday 07 February 2006 1:13:54 am

Hi,

probably you have to objects in your news folder called events. The double underscore and the numbering is the way to distinguish them...

Have a nice day

Thomas

Mark Marsiglio

Tuesday 07 February 2006 6:41:55 am

Look for a script in /update/common/scripts/ called updateniceurls.php. The __1 is created when two items with the same name/url_alias are created, but often the original is removed and you are left with ugly URLs.

updateniceurls.php is a script that will recreate the URLs and get rid of any __1s where there is no longer a duplicate.

http://www.thinkcreative.com
Turning Ideas Into Strategic Solutions

Herman Hardenbol

Thursday 09 February 2006 2:53:09 am

Thanks a lot for your help. I probably did have two nodes with the same name at first and deleted one of them and I did not know about the updateniceurls.php script.

I have cleared the trash (as I read somewhere else this could be of influence), cleared the cache, run the script, cleared the cache again, but nothing happened. The script showed me a nice dotted progress bar, no errors anywhere, no logfiles. I have forced it to look at my site_access with the -s switch. I would like to know what went wrong in my ezpublish 3.6.2/suse 9.3/mysql 4.1.15-nt installation. Could it be a buggy.

I did a little trick to solve it for now: just renamed events to event and then back to events again.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.