Total Pageviews

Monday, September 5, 2011

DFC custom notes: developing on a subdirectory, hosting on a root

I recently added files to the root of a host site that helps to direct my root web address to the subdirectory folder where I developed it. This is an easy process and takes about a half hour to do.

Visit the Wordpress codex and you'll find this advice. For my own transfer I started at step 7 of this instructional page:

http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory

Then I came back and followed the advice of Wordpress guru Chris Coyier, from his nifty
book Digging Into Wordpress:(he is using "blackmothsuperrainbow" as his subdirectory, cuz he's
awesome, so substitute "wordpress" for "blackmothsuperrainbow" in the
below)

"You’ll now have to log in at
http://mydomain.com/blackmothsuperrainbow/wp-admin/, but WordPress
will be in control of the root just as if that were its actual
location. Once you have installed WordPress and logged in to the Admin
area, go to Settings > General and ensure that the settings for your
WordPress address (URL) points to
http://mydomain.com/blackmothsuperrainbow/ and Blog address (URL)
points to http://mydomain.com/. "

Now visit your site--- and Wordpress is neatly tucked away.  Check all of your links as certain plugins can cause make this switch over read a few links in a different way ( I'm not sure why). When I changed my website I had to update two links. Other than that the switch was a breeze!

No comments:

Post a Comment