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"
义乌一桂林火车票天津到邢台火车距离舞钢到平顶山火车票兰州到金昌的火车在哪个站赣州到民权火车有几趟义乌一桂林火车票去山东泰安的火车舞钢到平顶山火车票柳州六盘水的火车票改签火车票可以改始发站吗广州到江西抚州火车舞钢到平顶山火车票徐州火车到盐城广州到江西抚州火车信阳到长治北的火车有几趟改签火车票可以改始发站吗东莞有到桂林的火车吗?信阳到沈阳火车票查询电话信阳到沈阳火车票查询电话广东到呼伦贝尔的火车时刻表明天滕州至泰安的火车票多少钱信阳到沈阳火车票查询电话柳州六盘水的火车票无锡到广东惠州的火车票价火车t53镇平到邓州火车站班车火车t53无锡到广东惠州的火车票价广东到呼伦贝尔的火车时刻表徐州火车到盐城一觉醒来,林世平发现自己穿越到大秦,只是这个大秦和自己印象中不太一样。   禁锢万物的法家、言出法随的儒家、召唤‘魂灵’的阴阳家……不过这个法术吟唱的诗人是怎么回事?   还有诗仙李白又是怎么回事?   林世平脑瓜子嗡嗡的,只能默默掏出他召唤出来的黑色手枪,毕竟在这危险的世界,只有黑色手枪能给他一点安全感了。   修仙?修仙是不可能修仙的,只能靠系统躺平了。又名《陈旦生的异世大陆冒险之旅》。 陈旦生穿越到蓝星中洲人族小王国,成了半兽人。长着公鸡头,公鸡爪,和电视剧《西游记》里的昴日星官有神似之处。 神秘人说,他曾是天上神仙,因犯天规,被贬凡间。要想重回天庭,必须拯救蓝星于危难之中。 拯救蓝星哪能那么容易? 蓝星分五洲,人族居住在中洲。生活在东西南北四洲的半兽人、狼人、鸟人以及来自海外的罗刹人,一直觊觎中洲的富饶与美丽,无时无刻不在想着斩杀人族,占领中洲。 小说开篇,陈旦生因劫法场,签下生死状,被迫寻找大夏国“失踪公主”。他发现,公主神秘失踪,不是简单的人族“和亲”故事,他背后隐藏着不为人知的更大阴谋。谨此,回忆初中三年,故事可能不会太多,以此纪念我的初中生活以及学校 (学校邻导找不到,若此作损害了学校利益,学校领导只要说了我可以及时改正,甚至删除本作品)(衡水志臻学校清河校区)感谢!!!神与仙的比拼,妖与魔的碰撞,机器与人的厮杀,这里有最神奇的大陆,有最热血的青年,有最精彩的战斗, 让云岚带你开启星空的纪元之旅。一条由个人博客发出的离婚吐槽,轰动世界。 开局被丈母娘嫌弃,被逼退婚..... 没想到,女婿竟是消失多年的昆仑战神。当科技撞上魔法的狂潮,以太之光闪耀,新世界降临。 “所谓火种,乃是为人类的生存繁衍做出巨大贡献甚至能够改变世界的元素。 我曾想,第一次火种便是人类还是猴子的时候学会了使用火焰,驱散黑暗和寒冷,抵御猛兽,使人类在这片土地得以繁衍生息。 第二次,人类发现了火焰之中蕴含的强大力量,制造出了机械,自此也彻底站在了这颗星球的物种之巅,而随之而来的便是无休止地战争。 第三次,人类发现了铀以及一大批的放射性物质,核武器的出现更是使得生命如同草芥! 而如今,第四火种出现,超脱于构成世界的四元素,存在于万物之中,以太,它将传说中的一切展现在你我的面前,拥有无限的可能!”我本无心张狂,奈何世间太多魔。可怜世上情与义,还值几两碎银?这世道,我要换,你若挡,那便战!平平无奇的法师,不一样的冒险之旅。一段人生的旅途,讲述生命的终焉。横推都市无敌手,轩辕重开林仙人。 灭门之仇,断腿之恨,血海深仇,不报难安! 我林枫修仙归来,你们这些练武的也配?
玄龙剑诀 神雕之我是大魔王 烽烟有点呛 异瞳通灵者 他是如何逆风翻盘的 望枫天地行 世界首富说到1 开局契约麻雀,签到成凤凰 重启的秩序 茗刀 子安 校园最强特工 末路狂谍 道之往生咒 校园?社会! 我有最强神级天赋抽奖系统 重生,青梅竹马之姐弟恋 荒诞的笑话 巨亿时代 神魔在人间 商丘临沂火车时刻表 当日票次往后火车改签 东莞有到桂林的火车吗? 赣州到民权火车有几趟 商丘临沂火车时刻表 火车票可以补嘛 东莞有到桂林的火车吗? 代销点可以退火车票吗 镇平到邓州火车站班车 成都有到海南省三亚市的火车吗 山东兖州到贵阳火车票 山东兖州到贵阳火车票 潍坊至河南焦作的火车票多少钱 当日票次往后火车改签 义乌一桂林火车票 赣州到民权火车有几趟 河口到昆明火车k9824 镇平到邓州火车站班车 丹凤至江西南昌的火车票 舞钢到平顶山火车票 当日票次往后火车改签 舞钢到平顶山火车票 丹凤至江西南昌的火车票 信阳到沈阳火车票查询电话 改签火车票可以改始发站吗 潍坊至河南焦作的火车票多少钱 商丘临沂火车时刻表 天津到邢台火车距离 丹凤至江西南昌的火车票 镇平到邓州火车站班车 赣州到民权火车有几趟 遂溪到容县火车时间 兰州到金昌的火车在哪个站 义乌一桂林火车票 无锡到广东惠州的火车票价 火车t53 兰州到金昌的火车在哪个站 东莞有到桂林的火车吗? 潍坊至河南焦作的火车票多少钱 信阳到长治北的火车有几趟 火车t53 代销点可以退火车票吗 火车票可以往后走 河口到昆明火车k9824 广州到江西抚州火车 遂溪到容县火车时间 山东兖州到贵阳火车票 火车t53 潍坊至河南焦作的火车票多少钱 襄阳到潢川的火车票 亚星游戏官网 亚星官网 亚星官网 亚星官网 亚星官网 星辰夜雨 异界,从当城主开始! 系统加持:我是模范修仙人 元世纪:暗尽天明 元宇宙:出马传奇 亚星管理平台 亚星官网 万利游戏官网 亚星管理平台 澳门葡京游戏官网 河口到昆明火车k9824 山东兖州到贵阳火车票 商丘临沂火车时刻表 火车票可以补嘛 义乌一桂林火车票 代销点可以退火车票吗 河口到昆明火车k9824 信阳到沈阳火车票查询电话 徐州火车到盐城 兰州到金昌的火车在哪个站 山东兖州到贵阳火车票 当日票次往后火车改签 火车票可以补嘛 火车票可以补嘛 明天滕州至泰安的火车票多少钱 丹凤至江西南昌的火车票 东莞有到桂林的火车吗? 山东兖州到贵阳火车票 去山东泰安的火车 镇平到邓州火车站班车 火车票可以往后走 改签火车票可以改始发站吗 东莞有到桂林的火车吗? 潍坊至河南焦作的火车票多少钱 去山东泰安的火车 火车t53 柳州六盘水的火车票 代销点可以退火车票吗 潍坊至河南焦作的火车票多少钱 无锡到广东惠州的火车票价