What’s The WordPress Blog And Address Fields For?

If you have a WordPress blog or web site, when you go to Settings > General in your admin panel, you’ll see two fields. The WordPress Address and the Blog Address. Ever wonder what they are for and why have two fields pointing to the same place?

I love changing these two fields around. Here’s how. The WordPress script has many files and folders. Maybe you’re the type who likes to keep things all neatly organized in the back end of your web site. Sure, nobody sees it except you when you view your site via FTP but still, you can’t stand all the different files and folders all over the place. Using the WordPress Blog field, you can install WordPress in a folder and have the blog ‘appear’ somewhere else.

For example, you install WordPress here

http://yoursite.com/wp – in the ‘wp’ folder.

But when people visit your site, the blog shows up here

http://yoursite.com

How neat is that?
Blog Address

All you need to do is, change the Blog Address field to http://yoursite.com instead of http://yoursite.com/wp and save your settings. There’s one more step. You copy the index.php from the original WordPress installation into public_html.

Then open up index.php and edit this line to point to the right place.

require('./wp-blog-header.php');

If you install WordPress in the /wp folder and want your site on http://yoursite.com, then edit that line to this.

require('wp/wp-blog-header.php');

Do You Want A Hands-Free Business?

Then get this guide to help you systemize your business so you'll have more time working on your business.

!
!

Hey! I want to make sure you know what you're getting here. In addition to the guide, you will also receive our memo that includes special offers, announcements and of course actionable information.

Terms and Conditions checkbox is required.
Something went wrong. Please check your entries and try again.
Facebook Comments