-
▼
2013
(302)
-
▼
July
(27)
- How to Install Mega Menu in WordPress
- How to Upload Camtasia to WordPress
- How to Login to WordPress.com
- How to Insert an Image Caption URL on WordPress
- How to Create Feedburner Email Box in WordPress
- How to Change the Title of an RSS Feed in WordPress
- How to Make Your Own Wordpress Blog
- How to Change the Post Order in WordPress
- How to Embed an Image in a Default Theme of a Word...
- How to Install Wordpress on Your GoDaddy Hosting A...
- How to Put a Song in a WordPress Blog Post
- How to Create a Folder on the Root Folder of a Wor...
- How to Install WordPress Outside Document Root
- How to Fix a WordPress Database Without Plugins
- How to Add PDF Forms to a WordPress Site
- How to Use PHP Includes in WordPress Posts
- How to Change a Title Subtitle in WordPress
- How to Add a Copyright to Your Wordpress Blog
- How to Increase an Indent in HTML on WordPress
- How to Edit Header Height in WordPress
- How to Increase My Download Size for WordPress
- How to Add a Scrollbar Section to My WordPress Blog
- How to Add a 404 to a Wordpress Template
- How to Add Widgets to Wordpress
- How to Change Old WordPress Tags
- How to Add Links to a WordPress Blog
- How to Install WordPress in Its Own Directory in W...
-
▼
July
(27)
adsense
How to Add a 404 to a Wordpress Template
1. Open a new document in your code editing software. It needs to be totally blank, so remove any added code if you are using software such as Dreamweaver. Notepad will work for code editing, too.
2. Enter the following code in your blank document:
Error 404 - Page Not Found.
3. Save the document as '404.php' and upload it to your WordPress template directory with your FTP client software. It will be located at YourWordPressInstallation/wp-content/themes/YourTheme/.
4. Download your .htaccess file from the server using your FTP client software and open it in Notepad. It will be in your root directory.
5. Add the following line to the .htaccess file, if it is not already there:ErrorDocument 404 /index.php?error=404If your WordPress installation is in a sub-directory, you will need to add this line instead:ErrorDocument 404 /YourSubDirectory/index.php?error=404Save your .htaccess and upload it to your root directory.
6. Check to see that your 404 error page is working by entering a URL you know does not exist, such as http://YourSite.com/blahblahblah/.
1:26 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