English headline news from SINA.com

ynet - Updates for RSS

Wednesday, April 30, 2014

Giving WordPress Its Own Directory « WordPress Codex

Giving WordPress Its Own Directory « WordPress Codex: "Click Save Changes. (Do not worry about the error message and do not try to see your blog at this point! You will probably get a message about file not found.)
Move your WordPress core files to the new location (WordPress address).
Copy (NOT MOVE!) the index.php and .htaccess files from the WordPress directory into the root directory of your site (Blog address). The .htaccess file is invisible, so you may have to set your FTP client to show hidden files. If you are not using pretty permalinks, then you may not have a .htaccess file. If you are running WordPress on a Windows (IIS) server and are using pretty permalinks, you'll have a web.config rather than a .htaccess file in your WordPress directory. For the index.php file the instructions remain the same, copy (don't move) the index.php file to your root directory. The web.config file, must be treated differently than the .htaccess file so you must MOVE (DON'T COPY) the web.config file to your root directory.
Open your root directory's index.php file in a text editor"



'via Blog this'

No comments:

Post a Comment

Please only post comments that have some either direct or even indirect relevance to the given post.
Blatant spamming or other methods will be deleted and require publisher of this blog to issue tighter comment controls.