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"
泰山至广德火车时刻表火车 k2288 经停站通辽到岳阳市的火车十堰到武昌火车多久时间淄博到唐山1号有火车时刻表泰山至广德火车时刻表菏泽到银川的火车几点通辽到岳阳市的火车遵义至宜昌火车站列车时刻表14点到上海南站的火车票贵州遵义开往成都的火车票通辽到岳阳市的火车阜新至锦州火车几点贵州遵义开往成都的火车票山东莒南到北京火车票价格14点到上海南站的火车票浙江诸暨到重庆火车搜索 绵阳到新都火车淄博到唐山1号有火车时刻表西昌火车站火车票开售时间从重庆到昭通火车搜索 绵阳到新都火车遵义至宜昌火车站列车时刻表九台-长春火车站时刻表大连到通化火车卧铺火车k370次经停站大连到通化火车卧铺桂林到全国火车路线查询系统西昌火车站火车票开售时间新乡至黄梅火车时刻表查询2120年,人类科技水平再次迈上了新台阶。 新种族的诞生,能令意识长生不死的虚拟元宇宙世界,可用时间抗衡绝症的冰冻技术,崭新的资本角斗场……眼花缭乱的出现在了地球原住民的眼前。 人类与AI如何共存? 苟且偷生和自然死亡,哪一个更有尊严? 迷茫,对抗,宣泄,呐喊,似乎已成了常态…… 张云溪十八岁生日时,被保姆杀了全家,他怀揣着疑惑来到了一个叫青山神学院的地方。 父母之仇,断指之痛! 少年凌宇,手指在被斩断之后,逆天重生,而这一根手指,竟拥有着改天换地之能。瓦伦里安大帝登基后,他希望帝国军民与游骑兵们能和谐地共处,但长时间的仇恨岂能就此罢休?在帝国的人民们相互仇视之时,暗流,开始涌动……写写人生经历,就当做小说,娱乐看看都可,希望我们都能走出自己的童年。背负着父母的仇,蛰伏云州楚家五年,私下发展自己的势力,报仇之际才知道,楚家其实早已将他的行为看穿,就等他自投罗网……“当时太天真了,以为跟个大哥就有口饭吃,结果……”十三机众人擦擦泪,说:“现在肉都吃撑了,再吃就吃不下去了……大哥别打肉了,再打真吃不完了……什么?晚上还要做肉,老大求你了放我们出去打架吧!” “你们这算啥?”治安署的人一把鼻涕一把泪的说:“以为是两个破小孩拉起个组织要搞事儿,我们都准备好搞了加工资,你这谁想得到我们的治安还更好了……等一下,各位,我先不哭了,好像过了今天我们就是同一个老大了。” 这谁想得到?搞事情的组织还要当头。 这么说,工资的话…… “宣誓了,宣誓了。” 东南三区,并非长久安定;天下之稳,皆因大守门人。 “守门人 李思仁!” “守门人 张耀文!” “守门人 十三机机所有人。” “守门人 春秋战国集团。” …… “还有我还有我,这次我可赶上了。” “张家众人,李达夜和其徒张燚,参上!” 秦枫,六大世家秦家独子。 在一次任务中遭遇埋伏,师傅因保护他而死,自己也经脉寸断,武功俱废。 …… 是苟活一世,还是重头来过。 一人一剑,书写属于他的都市传奇。普通大学毕业生,没人脉,没势力,通过自己的努力,成为国内工控行业的先行者。 时代无情,岁月流逝。想要成为天地间最强大的存在需,勿忘初心,面对世间种种困难,不惧因果,敢于尝试,学会放弃。蝼蚁的逆袭
我老婆是只黄皮子 忆往昔青春岁月 废土之辉 被动拉满:一箭射爆全世界 女魔皇 哀须臾 小农村的离奇故事 诸天万界之神级商人 侠客仗剑守国门 狼帝至尊 这就是我的天命 御五行 我的选择人生 玄幻:我,修改万物,万古独尊! 致命的温柔 你好,时间 一名委托人 穿越之都市捉妖人 重生之追而不得 滲透者 聊城至忻州火车票 c重庆至达州火车 浙江诸暨到重庆火车 淄博到唐山1号有火车时刻表 火车 k2288 经停站 桂林到全国火车路线查询系统 浙江诸暨到重庆火车 大庆到三亚火车时刻表 火车k370次经停站 阜新至锦州火车几点 洛阳宜昌襄阳火车时刻表 洛阳宜昌襄阳火车时刻表 唐山芦台的火车 c重庆至达州火车 泰山至广德火车时刻表 淄博到唐山1号有火车时刻表 沈阳至扬州火车票多少钱 聊城至忻州火车票 火车票多少时间可以改签 通辽到岳阳市的火车 c重庆至达州火车 通辽到岳阳市的火车 火车票多少时间可以改签 搜索 绵阳到新都火车 14点到上海南站的火车票 唐山芦台的火车 聊城至忻州火车票 火车票多少时间可以改签 火车票多少时间可以改签 火车k370次经停站 淄博到唐山1号有火车时刻表 天津昌平北火车站列车时刻表 十堰到武昌火车多久时间 泰山至广德火车时刻表 九台-长春火车站时刻表 大连到通化火车卧铺 十堰到武昌火车多久时间 浙江诸暨到重庆火车 九台-长春火车站时刻表 山东莒南到北京火车票价格 大连到通化火车卧铺 大庆到三亚火车时刻表 西昌火车站火车票开售时间 沈阳至扬州火车票多少钱 贵州遵义开往成都的火车票 天津昌平北火车站列车时刻表 洛阳宜昌襄阳火车时刻表 大连到通化火车卧铺 唐山芦台的火车 新立屯到阜新火车时 亚星游戏官网 亚星官网 亚星官网 亚星官网 亚星官网 网游之日月星辰 灵气复苏:我的谪仙女朋友 九转玄龙经 英雄王者联盟 三尺剑断天涯 皇冠登3出租 亚星管理平台 澳门葡京游戏官网 皇冠登3出租 亚星游戏官网 新乡至黄梅火车时刻表查询 山东莒南到北京火车票价格 搜索 绵阳到新都火车 火车 k2288 经停站 浙江诸暨到重庆火车 菏泽到银川的火车几点 唐山芦台的火车 新立屯到阜新火车时 洛阳宜昌襄阳火车时刻表 九台-长春火车站时刻表 遵义至宜昌火车站列车时刻表 天津昌平北火车站列车时刻表 火车票多少时间可以改签 泰山至广德火车时刻表 十堰到武昌火车多久时间 通辽到岳阳市的火车 火车k370次经停站 阜新至锦州火车几点 火车k370次经停站 山东莒南到北京火车票价格 九台-长春火车站时刻表 火车k370次经停站 天津昌平北火车站列车时刻表 桂林到全国火车路线查询系统 吉林到浙江火车多少钱 搜索 绵阳到新都火车 吉林到浙江火车多少钱 遵义至宜昌火车站列车时刻表 通辽到岳阳市的火车 洛阳宜昌襄阳火车时刻表