Details
-
Bug
-
Resolution: Fixed
-
Medium
-
4.7.0, 5.0, 5.1, 5.2, 2014.11, 5.4.0, 5.3.4, 5.4.2
-
None
-
None
Description
When checking wether pathPrefix sould be removed or not, it is assumed that you already are in a subfolder of the PathPrefix. The case where you want to go to the root of your pathPrefix folder is not properly handled.
Ex:
- Home
- MyPathPrefixFolder
- News
- Contents
- ...
- MyOtherFolder
- MyPathPrefixFolder
Let's say "MyPathprefixFolder" is the home folder for a siteaccess, then you'll have in your site.ini
PathPrefix=MyPathPrefixFolder
When switching language directly from your homepage, the PathPrefix is added to the new language:
mywebsite.com/switchlanguage/to/fr/ redirects to fr.mywebsite.com/MyPathPrefixFolder instead of just fr.mywebsite.com.
Attachments
Issue Links
- discovered while testing
-
EZP-23838 PathPrefix not working with Symfony Stack
- Closed
- is blocked by
-
EZP-23838 PathPrefix not working with Symfony Stack
- Closed
- relates to
-
EZP-23483 Language Switcher does not work properly when using PathPrefix in pure legacy
- Closed
-
EZP-24221 Create eZ Publish 4.7 Enterprise backport of EZP-23822 fix
- Closed
- links to