This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Having two index.php files with different names- any pitfalls?

January 16, 2015 1:59am

Subscribe [1]
  • #1 / Jan 16, 2015 1:59am


    17 posts

    So I currently have my main index.php file renamed to just “style” and use a .htaccess file to treat it as the former. My question is, is there any harm in duplicating index.php again and saving it with a different name, say “content”, so my EE can be accessed using both URL root names:

    It seems to work, though what concerns me is that in EE control panel under Admin ›  System Preferences ›  General Configuration, you have to specify the “Name of your site’s index page”, which obviously has room for only one index page name. What are the repercussions of allowing users to access my site via two index page names?


.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases