Bug #68764
closed
Page ids instead of page names in URLs after upgrade to 7.4
Added by Reinis Zumbergs almost 9 years ago.
Updated over 8 years ago.
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.
- Status changed from New to Needs Feedback
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
And you changed the code of realurl according to Readme of the fork?
Do you mean in configuration?
I have the auto-configured file and it uses both 'userFunc' => 'Tx\\Realurl\\UriGeneratorAndResolver->main' and $GLOBALS.
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.
- Status changed from Needs Feedback to Closed
Also available in: Atom
PDF