• Resolved marinaa

    (@marinaa)


    When giving WordPress it’s own directory, I’d like to understand why it’s so important to:

    Copy (NOT MOVE!) the index.php and .htaccess files from the WordPress directory into the root directory of your site”.

    as described in step 7 here .

    I know moving works – so why is copying so important?

Viewing 5 replies - 1 through 5 (of 5 total)
  • If you move index.php file from your wordpress directory to root then your domainname.com will work as that is your site url but domianname.com/folder will not work as you do not have any index.php file there to open your wordpress and to log in you still have use domainname.com/folder/wp-admin

    Thread Starter marinaa

    (@marinaa)

    Thanks for responding govpatel.

    I do understand that I’d have to log in using domainname.com/folder/wp-admin.

    Does anyone know why WordPress stresses copying over moving the two files? Is it a security issue with some servers or would it cause problems when upgrading?

    You can move every files and folders in root if you want its only if you using wordpress from a directory you copy index.php in root.

    Thread Starter marinaa

    (@marinaa)

    Does anyone else have any input?

    Thread Starter marinaa

    (@marinaa)

    Thanks to Otto – I found out that “moving” the two files is okay. It’s that WordPress recommends “copying” them so as to prevent loss of files or other problems.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘why "copy" and not "move" the index.php and .htaccess files’ is closed to new replies.