• I use an ecommerce webstore, along with a WordPress website. I’d like to make it so the webstore is the main wrapper of website, and pulling in WordPress through a .php statement/codex. That way the customers have access to their cart, login, and other functions. I feel this will make for a more enjoyable, and easier shopping experience.

    My problem is that when I put the WordPress files within the ecommerce folder, they both have an index.php file. Is there way I can re-name this file, maybe to wp-indedx.php, if I do that, what other files pull on the index.php file, so I can rename it to wp-index.php.

    Hope this makes sense. If anyone has an easier way to do this, I’d be very appreciative
    Thanks

Viewing 7 replies - 1 through 7 (of 7 total)
  • You might wanna try this out…

    Giving WordPress Its OwnDirectory

    Thread Starter RedpointCS

    (@redpointcs)

    I think the problem with that is then it would be taking customers out of the online shop, so then the login, cart, etc., for shop customers wouldn’t show. So I don’t think that would work.

    Thanks though!

    Look, I installed phpbb forum and installed wordpress to check and see.
    I named wordpress index.php file to wp.php
    It seems to work.

    Good thing about WordPress is that everything branded with wp at the start of the file or folder.

    here is the proof…

    View post on imgur.com

    Thread Starter RedpointCS

    (@redpointcs)

    Look, I don’t doubt you can install both in one folder, that was my original question. Your original answer was putting it in a sub-directory.

    After you renamed the index.php to wp.php, what other files did you have to change that referenced the original index.php to the new wp.php? Also, if you do rename index.php, how would that affect future upgrades?

    i didn’t change anything except index.php to wp.php

    Future updates might change the index file, so before applying an upgrade the webstore index.php file should be changed to something until you finished the upgrade.

    Thread Starter RedpointCS

    (@redpointcs)

    Hm, once I change the WordPress index.php, I can still log on, but I can’t access any of the WordPress pages. I think you would have to change the files that reference the WordPress index.php file, and change the name.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Possible to re-name the index.php file?’ is closed to new replies.