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"
南宁的火车到四川哪繁昌县到无锡火车大良附近火车票售点d2247火车时刻焦作到安徽淮南火车南宁的火车到四川哪哈西走火车么大良附近火车票售点朝阳到密云北火车站点2月11日昆明到北京火车时刻表穆棱到哈尔滨火车都几点的南宁的火车到四川哪火车窗口购票时间穆棱到哈尔滨火车都几点的大良附近火车票售点火车已经过点能取票码湖北荆门到宝鸡的火车站时刻表焦作到安徽淮南火车焦作到安徽淮南火车义乌一玉林火车明光到武义的火车榆林站火车朝阳到密云北火车站点黄陵有到那里的火车盘锦北 沈阳南 火车西昌火车订票d2247火车时刻阿克苏到四川的火车义乌一玉林火车亳州市到广东火车票穿越到了一个全新的异世界, 在这个剑与魔法交织的世界里, 主角吕越点燃自己的斗气, 拳打异族,脚踢鬼神, 在血与火的试炼中, 吕越逐渐走向无敌一个中土废材艺术家,获得了穿越神魔两界的能力,成为超级异能人,同时发生了一连串既可笑又匪夷所思的事情,打破了三界千年的机械化运作,重新恢复了人类世界的生机活力,找到了爱情和生命的真正意义。从前有一座大陆,叫圣洛大陆。 大陆之上有一个域,叫南山域。 南山域有个宗门,叫仙痕剑宗。 仙痕剑宗之中有一位大师兄,叫君清尘,他似乎有亿点点强,而他的故事也是从此开始。简介: 现代少年张寒君意外来到异世界,这是一个修真的时代。他历经万难,一步一步成就苍穹之主。而后再次重生至少年时期,再修大道。且看其如何再就至尊!生逢乱世,不求渡尽苍生,只求命数己定。 . 一生坎坷,只为与天争朝夕之命; 一生如画,水墨飘香自乱世情仇; . 幽火熊熊焚芸芸之众生,风雷阵阵破无间之魍魉;说评书的到了异世能干啥?忽悠呗!这是亲子丼系列的最后一部,所有的谜团在这一部里全部揭开我叫荆少雨,荆轲的荆,年少的少,下雨的雨,出生于南方的一个偏僻的小山村里,故事发生在我十八岁的时候,父母在我出生那年离奇死亡。陈寻怎么也想不到,自己机缘巧合参加的一次相亲经历,竟然就此翻转了他的整个人生。刚穿越到文娱世界,杨墨就发现自己身边躺了个一丝不挂的小网红! 外头的女星老婆更是疯狂敲门呵斥。 “杨墨!你给老娘滚出来!“ “有本事偷人,没胆量见我是不是!“ 于是乎,郁闷的杨墨发现,自己成了活生生的冤种! 小网红没碰到,还被高挑的女星老婆摆了一道! 唯一的目的就是离婚! 离婚后,激活了系统的杨墨,无奈成了当下炙手可热的腿精高冷女神林婉璇的私人男助理。 上班第一天,又将女上司看了个精光! 有了系统傍身,杨墨只能在“旧邀社区“注册了自己的ID”久邀秦先生“,从此开始了一发不可收拾的文娱巨擘之路!
全职体验系统 都市,岩王帝君竟是我自己 我真的很低调 青春之我 我在都市直播练武,弟子三千万 我与道士的那些事 超越风暴的天空 海贼王:开局拜卡普为师 大镇师 全民御兽,我的宠兽能加点 驭术师 陨星至尊王 顾梦一场 极品兵王:龙之刃 神迹之超能战警 往生诸天记 请,停止进化 来自东方的21世纪神 诡异世界小管家 长安临异世 西昌火车订票 火车已经过点能取票码 湖北荆门到宝鸡的火车站时刻表 焦作到安徽淮南火车 繁昌县到无锡火车 阿克苏到四川的火车 通海县到昆明市的火车 武威到张夜的火车票 赣州到南京的火车是哪个站 火车窗口购票时间 今天北京到十堰火车票查询 今天北京到十堰火车票查询 黄陵有到那里的火车 火车已经过点能取票码 南宁的火车到四川哪 盘锦北 沈阳南 火车 宁远到株洲火车站汽车站 西昌火车订票 随洲火车站时间表 大良附近火车票售点 虞城到蚌埠火车 大良附近火车票售点 随洲火车站时间表 榆林站火车 2月11日昆明到北京火车时刻表 海宁至海口火车 西昌火车订票 随洲火车站时间表 明光到武义的火车 西昌火车订票 焦作到安徽淮南火车 虞城到蚌埠火车 d2247火车时刻 南宁的火车到四川哪 黄陵有到那里的火车 盘锦北 沈阳南 火车 d2247火车时刻 通海县到昆明市的火车 黄陵有到那里的火车 济南至文登的火车时刻表 盘锦北 沈阳南 火车 武威到张夜的火车票 义乌一玉林火车 宁远到株洲火车站汽车站 穆棱到哈尔滨火车都几点的 虞城到蚌埠火车 今天北京到十堰火车票查询 盘锦北 沈阳南 火车 海宁至海口火车 湖北荆门到宝鸡的火车站时刻表 亚星游戏官网 亚星官网 亚星官网 亚星官网 亚星官网 翻山记 人间有凌云,百鬼禁行 天神下凡在都市 穿越之大侠宋青书 我有9000万亿神豪基金 万利官网 皇冠登3出租 百家乐官网 欧博游戏官网 欧博官网 亳州市到广东火车票 d2247火车时刻 朝阳到密云北火车站点 2月11日昆明到北京火车时刻表 黄陵有到那里的火车 黄陵有到那里的火车 火车窗口购票时间 亳州市到广东火车票 火车已经过点能取票码 今天北京到十堰火车票查询 哈西走火车么 赣州到南京的火车是哪个站 贵阳 遵义 火车 2月11日昆明到北京火车时刻表 通海县到昆明市的火车 义乌一玉林火车 火车窗口购票时间 d2247火车时刻 2月11日昆明到北京火车时刻表 火车已经过点能取票码 阿克苏到四川的火车 阿克苏到四川的火车 火车窗口购票时间 火车窗口购票时间 虞城到蚌埠火车 火车已经过点能取票码 亳州市到广东火车票 通海县到昆明市的火车 随洲火车站时间表 济南至文登的火车时刻表