Hello, I have been struggling with implementing a security feature as per your link referred to from the WordPress dashboard settings. I am a novice and steep learning curve. So please bear with me.
I have installed WP on a subdirectory /hide
But want the outside world to see my site as concentricdesigns.biz
Another words, the regular users would just type concentricdesigns.biz to log on to my site. But my WordPress is hidden in subdirectory /hide.
According to the wordpress tutorial, all I have to do is go my dashboard and set “site address” (URL) to concentricdesigns.biz and “WordPress Address” (URL) to concentricdesigns.biz/hide
Then I edit the following line in index.php stored within /hide to
I then copy this file over from /hide to the root directory on the server.
I have done this. But I cannot view my site when I type concentricdesigns.biz. I keep getting
Error establishing a database connection
However, when I type in Concentricdesigns.biz/hide I get
Just another WordPress site
This is somewhat embarrassing, isn’t it?
It seems we can’t find what you’re looking for. Perhaps searching can help.
I can also login to the back end of concentricdesigns.biz/hide/wp-admin which works fine.
I also notice that when I download WP on to my local drive I get the following file structure in descending order.
1. WordPress (which I created as the root prior to downloading using FileZilla)
2. Folders on one level: /hide >>> WordPress >>> WP-admin >>> WP-content >>> WP-includes: and file index.php
To reiterate, this is the structure I downloaded from the server unaltered. within the /hide folder there is another index.php file but with the default code:
I would like to know is the correct file structure. I would also like to know if for each different site I create I should create different folder on my local drive and copy WP into it. I expected FileZilla would create this according to the site name by default. But it does not do this.
This is an important feature. Please let me know what step I am doing wrong to correct this.
- The topic ‘setting up wordpress on a subdirectory’ is closed to new replies.