How can I turn off WordPress’ index.php redirect to domain root?
-
WordPress Version: 2.7
OS: LinuxSituation: I have just installed WordPress in the background of an existing website that uses index.shtml as its index page.
WordPress is installed and working fine, but I cannot view the WordPress site unless I use an htaccess file to force the DirectoryIndex to be index.php.
When I do that, of course, the whole world sees my incomplete WordPress site. It’s akin to walking in on your date when she’s half dressed. Not cool (in her opinion).
Question: How can I turn off WordPress’ apparent default tendency to redirect the index.php page to the https://www.domain.tld/ root?
Side Note: I tried setting the “WordPress address (URL)” field in the General Settings to https://www.domain.tld/index.php and completely borked the site. I couldn’t even log into the admin dashboard after that. I eventually had to edit the URL field value by going into the options table in the database itself. Sheesh!
- The topic ‘How can I turn off WordPress’ index.php redirect to domain root?’ is closed to new replies.