Copy of index.php and htaccess in root folder necessary?
-
Hi,
I want to setup a new wordpress site (done 2 before) and I’ve stumbled across point 7 in this wordpress guide regarding the issue with an own directory. There it says that I should copy “the index.php and .htaccess files from the WordPress directory into the root directory of your site (Blog address).“
Question 1: Why do I need to do that?
Until now I used to just create an own directory and copied wordpress there without doing anything in the root directory and it worked.
Question 2: What if I have the following situation:
I have a domain/webspace
abc.com
which apparently is also my root folder. In this root folder I could also have a wordpress installation (for a different site). My new page would be under the domain
xyz.com
in its own folder e. g.
abc.com/root/xyz
. If I then would copy from the index.php and .htaccess from xyz to abc I would corrupt my abc website or make an usage of it impossible, or wouldn’t I?!
I’m rather new to this and no coder, so I would really appreciate it to get some help or hints here. Thanks!
P.S.: I’ve also asked this as part of a more another more complex question which unfortunately never got any reply.
- The topic ‘Copy of index.php and htaccess in root folder necessary?’ is closed to new replies.