Hi
there are 3 different stages where you can register a rule in the Joomla Router: pre, during, post.
I wrote sh404SEF, I guess it's fair to say I'm excessively familiar with the Joomla router process.
But I guess this is stage is too late for sh404 to pick up my modifications.
sh404SEF will not use any of the rules attached to the router. It does not use the Joomla router at all to build URLs, so nothing from it, or related to it, is used.
Now I have the issue, that my rule is applied before the sh404 component.
As said above, your rule are likely applied by the router but none of what the router does is used in the actual SEF URL.
With "URL optimization" turned on, my URLs are now beeing overwritten. I assume it is because of the sh404 component because if I turn off "URL optimization" my URL are staying the way I want them to be.
When URL optimization is set to No, sh404SEF is entirely disabled, it's like it's not installed on the site.
I only alter URLs inside the EasySocial component and they use sh404 aswell. It would be very nice if I could manage my modified URLs inside of the sh404 component aswell since it would save me time building a new component just to manage SEF URLs for one component.
Do you have any solutions or any ideas where to start?
First, forget about rules attached to the Joomla router, that's a dead end, rules are not used, so you cannot modify URLs that way.
This part of my previous response applies here:
Only modifying the router.php file would have any effect here. Or having a custom sh404SEF plugin, which was the case with EasySocial at some point, not sure they still have it though.
Best regards
Yannick Gaultier
weeblr.com / @weeblr