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"
狗狗把喝的水都吐了搞笑狗狗吹避孕套狗狗把脚放水里狗狗把一个地方舔到肿狗狗白毛变黄用什么洗狗狗把喝的水都吐了狗狗膀胱 费用狗狗白毛变黄用什么洗给博美狗狗吃冰棍图片狗狗帮人舔伤口狗狗半夜很兴奋狗狗白毛变黄用什么洗狗狗膀胱坏了几天死狗狗半夜很兴奋狗狗白天不睡觉狗狗帮人舔伤口跟狗狗一起洗澡怎么办狗狗半边身体抽搐狗狗白尾巴是花狗狗狗把泡沫出了刚一个月的狗狗好养吗狗狗半边身体抽搐给博美狗狗吃冰棍图片狗狗把喝的水都吐了狗狗白天乱尿狗狗粑粑里面有红色的狗狗白天乱尿狗狗把虫子吃了狗狗把泡沫出了狗狗膀胱破裂什么症状我每次送盆去给阿婆,她都请我喝咖啡,她很喜欢咖啡和鲜花,为人开朗,豁达,有很强的亲和力。本书讲述,这个毫无背景的农村小孩,如何破除万难,努力奋斗,机缘巧合之下,当上了派出所的辅警,后又种种立功,最终成为一名人民警察。 自此,开启开挂人生,屡破大案,屡立战功,锄奸扶弱,后来成为一名黑帮卧底,破坏犯毒大案,最后为兄复仇。 草根青年,从零开始的励志故事,热血,青春,奋斗!!!从石朝太祖开国以后,历经百年,大陆风云变幻,北方的狼已露出了他的爪牙。年少的英雄们又将如何搅动风云,各种谋算藏于心中,天下终将落入谁人手?无意踏入上古战场遗址,得上古各位大能传承,接下来,命运对我不公,我便撕碎这命运,踏破混沌,问这大千世界有谁是我对手?看我这不屈服的一生,这一条撼人心扉的变强之路!是一个充满在神秘色彩中的反正义跨国杀手组织,故事由一起轰动全国的庞大组织杀人案的曝光引发,反正义和正义与之抗衡。 【元宇宙-惊悚世界】 “我不想死啊!” “妈妈救我,我不要进入惊悚游戏!” “救命!救命!有没有人,快把我放出去!” “我是XX大明星,谁愿意救我,你要我做什么都可以!” 惊悚游戏降临全球,每个月随机抽取大量人类进入游戏世界与厉鬼为伴。 当所有人都在惶恐、害怕、恐惧中苦苦求生的时候,第一次进入游戏的陈凡发现,他每次开始游戏前居然能先抽取一件强大鬼物! 鬼外卖游戏中,当别人还苦哈哈骑着纸扎的电动车给鬼送外卖时,陈凡已经骑着猛鬼摩托在大街小巷风驰电掣,单单好评。 当别人好不容易与一只鬼签订契约的时候,陈凡已经拥有了一堆鬼王,组建了第一支人类为首领的鬼军!震撼两个世界! 他麾下的女鬼,实力无比强大,更是个个国色天香,对林风死心踏地。 赚取无数金钱的女鬼总裁,神秘强大的幽界之主,拥有僵尸大军的飞僵女王,修炼千年的倩魂姐妹……我在东京经营一家田野宠物店,却意外激发了宠物养成系统 从此这家宠物店火了, 会卖萌的熊本熊, 会喷火的狐妖宠物七宝, 可爱软萌的卡鲁鸭...叶凡上一世的仙王老婆重生归来,找到叶凡带他走上修仙路。 斩魔帝,斗五宗,破天穹,打开仙路,直杀天穹,带领全民修仙。 我的时代谁敢称无敌!上来一战! 以双修正道!人间的无常,俊俏的神灵。 世间律法不及之处,人间黑暗遍布的深渊。 不要唾弃世间的不公,我就是人间最公平的判罚者 穿成一品镇国公府嫡子,谢勋以为从此金银花不尽,俏丫鬟环绕,袭爵,安安心心当纨绔。皇帝一道圣旨,他成了当朝红人,皇子拉拢,公主倒贴,却不知,危机就在眼前……
都市之我被迫成神 蓝蝶恋 这真是一本正经的鉴宝书? 携鬼修仙 曹家门府出马仙 致奋斗的青春 严舆列传 小城漂泊日记 盗墓:挖坟掘墓窥阴司 三好学生? 梦断大千世界 为武林除害 谢邀,人在洪荒,拒绝妖皇 风吹仙地 玄幻:我在修仙世界玩异能 仙道唯心 覆灭诸神 末日千万不要做的事情 转生龙与精灵乱舞! 都市:言出法随,你管这叫乌鸦嘴? 给博美狗狗吃冰棍图片 狗狗白尾巴是花狗 狗狗膀胱坏了几天死 狗狗白毛变黄用什么洗 给博美狗狗吃冰棍图片 狗狗八联疫苗几针 狗狗膀胱坏了几天死 狗狗半夜很兴奋 刚一个月的狗狗好养吗 狗狗半夜突然乱抓 狗狗膀胱涨大图 狗狗膀胱涨大图 狗狗粑粑里面有红色的 狗狗白尾巴是花狗 狗狗把喝的水都吐了 狗狗白毛变黄用什么洗 狗狗膀胱破裂什么症状 刚一个月的狗狗好养吗 给狗狗拔牙流血了 狗狗把脚放水里 狗狗白尾巴是花狗 狗狗把泡沫出了 搞笑狗狗吹避孕套 狗狗白天不睡觉怎么办 狗狗半边身体抽搐 狗狗粑粑里面有红色的 刚一个月的狗狗好养吗 搞笑狗狗吹避孕套 给狗狗拔牙流血了 刚一个月的狗狗好养吗 狗狗白毛变黄用什么洗 狗狗白天乱尿 狗狗把一个地方舔到肿 狗狗把喝的水都吐了 狗狗巴贝斯虫病怎么治 狗狗白毛变黄用什么洗 狗狗把一个地方舔到肿 狗狗膀胱坏了几天死 狗狗粑粑里面有红色的 狗狗把泡沫出了 狗狗把自己玩具给宝宝 狗狗半夜突然乱抓 狗狗把虫子吃了 狗狗膀胱破裂什么症状 狗狗白天不睡觉怎么办 狗狗白天乱尿 狗狗膀胱涨大图 狗狗把自己玩具给宝宝 狗狗粑粑里面有红色的 狗狗膀胱 费用 亚星官网 亚星游戏官网 亚星游戏官网 亚星官网 亚星游戏官网 尘间留不住 元宇宙之自由 我摆烂了 我只出一剑 我有修行加速器 欧博官网 百家乐官网 澳门葡京游戏官网 欧博官网 亚星游戏官网 跟狗狗睡在一起睡 狗狗白尾巴是花狗 给狗狗拔牙流血了 狗狗把虫子吃了 给博美狗狗吃冰棍图片 给狗狗拔牙流血了 狗狗把自己玩具给宝宝 搞笑狗狗吹避孕套 狗狗八联疫苗几针 狗狗把一个地方舔到肿 狗狗巴贝斯虫病怎么治 狗狗膀胱 费用 狗狗把吃的狗粮全吐了 狗狗膀胱 费用 狗狗白尾巴是花狗 狗狗膀胱坏了几天死 狗狗把喝的水都吐了 跟狗狗一起洗澡怎么办 狗狗把脚放水里 狗狗白尾巴是花狗 狗狗把一个地方舔到肿 狗狗把脚放水里 狗狗帮人舔伤口 狗狗把泡沫出了 狗狗白毛变黄用什么洗 狗狗半夜有人就叫 狗狗白天不睡觉 狗狗八联疫苗几针 狗狗白天乱尿 狗狗八联疫苗几针