joomla/joomla-platform — comment on commit 2e8d5415b6551679ec40189ba85ae571827a4a93
File:  line 0
By AmyStephen:

I'm sorry my answers were so short.

First of all, I realize it's not a redirect, if it were a redirect, I would not be recommending one be added there. ;-)

At this location:

https://github.com/joomla/joomla-platform/blob/2e8d5415b6551679ec40189ba85ae571827a4a93/libraries/joomla/application/web.php#L1119

As you are establishing application variables for use within the application for any kind of URL work, you have identified a rather annoying bit of duplicate content, that being the http://example.com/index.php home value.

My suggestion was simply that that instead of cleaning the string up for internal use by removing the index.php portion from the request URL, that you simply 301 redirect the request back to the application base, absent the index.php portion of the URL.

The goal: to get a clean "home" URL.

That might not seem important (or be important), it's a personal thing, IMO, and not a major issue, but many of the SEO geeks will find it a "nice to have" feature to have a clean home URL. (It might also help with some of the weird ItemID issues that sometimes represent from time to time on home page recognition.)

If it still doesn't make sense, let's just move on. I apologize for taking this much of your time already.