Welcome to WPDownload.com --Little Idea for Your WordPress--. I’ve been running WordPress blogs for a long time, and I haven’t run into many major issues over the years. This fact speaks to the hard work that faceless coding volunteers do to make WordPress as solid a product as it is. Still, you should know some things to check in the unlikely event that you run into an issue. You can also save yourself a heaping helping of grief by doing some small things to make sure that your copy of WordPress stays a lean, mean blogging machine. Download WordPress Here

wordpress_logo

7 Easy Ways to Separate Wordpress and Content Files

Separating WordPress and content files is easy. Just follow these sevent steps:

  1. Create a new directory to hold the WordPress files. For this exercise, create a directory called wordpress. Next, because you’re moving the entire WordPress application, you need to make sure that WordPress knows where all its fi les are before you move them.
  2. On the General Settings page, change the WordPress Address (URL) option to refl ect the future home of your WordPress installation.
  3. Click Save Changes. You’ll get an error message. Don’t worry about it.
  4. Move all your WordPress fi les to your new wordpress directory, but leave the index.php file in the root directory
  5. Open the index.php file in your favorite text editor and look for the following section: require(‘./wp-blog-header.php’); This bit of code tells the index file where your WordPress files live, and because you just moved them, the code is pointing to the wrong place. (By default, this file assumes that all the WordPress files are in the same directory where it resides.)
  6. Add the name of the new directory to the code in Step 5, using this format: require(‘./directory/wp-blog-header.php’);For this exercise, you moved the fi les to a directory called wordpress, so change the code to this: require(‘./wordpress/wp-blog-header.php’);
  7. Save the file. Everything works exactly as it did before, but your fi les are better organized, as a glance at the General Settings page shows.

Leave a Reply