Bug #68764
closedPage ids instead of page names in URLs after upgrade to 7.4
0%
Description
I have Typo3 7.3.1 with RealURL 1.13.3 (TER version).
I want root page to have just slash "/" in URL and the rest of pages have URLs based on their names. Fx. "/hello/". This works here.
If I upgrade to 7.4, then I have page uid in slashes "/1/" in URL.
If I downgrade, it's back to normal.
Updated by Georg Ringer almost 9 years ago
- Status changed from New to Needs Feedback
the ter version is only set to be working until 7.1.99.
use https://github.com/helhum/realurl .
I doubt that this is a problem of the core.
Updated by Reinis Zumbergs almost 9 years ago
After reporting I also tried with helhum version. Same result.
RealURL (ter) + Typo3 7.3.1 = works
RealURL (ter) + Typo3 7.4.0 = fails
RealURL (helhum) + Typo3 7.3.1 = works
RealURL (helhum) + Typo3 7.4.0 = fails
Updated by Georg Ringer almost 9 years ago
And you changed the code of realurl according to Readme of the fork?
Updated by Reinis Zumbergs over 8 years ago
Do you mean in configuration?
I have the auto-configured file and it uses both 'userFunc' => 'Tx\\Realurl\\UriGeneratorAndResolver->main' and $GLOBALS.
Updated by Reinis Zumbergs over 8 years ago
Solved!
For me it was about the order of packages in the `typo3conf/PackageStates.php` file. When upgrading, every time 7.4 consistently moved `realurl` after my custom extension. As my custom extension has `$TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT']['fixedPostVars']['_DEFAULT'] = array(...);` in `ext_localconf.php`, the `realurl`s own rules didn't get loaded.
I made another upgrade with the dependency to `realurl` in my custom extension `ext_emconf.php` and the order is as needed.
Thanks to Philipp Rönsch and Stephan Großberndt.
Updated by Stephan Großberndt over 8 years ago
- Status changed from Needs Feedback to Closed