WordPress stores two addresses inside the database. These determine where your blog files are, and where the main index is. On a normal install, these addresses are the same.
There are two occasions where you will need to access the database to alter one or both of these settings:
BACKUP your database before you begin and store the backup off your site server, like on your hard drive.
Quick fix method
If you have access to the site via FTP, then this method will help you quickly get a site back up and running, if you changed those values incorrectly.
If there is no functions.php file in the theme: Create a new text file called "functions.php". Edit it with notepad, and add this text to it, using your own URL instead of example.com:
update_option('siteurl','http://example.com/blog');
update_option('home','http://example.com/blog');
Upload that to your theme directory, then proceed as stated above. Remove the file afterwards.
For more details and a few other methods, please follow the link to the official WordPress support site - WordPress Support
Combined with FASTdot's cPanel Web Hosting, WordPress is the perfect solution for your Blog Publishing needs.
| < Prev | Next > |
|---|