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"
扬州到沈阳的火车卧铺北京-北戴河火车票巴东到南昌的火车票路过满洲里的国际火车鹤壁到太原几点的火车票扬州到沈阳的火车卧铺明珠到广州火车时刻表巴东到南昌的火车票k924火车票价贵州都匀到武汉火车商丘至泰州火车扬州到沈阳的火车卧铺扬州至重庆火车时刻表商丘至泰州火车巴东到南昌的火车票贵州都匀到武汉火车经过偃师的火车宜昌至广元火车时刻表宜昌至广元火车时刻表火车票自动选座位北戴河火车站时刻表查询宜昌至广元火车时刻表永嘉县火车到丽水市新沂到海安的火车班次鹤壁到太原几点的火车票6月20集宁到太原的火车路过满洲里的国际火车有辛集到深州火车吗萍乡一分宜火车票扬州至重庆火车时刻表穿越洪荒百万年,还是玄仙修为   林长青绝望之际,师尊通天赐予九转金丹   没想到,竟然觉醒诸天赠送系统!   赠送九转金丹,返还百亿功德!   赠送通天剑符,返还神象镇狱劲!   赠送黄中李,返还混沌灵根!   赠送盘古精血,返还……   林长青行走洪荒,赠送无数宝物,杀妖,屠魔,救人族!   终于,当量劫降临之时,林长青一人横立量劫之前,挥手扫灭无边劫云!人生多故事,岁月不寻常。 一路风和雨,相逢在此时。 爱情的路上没有对错,有的只是遇见与错过。。。一个少年的恋爱故事我愿在这步入夕阳残生的阶段里,蹒跚漫步,又一次悄然离开人群独步隐晦的黄昏,穿过时间的缝隙,探寻你在我生命中存在过的痕迹.......这是一个简单的世界,弱肉强食 这也是一个艰难的世界,生存是普通人的渴望 李九穿越到这个世界,本该很艰难,但他来时已经无敌了! 九州大陆,万国争霸! 穿越大秦,成为公子赢昊! 开局发配凉州,遭遇匈奴劫杀,觉醒无双大帝系统! 签到千人战场,获得七星战将华雄效忠! 签到万人战场,获得八星上将赵云效忠! 签到十万战场,获得九星大将吕布效忠! 签到百万战场,获得十星神将项羽效忠! …… 且看公子赢昊,如何征战天下,成就无双大帝! 小时候的一场意外让他失去了左腿和记忆,二十四年后的一起特殊的凶案引起了他的注意,看他如何抽丝剥茧最后发现案子背后那不可告人的秘密!修真成仙最重要的因素是什么?   资质、功法、法宝、丹药? 是,但不全是!   修真成仙最重要的是机缘,是运气!只要运气足够逆天,想不成仙都不可能!   数位高级散仙的全部遗产、数之不尽的天材地宝、仙魔妖佛人五界排名第一的法宝、排名第一的天地奇珍、排名第一的修练资质、排名第一的奇功妙法?……   这些统统都不是问题!运气来了,挡也挡不住!   叶秋离的修真生涯只有一句话:仙缘在手,天下我有! 初始之地,在宇宙大爆炸之后诞生的一个大星球,混沌时代初,混沌大神盘古出现,混沌初开,混沌时代中期,混沌大神死亡,化身为三千魔神,从此,启三千神魔大战,导致初始之地破裂为无数星球,围绕最大的星球初始之地运行,三千神魔分别占领一方星球,混沌时代末,三千神魔死亡,混沌时代结束。蛮荒时代开启,无数世界开始出现各种文明,这些世界被人们依据大小和实力强弱分为三千小世界,十八中世界,两大世界(初始之地,冥界),各世界均有产生一些顶尖强者,传说有的已经超过了三千魔神的层次,无限接近或达到了盘古大神的层次。 天玄大陆就是三千小世界中的其中一个小世界,实力巅峰时候可以排进中世界前十,出现过很多顶尖强者。 十二中世界分别是龙界,凰界,鬼界,尸界,魔界,虫界,佛界,妖界,神魔大陆,丹界以及拥有各种天火的天火大陆。
我和恶魔 我在精神病院呼风唤雨 大秦:金榜降世,祖龙求我监国 追随我 重生之规划人生 幻想代码 近战狂兵 我俩搞点事 一百年后的人生 梦回建安年 重生为帝:开局就被骂诈尸 东荒纪元 龙血英雄 生命裁决者 我要花五年拯救宇宙! 古村遗梦 我写个小说,咋就成仙帝了? 元鸿纪 凌霄酒仙在人间 虚拟世界游戏之玩家降临 敦煌到西宁火车怎么走 三亚到北京火车什么时间能到 经过偃师的火车 宜昌至广元火车时刻表 敦煌到西宁火车怎么走 涪陵 厦门火车时刻表 今天沈阳北到北京的火车 北京火车站到通州的车 6月20集宁到太原的火车 扬州至重庆火车时刻表 永嘉县火车到丽水市 永嘉县火车到丽水市 新沂到海安的火车班次 贵州都匀到武汉火车 曲阜火车站上班时刻表 鹤壁到太原几点的火车票 今天沈阳北到北京的火车 6月20集宁到太原的火车 北戴河火车站时刻表查询 扬州到沈阳的火车卧铺 三亚到北京火车什么时间能到 巴东到南昌的火车票 北京-北戴河火车票 韶关 徐州的火车 北京火车站到通州的车 新沂到海安的火车班次 6月20集宁到太原的火车 北京-北戴河火车票 北戴河火车站时刻表查询 6月20集宁到太原的火车 宜昌至广元火车时刻表 三亚到北京火车什么时间能到 路过满洲里的国际火车 扬州到沈阳的火车卧铺 新沂到海安的火车班次 鹤壁到太原几点的火车票 芜湖到息县火车时刻表 今天沈阳北到北京的火车 新沂到海安的火车班次 芜湖到息县火车时刻表 鹤壁到太原几点的火车票 什么时间买春运火车票 火车票自动选座位 四平到沈阳南火车票多少钱 韶关 徐州的火车 三亚到北京火车什么时间能到 永嘉县火车到丽水市 路过满洲里的国际火车 萍乡一分宜火车票 明珠到广州火车时刻表 亚星游戏官网 亚星游戏官网 亚星游戏官网 亚星官网 亚星官网 金刚神帝 治愈诸天,我的意难平系统 念武记 魔鬼训练营优秀毕业生 玄幻:我能看见万物缺陷 亚星游戏官网 万利游戏官网 欧博游戏官网 亚星管理平台 万利官网 三亚到北京火车什么时间能到 东莞火车站东站时刻表查询 扬州到沈阳的火车卧铺 芜湖到息县火车时刻表 巴东到南昌的火车票 经过偃师的火车 扬州至重庆火车时刻表 今天沈阳北到北京的火车 涪陵 厦门火车时刻表 新沂到海安的火车班次 今天沈阳北到北京的火车 商丘至泰州火车 有辛集到深州火车吗 火车票自动选座位 火车票自动选座位 北京-北戴河火车票 永嘉县火车到丽水市 巴东到南昌的火车票 北京火车站到通州的车 扬州至重庆火车时刻表 什么时间买春运火车票 路过满洲里的国际火车 敦煌到西宁火车怎么走 新沂到海安的火车班次 鹤壁到太原几点的火车票 韶关 徐州的火车 鹤壁到太原几点的火车票 四平到沈阳南火车票多少钱 宜昌至广元火车时刻表 三亚到北京火车什么时间能到