Make WordPress Core

Opened 4 years ago

Last modified 4 years ago

#42307 new defect (bug)

Installing WP in Subfolders and https Issue

Reported by: mocha365 Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.8.2
Component: Upgrade/Install Keywords:
Focuses: Cc:


Note sure what component to set this ticket to, but here is the issue.

I have a domain with SSL enabled. I wanted to install WordPress in a subdirectory (folder) while the root of my website is static HTML pages. Installed it, but noticed that the site urls in General settings do not inherit https; they are http only. Change them to https and click save and then I get too_many_redirects error and locked out of admin. Have to go in db to change back to http or do a complete reinstall of WP.

Turns out this is related to "mixed content". I reinstalled WP and before changing http to https, I noticed the source code had shown http (for assets) and https as well mixed in. Reset General settings to https and again, error and locked out.

Finally came across a few plugins for this issue: SSL Insecure Content Fixer and also Really Simple SSL. I tried the first one and it worked, although I still had to manually change the General site url settings to https. Everything worked.

I then disabled the plugin, manually changed the site url to https again, and was locked out again. Reinstalled WP but this time tried the other plugin (which automatically changed the site url setting to https....everything working as well.

So it appears this has been a long-time issue when looking in Google and knowing there are plugins to fix this, means that it's a problem that has been around for a long time with the core and installation of WP in a sub folder on an SSL enabled domain. Technically, people should not require the use of a plugin to solve this.

Change History (1)

#1 @SergeyBiryukov
4 years ago

  • Component changed from General to Upgrade/Install
Note: See TracTickets for help on using tickets.