Can WordPress be installed at the root level, if a homepage called index.php already exists?
Leave a Reply
You must be logged in to post a comment.
Can WordPress be installed at the root level, if a homepage called index.php already exists?
You must be logged in to post a comment.
In theory, you could rename the file and change the rewrite rule accordingly. Assuming you rename it to wp-index.php, it would look something like this:
There are a few references to index.php in the WP source, but they’re almost all either in the admin area and used to detect or direct to the dashboard, or explicitly for servers that don’t fully support mod_rewrite.
No,
index.php
file is present and used in WordPress (source).Depending on what existing homepage is it can be renamed to another non-conflicting file or migrated to WordPress.