Comments (5)
#42 was about shortcuts but you don't mention shortcuts. Are you sure it is related?
I just tested with up to four levels (all of them are standard pages): works fine.
from typo3-realurl.
Thanks for the feedback. Tried it with a new subtree and everything worked there. So I checked my pagetree again and found the real cause I think.
Additionally to the page "navpoint" under "top navigation" I have a folder also named "navpoint" in my pagetree. So the pagetree looks like this:
- top navigation
- navpoint
- subnavpoint
- navpoint
- navpoint (sysfolder)
When I rename the sysfolder to something else (although I want the sysfolder explicitely named like the normal page in this case) I get a "Page not found" error.
Can I do anything else than renaming the folder? Shouldn't sysfolders be excluded from the whole url generation process?
from typo3-realurl.
Folders are valid containers for pages, so they can also be in the URL, so they cannot be excluded.
Also consider realurl decoding flow. It sees /navpoint/subnavpoint.html
. Firsts, it selectes navpoint
for decoding. It started from the 1st level and looks through all pages there. It finds navpoint
folder, which matches the segment. So it saves this page as a starting point for further lookup. Next, it takes subnavpoint.html
. It strips .html
and fetches all subpages of navpoint
folder. It tries to find a page, whose title can be encoded as subnavpoint
. Since it cannot find it, it assumes that subnavpoint
must be a postVar (like news
in news/my-news-title
). It cannot find such postVar and it complains.
from typo3-realurl.
I should update docs that page titles must be unique on the same level. If we have the following structure, it ill not be possible to decode news
segment or news/backup
correctly because segment can be decoded to two different pages.
Root
|- News <-- standard page
|-- Single
|- News <-- folder
|-- Backup
from typo3-realurl.
@dmitryd
Just a thought - without deeper technical background - would a check for same titles and possible adding of a suffix solve the accidental 'breaking' by site maintainer be an option. Function could be switched on and off etc. and suffice for path addition selected.
E.g.
Root
|- News <-- standard page
|-- Single
|- News_01 <-- folder Title with suffix "_01" if already on same level
|-- Backup
from typo3-realurl.
Related Issues (20)
- Probably superfluous database query upon banUrlsRegExp requests HOT 1
- alias_field is saving IF(path_segment!='',path_segment,title) as string in the DB (tx_news) HOT 2
- unique_alias not updated to records without l10n_parent HOT 1
- different rootPageIds in query param
- Wiki: Scheduler suggestion outdated HOT 1
- PHP 7.3 compatibility HOT 5
- Documentation on on wiki.typo3.org HOT 1
- TYPO3 6.2: Default logging cannot be overwritten in AdditionalConfiguration.php
- Registered hooks are unset when auto conf is generated HOT 2
- PHP 7.3 support HOT 5
- TYPO3 7.6 remove trailing slash from speaking_url HOT 2
- XML codes at website home HOT 1
- ext_emconf.php 2.6.1 is not written well!! HOT 7
- tx_realurl_uniqalias not beeing updated HOT 1
- PHP 7.4 compatibility HOT 1
- option to disable fileName 'print' HOT 1
- Because pathdata.pid is on the pages.uid now non-admins can not delete any page with pathdata on it HOT 2
- Extension key "realurl" is NOT loaded! HOT 3
- 404 because of pid 0 in tx_realurl_urldata HOT 1
- Configuration not loaded correctly
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from typo3-realurl.