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"
兰州火吧9号电话昆明省工疗养院电话权金城洗浴金沙店电话吉林市电力宾馆电话深圳圣原养生代理电话济阳移动开元大街电话随州华莱士电话权金城洗浴金沙店电话青海西宁南山公园电话号码杭州庆春新华书店电话乐平萨米特瓷砖电话兰州火吧9号电话香港接电话多少钱东莞到义乌客车电话权金城洗浴金沙店电话杭州庆春新华书店电话咸阳南站汽车电话号码高唐到北京大客电话高唐到北京大客电话工农兵电话宜昌沙头吉旅酒店电话高唐到北京大客电话青海西宁南山公园电话号码孝义到离石司机电话深圳圣原养生代理电话咸阳机场查机票客服电话吉林市电力宾馆电话孝义到离石司机电话工农兵电话宜昌香港接电话多少钱 社畜赵良阳刚通宵加完班就被某神秘大佬盯上召唤进了异世界。别人都是穿越到人的身体里成为主角拯救世界,而我只能魂穿到一杆枪上打打辅助。被迫在这个世界里跟着主角走上复仇之路。 主线全靠躺。 陆哥你进来,刚刚外面人多,我在这里给你跪下了一个人被打造成武器,又不断变成人的故事 在90年代初期,年轻的特种兵唐枫接到一次特殊的任务.....来到青城市,在这里邂逅纯真的爱情,真挚的友情,凭借他过人的睿智上演了一场酣畅淋漓的铁血柔情!人类是从来不会吸取教训的动物,数万年的演化改变不了动物最原始的本性,这崭新的文明纷争不断,流浪的人类举起手中的武器,两个不同的宿命被交织,战争却遥遥无期,无尽的死亡带来无尽的绝望。人们越发怀疑这一切的痛苦,遥远的星系照耀祖先的光芒,来自远古的力量会带领人类开启下一个新纪元么?妖魔乱世,鬼怪猖獗,大离皇朝动荡不安。 张韬一觉醒来,发现自己成为一名命不保夕的捉妖人。 妖魔图鉴,万物可辨。 凡是入手经过的妖魔鬼怪,都是不可多得的财富! 张韬惊喜发现,他竟然可以通过点亮妖魔图鉴,获取各种奖励... 阴冥之眼,九幽之瞳,换头术,赤霄真经,御神宝决,浮屠魔塔,九碑妖石,法相天地,长生不灭......寻天界,原是一个妖魔当世人族将灭之地,然而一个自称天帝的域外人族强者的到来彻底改变了这一局面,天帝驱逐强大妖魔,镇压妖魔君主为人族打下强盛万世之根基。 而寻天界的强者修炼一生最大的目标只为追寻天帝的踪迹。出身社会底层的少年应该拥有怎样的人生?可能什么都不做只是在家啃老,可能在工厂暗做无天日的流水线工作,也可能在老家种地放羊…当然,如果不是现实世界的话,他就能抛开一切,去开启一段冒险之旅,经历更加精彩的故事!穿越到修仙界以后,苏淮身负神级灵脉,本想从此加入宗门扬名立万,却没想到触发了摆烂系统,只要隐藏灵脉签到就能不断获得奖励。 所有修士究其一生都难以获得的高阶功法和灵物,苏淮只需摆烂不去修行就能直接获得。 签到给奖励,相爱三年的妻子也温柔大方,隐居在小城里无欲无求,苏淮对这样的生活很满意。 直到某一天,人族遭遇空前灾难,苏淮被人族诸位巨擘恳求出世,他独自端坐在皇朝中州大地,太上剑宗的飞升仙台之上,却发现自家那贤淑温婉的妻子正率十万妖军朝自己这里疾驰而来。 “娘子,你原是妖族女皇?” “夫君,你竟是人族准圣?”我爷爷给我定了一个娃娃亲,就在结婚当天我才发现,我的老婆原来不是人!不爱写个人简介
全能者之双生者 界碑,狸奴眼 陨仙魔尊 余音绕娘 教主,节操何在 新书草稿大集锦 网游:系统送我神秘技能! 风入松歌 僵尸始皇帝 逍遥怪道 重生之超能力者的复仇 我被关在地牢 侠客诗 疯狂直播 真武三国 昌南玖事 从鬼灭开始穿越世界 灾变日记 娘胎:开局觉醒幽冥魔体,女帝护道! 天神下凡在都市 郑州一厂麻辣猪蹄电话 外地车进京电话咨询 咸阳南站汽车电话号码 高唐到北京大客电话 郑州一厂麻辣猪蹄电话 大理神州租车的电话号码 兴城板车联系电话 首都国际机场宾馆电话 咸阳机场查机票客服电话 香港接电话多少钱 青海西宁南山公园电话号码 自由港量贩式ktv电话 恒山一部饭店电话 杭州庆春新华书店电话 济阳移动开元大街电话 深圳圣原养生代理电话 兴城板车联系电话 咸阳机场查机票客服电话 沙头吉旅酒店电话 兰州火吧9号电话 外地车进京电话咨询 权金城洗浴金沙店电话 昆明省工疗养院电话 东莞到义乌客车电话 杭州庆春新华书店电话 恒山一部饭店电话 咸阳机场查机票客服电话 昆明省工疗养院电话 沙头吉旅酒店电话 咸阳机场查机票客服电话 深圳圣原养生代理电话 外地车进京电话咨询 金华湖溪公交车站电话 兰州火吧9号电话 孝义到离石司机电话 深圳圣原养生代理电话 金华湖溪公交车站电话 咸阳南站汽车电话号码 恒山一部饭店电话 权金城洗浴金沙店电话 吉林市电力宾馆电话 葫芦岛森林中介电话 天马汇农家小院电话 自由港量贩式ktv电话 东莞到义乌客车电话 外地车进京电话咨询 自由港量贩式ktv电话 吉林市电力宾馆电话 工农兵电话宜昌 随州华莱士电话 亚星官网 亚星游戏官网 亚星游戏官网 亚星官网 亚星官网 无量仙宫 全民领主:我能看见武将进化路线 综武:开局黑了小昭当店小二 巅峰的惆怅 不正经的魔导师 欧博官网 亚星游戏官网 亚星官网 欧博官网 澳门葡京游戏官网 工农兵电话宜昌 首都国际机场宾馆电话 石狮绿岛订房电话 昆明省工疗养院电话 沙头吉旅酒店电话 香港接电话多少钱 权金城洗浴金沙店电话 高唐到北京大客电话 甲子汽车站电话 咸阳南站汽车电话号码 甲子汽车站电话 工农兵电话宜昌 随州华莱士电话 青海西宁南山公园电话号码 孝义到离石司机电话 首都国际机场宾馆电话 乐平萨米特瓷砖电话 沙头吉旅酒店电话 济阳移动开元大街电话 兰州火吧9号电话 济阳移动开元大街电话 昆明省工疗养院电话 杭州庆春新华书店电话 甲子汽车站电话 兰州火吧9号电话 咸阳机场查机票客服电话 昆明省工疗养院电话 高唐到北京大客电话 咸阳机场查机票客服电话 恒山一部饭店电话