Create a redirect link for http://www.mysite.com/page to go to http://www.mysite.com/mypage.
Enter a URL of http://www.mysite.com/page, successful redirect to http://www.mysite.com/mypage.
Enter a URL of http://www.mysite.com/Page , returns 404.
Attempt to create a redirect link for http://www.mysite.com/Page in the redirect component, returns the message "Source URL must be unique".
either both urls http://www.mysite.com/Page and . . . /page would successfully redirect
OR
allow entry of redirect for both source URLS /Page and /page.
I think first would be preferred.
See attached screenshot of system info display.
I have the same problem. According to the (forum)[https://forum.joomla.org/viewtopic.php?t=932554], other people are having the same issue also.
Result: 404 page
Expected Result: redirect to destination url
To answer tonypartridge, changing case on an existing page does not result in 404. Only fails if redirect source urls have incorrect case.
I would love to help code a solution if someone can just point me in the right direction.
I believe that the problem is:
I believe the solution is to correct the visitor's query to match a non-case sensitive redirect source url.
My question: What file controls the visitor's query to check if the source redirect exists?
Would it be plugins/system/redirect/redirect.php?
Thanks!
Note: using Joomla 3.6.5
Nope - scratch that. I queried the database using both uppercase and lowercase and still retrieves the set. The collation is set to utf8mb4_unicode_ci so the row is case insensitive (_ci). I don't know... Maybe something with the url mapping?
@dmurphy779 leave it with me, It's in the plugin but I need to validate my fix before submitted a PR.
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-02-04 21:25:45 |
Closed_By | ⇒ | zero-24 |
Thanks Tony!
Is this a Joomla! Issue? What happens if you access a live page then capitalise one letter?
Traditionally the urls are case sensitive unless a module has been installed on the server to stop case sensitivity on urls.