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"
南京汽车到榕江蓬莱汽车站 东站苏州汽车北站到阳澄湖重庆北站怎么坐汽车?南召到许昌的汽车南京汽车到榕江邯郸汽车到唐山几点关门苏州汽车北站到阳澄湖蓬莱汽车官方网站售票通州汽车站在哪里北京东站到汽车站苏州汽车北站到阳澄湖路桥到内江汽车时刻表查询北京东站到汽车站赵公口汽车站到永定门通州汽车站在哪里临海到阜阳汽车票:青岛黄岛到肥城的汽车时刻表南召到许昌的汽车定边至成都汽车站湘潭到凤凰的汽车票价多少公里青岛黄岛到肥城的汽车时刻表蓬莱汽车官方网站售票蓬莱汽车违章处理龙游到杭州汽车多久武汉到深圳长途汽车龙游到杭州汽车多久河间到保定汽车电话是多少钱定边至成都汽车站临沂到嘉兴汽车混沌与我的关系到底是什么?那个人说的话意思是什么?混沌为什么在我的体内?我的父母是谁,又去哪里了?混沌的朋友为什么会背叛它?这一切到底是怎样的? 从失败者的角度看世界!因为太失败,才无所事事,才有更多无聊的时间……! 聊聊,关于失败的那些人,那些事!!!!!!!!大脑中的意识瞬间被灌入的海水淹没 “卧底三年就这样结束了吗?”萧子昂不甘、后悔、愤怒的情感充斥全身………… 前朝太子?孤独两世?也好,既然重生在这乱世,那就为自己活一次。繁华盛地与乱战兼并并存,妖兽人魔具在。权势、钱财不如所爱之人一颦一笑,我在,即为惊鸿人间宴。上古圣战,天现裂象,神州大地分崩离析,无数碎片散落宇宙化作万千小世界。 数百万年后,一名渔村少年意外踏上修仙路,是机缘巧合还是命运使然? 在这个神魔并立,人妖共存的世界,且看他如何一路披荆斩棘,步步飞升。重生在了天道即将崩溃,鸿钧三清远走寻到,天地王母受援以进,现代科技飞速发展,对于修行却是半开放的世界,江屹煊被选为了复苏天道的棋子。 对于这些,江屹煊有话说:“我只想把仙丹当糖豆,把八九玄功当炼体术,让亲人无病无灾。用真火来炒菜,用灵泉当家庭饮用水,让石材释放出它最美味的口感。对于复苏天道什么的,谁爱作谁作,我没兴趣!”天才少年江辰为解身世之谜入世修行。 一手银针渡世人,一身修为镇强敌。 红尘练心,于都市中成长。 这世间,没有我江辰救不回的人,也没有我江辰惹不起的人! 一介凡人意外闯入修仙世界,成为一名资质普通但向道之心甚坚的修仙者。 仙路崎岖,长生漫漫,虽千万人,吾往矣!未婚妻的背叛、父亲的离奇死亡、母亲的神秘失踪! 背负着沉重包袱的沈夜白,毅然走向那十死九生的屠邪之路。 在这弱肉强食,渐渐失去秩序的修炼世界,他闯荡坠天神域、脚踏万千邪族、在天地战场纵横杀戮…… 当他驻足停歇、放眼天地,才发现自己早已站在了这个世界的绝顶之巅!武当当因实验室事故穿越到大宋,借武大郎身体重生,不甘就此消失于历史的他决定重走人类科技发展之路,并由此建立了一个科技发达的东方国家,本着和平,发展,共赢的精神领导全球各个国家和地区,凝聚力量,保护地球,建设文明,发展科技,探索宇宙。一所省重点高中,一个满是富家子弟的班级。一个个娇生惯养,傲慢,攀比,挥霍,目无尊长。一位特殊的“老师”受人之托要好好的给他们“上一课。”于是就上演了一场五花八门的骗局,让他们知道社会的险恶。最后却又引出了一桩多年前的案子……
蜀山轶事 大罗之上 不正经的魔导师 海贼之破败天下 大话轮回之乱世争锋 自由切换 驭谋 奶爸的异界幸福生活 末世之尸王 拎着镐把欺负鬼 我在高中三年无限重生 绝世伟天帝 这个魔方不太普通 绝世杏林 大爱真仙 天行渐 斩神灭仙传 元素宠师 平常的人生 冰火山河 沭阳到吴江的汽车票 广州永和汽车站到东莞东城区桑园工业区狮龙路 临海到阜阳汽车票: 南召到许昌的汽车 蓬莱汽车站 东站 河间到保定汽车电话是多少钱 临海到阜阳汽车票: 建南汽车站到许西 武汉到深圳长途汽车 路桥到内江汽车时刻表查询 大竹到梁平汽车坐多久 大竹到梁平汽车坐多久 苏州到马坝汽车时刻表 广州永和汽车站到东莞东城区桑园工业区狮龙路 南京汽车到榕江 南召到许昌的汽车 宁波到铜仁汽车票价 沭阳到吴江的汽车票 广州到茂名东的汽车票价是多少钱 苏州汽车北站到阳澄湖 广州永和汽车站到东莞东城区桑园工业区狮龙路 苏州汽车北站到阳澄湖 广州到茂名东的汽车票价是多少钱 青岛黄岛到肥城的汽车时刻表 通州汽车站在哪里 苏州到马坝汽车时刻表 沭阳到吴江的汽车票 广州到茂名东的汽车票价是多少钱 广州到茂名东的汽车票价是多少钱 武汉到深圳长途汽车 南召到许昌的汽车 泉州中正汽车 重庆北站怎么坐汽车? 南京汽车到榕江 蓬莱汽车违章处理 龙游到杭州汽车多久 重庆北站怎么坐汽车? 临海到阜阳汽车票: 蓬莱汽车违章处理 赵公口汽车站到永定门 龙游到杭州汽车多久 建南汽车站到许西 定边至成都汽车站 宁波到铜仁汽车票价 北京东站到汽车站 泉州中正汽车 大竹到梁平汽车坐多久 龙游到杭州汽车多久 苏州到马坝汽车时刻表 镇雄到福建汽车电话 亚星官网 亚星游戏官网 亚星官网 亚星官网 亚星游戏官网 仙途慢漫 一切从新婚夜开始 大周小王爷 超绝世风云 万界总代理 亚星游戏官网 万利游戏官网 万利官网 亚星游戏官网 快连下载 龙游到杭州汽车多久 泉州中正汽车 镇雄到福建汽车电话 泉州中正汽车 南召到许昌的汽车 通州汽车站在哪里 苏州到马坝汽车时刻表 蓬莱汽车站 东站 定边至成都汽车站 临沂到嘉兴汽车 广州永和汽车站到东莞东城区桑园工业区狮龙路 临沂到嘉兴汽车 蓬莱汽车站 东站 镇雄到福建汽车电话 临沂到嘉兴汽车 南召到许昌的汽车 镇雄到福建汽车电话 大竹到梁平汽车坐多久 河间到保定汽车电话是多少钱 大竹到梁平汽车坐多久 临海到阜阳汽车票: 湘潭到凤凰的汽车票价多少公里 北京东站到汽车站 通州汽车站在哪里 广州永和汽车站到东莞东城区桑园工业区狮龙路 沭阳到吴江的汽车票 蓬莱汽车官方网站售票 沭阳到吴江的汽车票 赵公口汽车站到永定门 重庆北站怎么坐汽车?