Forums / Developer / Whats __1 in url?
Nicklas Lundgren
Wednesday 07 June 2006 1:17:57 am
Hi,
Has anyone of you heard of this problem before:
We have several sites in the same database. Every site is placed in a folder. The folders are named like "site1", "site2", "site3" and so on. All of these folders reside directly under the system root folder, with node id 2.
Now, one would expect that the URL:s to the sites would be: www.domain.se/site1/ www.domain.se/site2/and so on.
This is the case for all but one of the sites. This singel site is named:www.domain.se/__1/
What is this __1? Where does it come from? How can we get the right siteaccess name back into the url?
System: Version: 3.8.0 (3.8.0)SVN Version: 15859
All feedback is appreciated!
Kind regards,/Nicklas
Nicklas Lundgren, Managing Director Novitell AB, Sweden
Marc Boon
Wednesday 07 June 2006 12:41:37 pm
__1 and __2 etc are normally appended to urls when different nodes in the same directory have the same name, and thus would have the same url alias (nice url).
Tony Wood
Wednesday 07 June 2006 12:46:05 pm
Anybody know of a way short of modifying the DB to change remove these when you remove the original name class.
Tony Wood : twitter.com/tonywood Vision with Technology Experts in eZ Publish consulting & development Power to the Editor! Free eZ Training : http://www.VisionWT.com/training eZ Future Podcast : http://www.VisionWT.com/eZ-Future
Benjamin Lemoine
Tuesday 20 June 2006 7:53:09 am
Is there somebody who found a solution ???
because I have this problem on the main node and i can't remove it...
Thanks
J-A Eberhard
Tuesday 20 June 2006 12:47:56 pm
Have you tried the update/common/scripts/updateniceurls.php scripts?
Open Source Solution Provider Open-Net Ltd Switzerland http://www.open-net.ch
Wednesday 21 June 2006 1:36:38 am
No results with the script :(
Using siteaccess xxx for nice url update Starting updates for MAIN NODE, 45 nodes ............................................. Updated 0/45 for MAIN NODE
need help please :'(
Wednesday 21 June 2006 1:49:53 am
I would try the followings: - Rename this node to something else - Delete the archived version of this node having the previous name (as well as anything that had this name at anytime in this location - like a node having now a new name but that still have an archived version having the old name) - Once I'm sure that the desired name has no match under this location, rename the node to the desired name.Cheers..
Wednesday 21 June 2006 3:46:31 am
I've tryed the followings :
- renaming the main node (with the problem) - deleting archived versions of all the nodes in the content tree - verifying that all nodes name hasn't match - clearing the cache- renaming the main node again
Without results :( The __1 is still present.
I think the solution would be reinstalling eZ but I can't.I will have to continue with...