• Resolved grumpster

    (@grumpster)


    WordPress Version: 2.7
    OS: Linux

    Situation: 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!

Viewing 2 replies - 16 through 17 (of 17 total)
  • There is an issue with using index.html and index.php and canonical solution posted. The search doesn’t work. Any ideas?
    Thanks!

    ok, fixed the search with a workaround on the searchform using /index.php. Unrelated.

Viewing 2 replies - 16 through 17 (of 17 total)
  • The topic ‘How can I turn off WordPress’ index.php redirect to domain root?’ is closed to new replies.