cooluri links to wrong page
Hi. I'm a little bit confused as this is some kind of standard setting which I have used "a hundred times", but now I get a curious error:
Setup: TYPO3 6.2.13
Cooluri 1.0.39 from TER
- L1 (id 1)
- L2 (id 2)
on L2 "Always exclude this page from a page path (dangerous!)" is set.
Multiple Links from L1 goes to L2 (with different Params), coolURI is off, anything works fine. The Links goes to *id=2*&...params...
config.tx_cooluri_enable = 1
The links should go to http://mysite/L1/PARAMS/ ; rendered URLs are fine, but coolURI points this to *id=1*&....params.... which is quite senseless.
Issue is related to "Always exclude this page from a page path (dangerous!)" - when setting this OFF, everything works as expected:
http://mysite/L1/L2/PARAMS/ - but I have to get rid of the L2 path segment in the URL
Updated by Jan Bednarik almost 6 years ago
This is odd. This parameter is used only when looking up pagepath. It shouldn't affect translation of other parameters. Please try it with 1.1.1 (released yesterday), however, I don't think it'd change something, there was no change in this area.
You say "rendered URLs are fine, but CoolURI points to ...". I'm not sure what you mean. Do you have "redirectOldLinksToNew" enabled? Try to disable it.
It'd be good if you could report this in GitHub - https://github.com/bednee/cooluri/issues