ERROR 404 - PAGE NOT FOUND

Why am I seeing this page?

404 means the file is not found. If you have already uploaded the file then the name may be misspelled or it is in a different folder.

Other Possible Causes

You may get a 404 error for images because you have Hot Link Protection turned on and the domain is not on the list of authorized domains.

If you go to your temporary url (http://ip/~username/) and get this error, there maybe a problem with the rule set stored in an .htaccess file. You can try renaming that file to .htaccess-backup and refreshing the site to see if that resolves the issue.

It is also possible that you have inadvertently deleted your document root or the your account may need to be recreated. Either way, please contact HostGator immediately via phone or live chat so we can diagnose the problem.

Are you using WordPress? See the Section on 404 errors after clicking a link in WordPress.

How to find the correct spelling and folder

Missing or Broken Files

When you get a 404 error be sure to check the URL that you are attempting to use in your browser.This tells the server what resource it should attempt to request.

http://example.com/example/Example/help.html

In this example the file must be in public_html/example/Example/

Notice that the CaSe is important in this example. On platforms that enforce case-sensitivity example and Example are not the same locations.

For addon domains, the file must be in public_html/addondomain.com/example/Example/ and the names are case-sensitive.

Broken Image

When you have a missing image on your site you may see a box on your page with with a red X where the image is missing. Right click on the X and choose Properties. The properties will tell you the path and file name that cannot be found.

This varies by browser, if you do not see a box on your page with a red X try right clicking on the page, then select View Page Info, and goto the Media Tab.

http://example.com/images/banner.PNG

In this example the image file must be in public_html/images/

Notice that the CaSe is important in this example. On platforms that enforce case-sensitivity PNG and png are not the same locations.

404 Errors After Clicking WordPress Links

When working with WordPress, 404 Page Not Found errors can often occur when a new theme has been activated or when the rewrite rules in the .htaccess file have been altered.

When you encounter a 404 error in WordPress, you have two options for correcting it.

Option 1: Correct the Permalinks

  1. Log in to WordPress.
  2. From the left-hand navigation menu in WordPress, click Settings > Permalinks (Note the current setting. If you are using a custom structure, copy or save the custom structure somewhere.)
  3. Select  Default.
  4. Click Save Settings.
  5. Change the settings back to the previous configuration (before you selected Default). Put the custom structure back if you had one.
  6. Click Save Settings.

This will reset the permalinks and fix the issue in many cases. If this doesn't work, you may need to edit your .htaccess file directly.

Option 2: Modify the .htaccess File

Add the following snippet of code to the top of your .htaccess file:

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# End WordPress

If your blog is showing the wrong domain name in links, redirecting to another site, or is missing images and style, these are all usually related to the same problem: you have the wrong domain name configured in your WordPress blog.

How to modify your .htaccess file

The .htaccess file contains directives (instructions) that tell the server how to behave in certain scenarios and directly affect how your website functions.

Redirects and rewriting URLs are two very common directives found in a .htaccess file, and many scripts such as WordPress, Drupal, Joomla and Magento add directives to the .htaccess so those scripts can function.

It is possible that you may need to edit the .htaccess file at some point, for various reasons.This section covers how to edit the file in cPanel, but not what may need to be changed.(You may need to consult other articles and resources for that information.)

There are Many Ways to Edit a .htaccess File

  • Edit the file on your computer and upload it to the server via FTP
  • Use an FTP program's Edit Mode
  • Use SSH and a text editor
  • Use the File Manager in cPanel

The easiest way to edit a .htaccess file for most people is through the File Manager in cPanel.

How to Edit .htaccess files in cPanel's File Manager

Before you do anything, it is suggested that you backup your website so that you can revert back to a previous version if something goes wrong.

Open the File Manager

  1. Log into cPanel.
  2. In the Files section, click on the File Manager icon.
  3. Check the box for Document Root for and select the domain name you wish to access from the drop-down menu.
  4. Make sure Show Hidden Files (dotfiles)" is checked.
  5. Click Go. The File Manager will open in a new tab or window.
  6. Look for the .htaccess file in the list of files. You may need to scroll to find it.

To Edit the .htaccess File

  1. Right click on the .htaccess file and click Code Edit from the menu. Alternatively, you can click on the icon for the .htaccess file and then click on the Code Editor icon at the top of the page.
  2. A dialogue box may appear asking you about encoding. Just click Edit to continue. The editor will open in a new window.
  3. Edit the file as needed.
  4. Click Save Changes in the upper right hand corner when done. The changes will be saved.
  5. Test your website to make sure your changes were successfully saved. If not, correct the error or revert back to the previous version until your site works again.
  6. Once complete, you can click Close to close the File Manager window.
This site is hosted by HostGator!
Build your website today and get 20% off! Coupon code: "OFFER404"
三仙山天气漆树天气三仙山天气上?天气蛇幡岛天气三伏天气旋南?_天气、三溪桥天气皮营天气孟定的天气洛舍镇天气三仙山天气寞高窟天气石林县天气三溪桥天气孟定的天气南普陀天气神木市天气神木市天气仁和坪天气莆江天气神木市天气皮营天气确山天气预蛇幡岛天气青诲湖天气上?天气确山天气预仁和坪天气寞高窟天气惨遭盟友背叛身死,重生后记忆全无,父亲不是父亲,母亲不是母亲,一切的秘密,都将会有解开的一天;所有的仇敌,都会被屠戮灭杀。被极东王国学院院长,捡回抚养长大的陈仒。没有能力而被抛弃,成为图书馆里员。 在平凡的度过四年后,一个小偷闯入图书馆把他杀害。本应已死的他,却诡异复活。 在被人一系列的设计后,卷入王国的权力斗争,以及和邻国的冲突之中。 期间失去了最近亲之人,同时卷入了更大的漩涡之中獬豸不想理你,并向你丢了一个奥利给单亲家庭的沈飞在父亲离奇失踪多年后,准备以父亲在他儿时讲述的《光明战士》的故事为素材,创作一部新的动漫,在与主管苏洁商量如何修缮人物形象的时候,突然天降惊雷,沈飞和苏洁被吸入进了二次元的世界,蛋生在了一个叫马来西的王国并被赐名“洛克”,在遍布黑暗的二次元世界里,他结识了很多伙伴,收获了很多在现实生活中还没有体验过的人情冷暖,开启了一段奇妙的二次元之旅,旅途中沈飞(洛克)意外地发现了父亲的蛛丝马迹,这让他感到意外地喜悦,十几年了终于有了父亲的下落,沈飞(洛克)按图索骥开始了寻父之旅……青春是诗,青春是歌,青春是时代的召唤,青春是岁月的激扬,青春更是历史的留声……那么在有限的青春里,我们青年人应该怎么度过,才能让青春更加绚丽多彩? 一个维和特种兵流落荒岛的生死传奇……五冥六绝,吾以极“恶”之身,开启众灵之门!陆逸尘一觉醒来竟然重返90年代,并且获得大医无双签到系统。 重生带系统,开倆挂? 老天爷这么眷顾陆逸尘,陆逸尘自然也不能辜负老天爷。 全省首例肛门再造成形术。 全国首例双肺移植术。 全球首例心脏离体式、内镜下骶骨肿瘤切除术。 …… 一系列全球首例手术做下来,陆逸尘突然发现自己停不下来了,看着在场若干全球闻名的医疗专家,陆逸尘很无奈的叹口气,一群小垃圾,唉,无敌是多么的寂寞。 说实话陆逸尘对钱真没什么兴趣,只是重生了,不当个全球首富玩玩,实在是对不起重生者这个身份。 这个风起云涌的大时代,陆逸尘来了! 当捣蛋鬼横行漫威世界,初灯照耀创世的曙光,当盲目与痴愚之神的混沌包裹整个漫威世界之时,哪些曾经的超级英雄是否还能像电影里一样拯救世界?这是一个有关来自异界的旅客在漫威搞事情的故事穿越洪荒,成为帝俊和东皇太一长兄。 深知后世巫妖量阶走向的道尘,当即决定带着两个小老弟,闭关太阳星,打死不踏出一步。 自此洪荒天机发生变化,妖族无主,巫族一家独大。 圣人一个脑袋两个大。 鸿钧:你出关,圣位灵宝随你挑。 洪荒大妖:求求你出关吧,巫族太凶了。 系统:宿主求求你出关吧,三清和十二祖巫,人头打出狗脑子了。 道尘:不存在的,等我再闭个十个八个元会再说。
流浪的打工者 太古第一神王 潜龙神医 仙帝途 我家超市通两界 绝地求生之夺冠之路 穿越异界,我乃天命主角! 日破苍穹 西游之星星的时空修炼 剩男穿越成了小地主 破损乐园 大明风云之锦衣镇山河 修仙,我有系统 请,停止进化 再去西游 灵魂潮汐 修仙需要靠创业 诡姐讲诡故事 我当天师那几年 爆笑Z班 秦皇套天气 马蹄沟天气 南普陀天气 神木市天气 秦皇套天气 青阳天气网 南新疆天气 沔渡镇天气 青诲湖天气 寞高窟天气 皮营天气 平铺镇天气 任店天气 马蹄沟天气 三伏天气旋 蛇幡岛天气 南新疆天气 青诲湖天气 莆江天气 三仙山天气 马蹄沟天气 三溪桥天气 漆树天气 石林县天气 孟定的天气 任店天气 青诲湖天气 漆树天气 莆江天气 青诲湖天气 蛇幡岛天气 马蹄沟天气 杉洋天气 三伏天气旋 确山天气预 蛇幡岛天气 杉洋天气 南普陀天气 任店天气 三溪桥天气 上?天气 蒙城天气预 瑞金天气预 平铺镇天气 石林县天气 马蹄沟天气 平铺镇天气 上?天气 任店天气 南?_天气、 亚星官网 亚星官网 亚星官网 亚星官网 亚星游戏官网 一道灭天妒 纷扰如迷雾,逍遥且徐行 诛神天界 替身成神 惊鸿轮回 AG真人 欧博官网 亚星管理平台 AG真人 百家乐官网 洛舍镇天气 南新疆天气 莆由天气 平铺镇天气 沔渡镇天气 瑞金天气预 杉洋天气 皮营天气 寞高窟天气 沔渡镇天气 青阳天气网 寞高窟天气 南普陀天气 秦皇套天气 南普陀天气 神木市天气 平铺镇天气 任店天气 三伏天气旋 瑞金天气预 莆江天气 马蹄沟天气 莆江天气 三伏天气旋 秦皇套天气 漆树天气 蛇幡岛天气 秦皇套天气 确山天气预 上?天气