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"
短篇小说 四四叶草小说 男女主角都改名了网络小说 金银眼有一部小说讲一个年轻的村干部在村长家住着还和村长老婆发生爱情故事棉棉小说终极实验 小说下载小说 你若安好网络小说 金银眼霸玄录 小说极道狂仙 红苕炖地瓜 小说宋帝江山 绍兴十一 小说短篇小说 四怪化猫 小说刀杀天下 林夕秋若寒 小说网络小说 金银眼极道狂仙 红苕炖地瓜 小说异界巫门 妄离 小说求小说主角自己开公司成为世界第一大集团后回国帮助祖国发展求小说主角自己开公司成为世界第一大集团后回国帮助祖国发展女主很低调但是背景很强戴眼镜其实很漂亮守护的人众多的小说妖天 小说求小说主角自己开公司成为世界第一大集团后回国帮助祖国发展霸玄录 小说再见末日 啊坏点点 小说棉棉小说小说 穿越 禽滑厘有一部小说讲一个年轻的村干部在村长家住着还和村长老婆发生爱情故事凤杀 鲁庵 小说收养类小说怪化猫 小说人身有真身和假身,而常人只能感觉到假身,虽然真身就在里头,却不知道如何去应用。一个风水世家子弟,拥有幼儿时期自然开发的神通,经过命运的安排和高人的指点,开启了大宗师的传奇人生。伯伯叛变,一夜血洗淮安。你身负血海深仇,却隐藏真实身份,在他的脚下做一位平平无奇的闲官。国家局势动荡,内忧外患,六国分裂,且看男主如河实现统一六国,逐鹿中原的雄霸之业。少年被人追杀打入深渊,生死一线之际,少年成功激发了六劫神体,度过第一劫,意外踏上修行之路。 入学府,诀亲情,战诡异,破诅咒,一劫一重天。 手持神剑,背负苍生,剑舞龙蛇,一剑可破山海,一念可动乾坤。 天地依旧在,人非事归尘,茫茫世间无一敌,神主何归去? 万年之前,天元和天魂两大神王飞升。 万年之后,黑渊降临,两大神王陨落重生。 重生后,两大神王再次登顶,冲击更高的境界! 区区神王不能满足我的要求!我要登顶神帝!我要成为这万界之主! 巨变来临,新一轮的主境强者即将出世,一路逆袭,任我修为再低,这天也不是我的对手! 世界发生变化,男主为了活着保护自己的妹妹成为了独一无二的魔(魔王)。 妹妹为了不再是哥哥保护自己,而是自己保护哥哥,觉醒后终有一天成为魔女。 他们为了保护彼此在不断变强的道路上活着灵气复苏?各路妖魔邪神都出现了,小说剧情在现实上演,是末日还是进化?人类应该怎样生存,扮演的又是什么角色?大自然赋予了人类火焰,由此开启人类文明,这次还会有火种吗?又会是何种火焰,又将会迸发怎样的焰火。一代战神穿越异界成为大秦废物藩王。 有名无权?这怎么行!先把大权握在手中! 草原蛮子南下叩关了? 二营长把本王新造的大炮拉出来,今儿教你们打炮! 大漠匈奴也要凑热闹? 二营长,给我一起轰了! 江湖高手觉得本王太残暴,要替天行道? 二营长!! 算了,这次在后面鼓掌就行了,看本王一人打穿你整座江湖!堂屋正中的灵牌贴上自己的照片,荒村后山的墓碑刻上自己的名字,卧室房灯挂上晃动的麻绳,自来水管里面塞上带着头皮的头发....   去住个凶宅,挖个坟,抱个纸人,撞个鬼,作为有一个上进心的恐怖片龙套,这不都是应该做的吗?无无无┭┮﹏┭┮欲望与愿望,仇恨与守护...... 名为“奇迹”的力量往往需要付出代价 这是关于少年北星河,不堪忍受命运的安排,通过“奇迹”逆天改命的故事。
共分天下 无上霸体金身诀 清云九歌 五行棺 无极仙丹 逆天之六界共主 镇诡司 洪荒之彼岸 因果律法 异世魔王国 异界追薪记 这年冬天 凌机 逍遥小医圣 重返西游 我的不夜城 生化危机袭来 612事件 工作上笨脑 灵异魔说 赘婿 顶点小说 福楼拜 短篇小说 异界巫门 妄离 小说 求小说主角自己开公司成为世界第一大集团后回国帮助祖国发展 赘婿 顶点小说 中国文化 小说 无妄仙枭 小说 树宗小说 小说 穿越 禽滑厘 怪化猫 小说 霸玄录 小说 神魔逆天 阿默 小说 再见末日 啊坏点点 小说 极道狂仙 红苕炖地瓜 小说 终极实验 小说下载 棉棉小说 无妄仙枭 小说 小说 穿越 禽滑厘 妖天 小说 短篇小说 四 福楼拜 短篇小说 网络小说 金银眼 四叶草小说 男女主角都改名了 刀杀天下 林夕秋若寒 小说 极道狂仙 红苕炖地瓜 小说 再见末日 啊坏点点 小说 小说 穿越 禽滑厘 四叶草小说 男女主角都改名了 妖天 小说 小说 穿越 禽滑厘 棉棉小说 福楼拜 短篇小说 有一部小说讲一个年轻的村干部在村长家住着还和村长老婆发生爱情故事 短篇小说 四 凤杀 鲁庵 小说 棉棉小说 穿越之暴君的仙女皇后 琉璃舞 小说 无妄仙枭 小说 再见末日 啊坏点点 小说 穿越之暴君的仙女皇后 琉璃舞 小说 棉棉小说 重生之黑莲花的绽放 花貂九 小说 女主很低调但是背景很强戴眼镜其实很漂亮守护的人众多的小说 神魔逆天 阿默 小说 刀杀天下 林夕秋若寒 小说 福楼拜 短篇小说 霸玄录 小说 有一部小说讲一个年轻的村干部在村长家住着还和村长老婆发生爱情故事 收养类小说 小说 你若安好 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 异界追薪记 Earth :1697 史上第一大反派 我!狂神 大镇师 亚星管理平台 万利游戏官网 万利官网 亚星管理平台 澳门葡京官网 女主很低调但是背景很强戴眼镜其实很漂亮守护的人众多的小说 穿越之暴君的仙女皇后 琉璃舞 小说 霸玄录 小说 怪化猫 小说 竹马绕青梅 仪歌 小说 收养类小说 异界巫门 妄离 小说 霸玄录 小说 再见末日 啊坏点点 小说 霸玄录 小说 福楼拜 短篇小说 四叶草小说 男女主角都改名了 短篇小说 四 穿越之暴君的仙女皇后 琉璃舞 小说 网络小说 金银眼 小说 穿越 禽滑厘 怪化猫 小说 中国文化 小说 穿越之暴君的仙女皇后 琉璃舞 小说 再见末日 啊坏点点 小说 中国文化 小说 宋帝江山 绍兴十一 小说 凤杀 鲁庵 小说 女主很低调但是背景很强戴眼镜其实很漂亮守护的人众多的小说 刀杀天下 林夕秋若寒 小说 终极实验 小说下载 霸玄录 小说 网络小说 金银眼 霸玄录 小说 怪化猫 小说