[TYPO3] RealURL skips one page segment when generating speaking URLs

Luc Franken [TenToday] typo3 at tentoday.com
Wed May 17 22:52:00 CEST 2006


Maybe quick and dirty but maybe it works:
Just create an extra level. So the three:

+ all
   + site 1
     + page 1
   + site 2
etcetera

Then it should work I think?

Good Luck!

Luc Franken



Ricardo Scachetti Pereira schreef:
>    Hi all,
> 
>    I'm experiencing a strange problem with RealURL and the segment paths 
> it generates automatically and I was hoping that someone could help me 
> with that.
> 
>    I have two websites on the same Typo3 database (tree), like this:
> 
> + site1 (actual url: http://www.tdwg.gbif.org/)
>  + page1.1
>    + page1.1.1
>    + page1.1.2
>    + page1.1.3
>  + page1.2
>    + page1.2.1
>    + page1.2.2
>    + page1.2.3
> 
> + site2 (actual url: http://www.tdwg.gbif.org/tdwg2006/)
>  + page2.1
>    + page2.1.1
>    + page2.1.2
>    + page2.1.3
>  + page2.2
>    + page2.2.1
>    + page2.2.2
>    + page2.2.3
> 
>    They are both using the same domain, but have different web 
> templates. I use the TS line "menu.entryLevel = 0" to make the menus 
> show only the links from the appropriate site.
> 
>    Also, on site2, I expand all menu items and I don't create links for 
> the pages on level 1 (page2.1 and page2.2 are not linked to anything).
> 
>    RealURL is skipping the first menu level and is generating the 
> following URLs:
> 
> page1.1.1: http://mydomain.com/page1.1/page1.1.1
> page1.2.3: http://mydomain.com/page1.2/page1.2.3
> page2.2.1: http://mydomain.com/page2.1/page1.2.1
> 
> while I would like it to generate these URLs:
> 
> page1.1.1: http://mydomain.com/site1/page1.1/page1.1.1
> page1.2.3: http://mydomain.com/site2/page1.2/page1.2.3
> page2.2.1: http://mydomain.com/site3/page2.1/page1.2.1
> 
>    Does anyone know why RealURL would skip the "site1" or "site2" segments?
> 
>    Other little, related problems I have with RealURL:
> - It does not generate speaking urls for pages that are not linked from 
> the menus or pages of type "shortcut". Is there any way to force the 
> generation of those speaking urls? I'm using redirects to work around 
> this problem.
> - I tried to set the homepages of both sites to type "advanced" and set 
> the Speaking url page segment of those pages to the value I want, but 
> that doesn't seem to work or change anything.
> - When I rename a page and create a new one with the same name as of the 
> previous one, I can't get RealURL to use the path segment it was using 
> for the old one on the new one.
> 
>    I've cleared FE cache, RealURL caches, even emptied tx_realurl_* 
> tables and rebuilt them from scratch with no luck.
> 
>    I didn't have this problem before when I had only one website on the 
> tree.
> 
>    Any help is greatly appreciated.
> 
> Regards,
> 
> Ricardo
> 
> 



More information about the TYPO3-english mailing list