Setting up a wordpress installation ready for the inevitable upgrade.

Ok, so you have decided it is time to make your site live for all to see. Below is the second half to this wordpress installation guide.

6.    Log in to your dashboard.

a.    Goto Settings> Permalink>

i.    Change the permalink settings and save changes.

ii.    If you want to use the settings that are currently in use change the permalink to something else and then change them back again.

b.    Go to Settings> General>

i.    In the Site Address (URL) text box enter http://yoursite.com.au

ii.    Click Save Changes.

iii.    If you receive an error message do not worry. Also, do not try to see your wordpress site at this point!

iv.    You may get a message about file not found.

c.    Log out of the dash board if it will let you.

7.    Copy (DO NOT MOVE!) the index.php and .htaccess files from the WordPress directory into the root directory of your hosting package (http://yoursite.com.au).

a.    The .htaccess file is usually invisible, so set your FTP client to show hidden files.

b.    If you are not using pretty permalinks, then you may not have a .htaccess file.

c.    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. As stated above, copy (don’t move) the index.php file to your root directory, but MOVE (DON’T COPY) the web.config file to your root directory.

d.    In a text editor open the index.php file that is now in your root directory.

i.    Locate the line that says
(1)    require(‘./wp-blog-header.php’);

ii.    Change it to
(1)    require(‘./yourfolder/wp-blog-header.php’);

8.    Login to the dashboard on your site. It should be

a.    http://yoursite.com.au/yourfolder/wp-admin/

b.    Go to the Permalinks panel Settings> Permalink> and update your Permalink structure by clicking the Save Changes button.

i.    WordPress will automatically update your .htaccess file if it has the appropriate file permissions to write to the .htaccess file.

ii.    If WordPress can’t write to your .htaccess file, it will display the new rewrite rules to you, which you should copy into your .htaccess file (in the same directory as the main index.php file.)

c.    Then go to the installed plugins panel and scroll down to WP Maintenance Mode and click settings

i.    Plugins> WP Maintenance Mode> Settings>

ii.    Change Plugin Activate to false

9.    Open your robots.txt file in a text editor and remove the line
a.    Disallow: /yourfolder/
b.    Then save and close your robots.txt

10.    Read my post Update Services – ping lists.

Please feel free to leave comments and suggestions.

About 

Allan has a life time background in sales and more than thirty years experience in programming, and server configuration. Which makes Allan extremely well equipped to understand your needs for any application or web site. Contact Allan to develop an application or web site for your business or for you personally.

Leave a Reply