-
▼
2012
(336)
-
▼
June
(26)
- How to Remove Google Analytics Code From a WordPre...
- How to Add a Blogroll in WordPress
- How to Change Order of a Wordpress Header Menu
- How to Change WordPress Media Directories
- How to Use WordPress Tags in Clouds
- How to Wipe My Database of WordPress
- How to Monitor the Health of a WordPress Database
- How to Move a Calculator From PHP to WordPress
- How to Create an Anchor Link in WordPress
- How to Allow Others to Post to a WordPress Blog
- How to Change a WordPress Banner
- How to Integrate a Forum in WordPress
- How to Restore a WordPress Backup
- How to Change My WordPress Theme From My GoDaddy A...
- How to Make Your WordPress Site on an iPad
- How to Remove the 'Leave a Comment' Function on My...
- How to Widgetize the WordPress Body
- How to Move the WordPress Index.php From a Subdire...
- How to List Posts That Are Pending Review in WordP...
- How to Make a Three
- How to Remove and Reinstall WordPress
- How to List Story Tags in WordPress
- How to Change Text Color on the WordPress Blueberr...
- How to Reset Your Password for WordPress in MySQL
- How to Delete Home From WordPress
- How to Download E
-
▼
June
(26)
adsense
How to Move the WordPress Index.php From a Subdirectory
1. Open your File Transfer Protocol program and connect to the server that hosts your website by typing your username, password and server address. You can contact your host if you do not know this information. Alternatively, you can log into your browser-based file manager to access your files.
2. Navigate to the folder that contains your WordPress installation and the 'index.php.' Right click and select the option to download the file to your computer (via FTP). Make note of the file's location.
3. Open the file in a code editor, such as Notepad and locate the following line of code:require('./wp-blog-header.php');Change the location of the WP blog header to indicate which directory contains the file. For example, if your installation is in a 'wordpress' folder, this line would become:require('./wordpress/wp-blog-header.php');
4. Save your index file and upload it to the new location, outside of the directory. For example, you may upload it to the root of your website instead of the 'wordpress' folder. You can double click it from the 'Local' pane in your FTP program or click and drag it from an open folder on your computer into the server pane of your FTP client.
5. Log into your WordPress dashboard in your Web browser and click 'General' from the settings section in the navigation to open your settings. Change the 'WordPress address (URL)' entry to the location of your WordPress installation. For instance, it may be 'http://yourwebsite.com/wordpress' where 'http://yourwebsite.com' is your actual website address. Change the 'Site Address' to the location of your index file/website. This is now your website's address. Click 'Save Changes' on the bottom of the page.
4:42 AM | Filed Under | 0 Comments
Comments
Popular Posts
-
1. Log in to your Weebly account. 2. Click 'Theme Editor.' 3. Click on the 'Design' tab. 4. Select 'Edit CSS/HTM...
-
1. Sign up for a publisher account at Bidvertiser. Submit basic contact information and confirm your email address to get started. 2. Lo...
-
1. Log in to your WordPress dashboard. 2. Open the 'Appearance' section on the left side of the WordPress dashboard and then cli...
-
1. Open your WordPress Dashboard in your preferred browser. It is accessed at the '/wp-admin' location of your site. For example, ...
-
Facebook Widget 1. Create a Facebook fan page for your blog, if you don't already have one. You will have to manually share content wi...
-
1. Download and install the WordPress for BlackBerry app via BlackBerry App World. Download the version that corresponds with your BlackBe...
-
1. Go to your WordPress blog's administrative control panel. 2. Click the 'Settings' button on the left-side navigation menu...
-
1. Click the 'Add Contact' button on the 'Add New Post' page. This opens the 'Add a Contact Form' page. 2. Click...
-
1. Register an account with Amazon Web Services Cloud. If you have an existing Amazon account, enter your email address in the appropriate...
-
1. Log into your WordPress.com account using your user name and password. 2. Hover your cursor over the 'My Blogs' tab at the to...
Post a Comment