eZ Community » Forums » Developer » Whats __1 in url?
expandshrink

Whats __1 in url?

Whats __1 in url?

Wednesday 07 June 2006 10:17:57 am - 7 replies

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

Modified on Wednesday 07 June 2006 10:19:13 am by Nicklas Lundgren

Wednesday 07 June 2006 9: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).

Wednesday 07 June 2006 9:46:05 pm

Anybody know of a way short of modifying the DB to change remove these when you remove the original name class.

Tuesday 20 June 2006 4:53:09 pm

Is there somebody who found a solution ???

because I have this problem on the main node and i can't remove it...

Thanks

Tuesday 20 June 2006 9:47:56 pm

Have you tried the update/common/scripts/updateniceurls.php scripts?

Wednesday 21 June 2006 10:36:38 am

No results with the script sad.gif Emoticon

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 10: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 12:46:31 pm

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 sad.gif Emoticon The __1 is still present.

I think the solution would be reinstalling eZ but I can't.
I will have to continue with...

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from