IT Hardwares

eg: UK or Brides UK or Classical Art or Buy Music or Spirituality
 
eg: UK or Brides UK or Classical Art or Buy Music or Spirituality
 
Business & Money
Technology
Women
Health
Education
Family
Travel
Cars
Entertainment
SD Editorials
Online Guide and article directory site.
Foodeditorials.com
Over 15,000 recipes & editorials on food.
Lyricadvisor.com
Get 100,000 Lyric & Albums.
  • Business & Money
    • A Guide to Business
    • Guide to Finance
    • Ideas for Marketing
    • Legal Guide
    • Guide to Insurance
    • Lettre De Motivation
    • Guide to the Stock Market
    • Human Resource Career
    • Sales Marketing
    • Forex & Trading
    • Advertising & Marketing
    • Startup Guide
  • Technology
    • Guide to Technology
    • Cell Phones
    • Computer Software
    • IT Hardwares
    • Internet
    • Online Security
    • Cameras
    • Search Engine Optimization
    • Science & Technology
  • Women
    • Guide to Women
    • Relationship Advice
    • Marriage
    • Jewelry
    • Pregnancy
    • Fashion Style
    • Divorce Guide
    • Wedding Guide
    • Dating Guide
    • Natural Beauty
  • Health
    • Guide to Health
    • Guide to Medical
    • Plastic Surgery
    • Weight Loss
    • Sports
    • Body Wellness
    • Cancer Treatment
    • Common Illness
    • Health & Lifestyle
  • Education
    • Military Service
    • Politics and Policy
    • Arts & Humanities
    • Education and Teaching
    • Learn Languages
    • Colleges & Universities
  • Family
    • Quality Home Improvement
    • Hobbies and Interests
    • Family Guide to
    • Pet Guide
    • Loans Guide
    • Credit Cards
    • Gardening Guide
    • Home Security
    • Real Estate
    • Home Decor
    • Gift & Present
  • Travel
    • The Travel Guide
    • Adventure Travel
    • Cruise Ships
    • Beach Holiday
    • Travel Accommodation
    • Holiday Destinations
  • Cars
    • Information on Cars
    • Traffic Violations
    • Auto Insurance
    • Trailers
    • Sport Cars
    • The Bikes
  • Entertainment
    • Entertainment Guide
    • World Music
    • Photo & Video
    • Television & Games

When Wordpress Permalinks 404

    View: 
The 404/Not Found error message is one of the most hated screens on the Internet; it indicates that though you, the browser, were able to communicate with the server, the page you need was not delivered either because it was not found or because the server for some reason was configured to not fulfill the request (which is happening in some countries with pages containing illegal content).



The page you actually see is not generated by your computer; instead, it is a special page on the server you've tried to contact. Many web sites create their own special 404 pages either for artistic reasons, or because the site owner wants to put specific data, like contact or redirect information, on the page. In Apache, having your own special 404 page is as simple as modifying the .htaccess file. (The only caveat: the page must be larger than 512 bytes or IE will not display it.)

In most cases, the 404 error comes up when a page has been moved or deleted from a site. However, in the case of WordPress, an annoying bug can cause permalinks to point to the 404 page instead of the page you want to have it bring up.

How Do WordPress Permalinks Work?

Permalinks are permanent URLs generated to point to your individual weblog posts, categories, and weblog lists. Other bloggers will use a permalink to point to your post from their own articles, or you can send links to other people via a permalink. When they are linked to an individual post, the URL is supposed to be permanent, not dynamic (changing).

The three types of permalinks WordPress delivers are the Default (aka "Ugly") form, mod rewrite ("Pretty"), and PATHINFO ("Almost Pretty").

Default links are formatted according to the default settings of a new WordPress install, and will work on all server environments. It looks like this: , N being a number. It is neither neat nor elegant, but it does the job. Pretty mod rewrite links look more like this: . These permalinks require Apache's mod_rewrite module, and won't work on other server types. PATHINFO permalinks look like this: , and will work on other server types besides Apache.

Because you're going from a dynamic to a fixed environment with your permalinks, a variety of things can go wrong with them. For instance, if your server includes Frontpage Extensions, permalinks will not function at all without doing a manual fix. Without this fix, any changes to the permalinks section from the WordPress admin interface will corrupt the Frontpage server extensions because it interferes with the .htaccess file.

Long permalinks can get chopped off as well, with only part of it working properly or with the entire link disabled. This will cause a 404 error to be generated – but not because there's something wrong with your permalink, rather because the title is too long. You can fix it by editing your .htaccess file to add a line:

RewriteRule ^post/([0-9]+)?/?([0-9]+)?/?$ /index.php'p=$1&page=$2 [QSA]

You can also make a habit of posting URLs with angle brackets () on either end. Most email and other problematic software won't truncate URLs formatted this way.

Permalink Structure in WordPress

When your links don't work, it's often because you didn't update your Permalink structure. Every time you add a new static page to your WordPress files, you must generate and update new rules to the .htaccess (which in newer versions is taken care of through the admin control area). If you don't get a page returned at all, even a 404, and you use PHP 4.4 or 5 with Apache 2, you should look that up in the PHP bugs and issues pages. This is a specific known bug.

When you're creating permalinks, another strange thing can happen: your WordPress blog must start the process of creating a permalink before it knows whether or not the page you're creating one for actually exists. If it doesn't, too late – your link is already pointing at a 404 page. To repair this, you need to include a 404 direction in the header of your .htaccess file so that your rewrite conditions allow for a not-found error, and simply eliminate that page from your permalinks task. Try adding the following line above the WordPress rewrite rules, outside of #BEGIN Wordpress[...]#END Wordpress. Some plugins will overwrite this part if you edit the permalinks structure if it's in the wrong place.

ErrorDocument 404/index.php?error=404?

Another solution is to use this following:

ErrorDocument 404/foo/index.php?error=404

foo = the directory you are using as a blog. The structure should be like this:

/foo/%category%/%postname%/

If you call a nonexistent directory, however, you're still going to get that 404 permalink.

You can automate your permalinks tasks with several plugins, though. The Ultimate Tag Warrior (UTW) has gotten some good reviews, especially for search-engine sensitive pages. Google Sitemaps is a good plugin as well.

One more thing: if you use the xampp setup, your WordPress permalinks won't work at all in the default installation..

The ultimate solution is actually to install WordPress 2.0.2; this new version has repaired the permalinks problem as well as a number of other problems.

Always double-check all your pages before you start working with permalinks, and after you've permalinked them. In some cases, you may have to delete all the permalinks and start over, but in most cases just taking a look at what you're telling your server to do will prevent you from making a lot of stupid mistakes.
More Articles from
Computer Hardware Guide Pg573
Bible Software For Windows
Colour Laser Multifunction Printer
Difference Between Bandwidth And Throughput
Difference Between Computer Science And Computer Engineering
Difference Between Ddr2 And Ddr3
Difference Between Laptop And Desktop
Difference Between Mp3 And Mp4
Difference Between Virus And Spyware
Difference Between Wifi And Wireless
Difference Between Wired And Wireless
Different Types Of Cables
Different Types Of Cell Phones
Different Types Of Computer Viruses
Different Types Of Keyboards
Hp Photosmart Printer Series
Ink Cartridges Brother Printer
Streamlight Stylus Pro Penlight
Website Building For Dummies
Wholesale Web Site Traffic
Difference Between OEM, Compatible and Remanufactured Cartridges
» More on
Computer Hardware Guide
  • Related Articles
  • Author
  • Most Popular
Danny Wirken has sinced written about articles on various topics from Computers and The Internet, Vacation and E Books. . Danny Wirken's top article generates over 1220000 views. to your Favourites.
And Water For Weight Loss
Nothing is more important to your health than drinking enough water, so give it a shot and start drinking more to help you achieve weight loss the natural way and put you on the right tract to a heal...
 
A Guide to Business | Guide to Technology | Guide to Women | Guide to Health | Family Guide to | Travel & Vacations | Information on Cars

EditorialToday IT Hardwares has 2 sub sections. Such as Computer Guide and Hardware. With over 20,000 authors and writers, we are a well known online resource and editorial services site in United Kingdom, Canada & America . Here, we cover all the major topics from self help guide to A Guide to Business, Guide to Finance, Ideas for Marketing, Legal Guide, Lettre De Motivation, Guide to Insurance, Guide to Health, Guide to Medical, Military Service, Guide to Women, Pet Guide, Politics and Policy , Guide to Technology, The Travel Guide, Information on Cars, Entertainment Guide, Family Guide to, Hobbies and Interests, Quality Home Improvement, Arts & Humanities and many more.
About Editorial Today | Contact Us | Terms of Use | Submit an Article | Our Authors