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"
如何取消扫码群发微信软件阳光证券交易软件下载如何取消扫码群发微信软件用什么软件计算风管面积、解决 耗电快 电池管理软件人体艺术制作软件手机被偷了用什么软件可以找回免费下载工程单价分析软件oem9软件手机怎样制表格软件插卡摄像机播放软件如何取消扫码群发微信软件4个英文的打码软件聊天都生成表情的软件免费下载工程单价分析软件手机怎样制表格软件天仁表格算量软件群支持nas播放软件支持nas播放软件苹果手机删微信记录怎么恢复软件微信五笔输入法下载手机版下载软件支持nas播放软件oem9软件手机模拟ip地址软件解决 耗电快 电池管理软件免费图片制作带字软件用什么软件计算风管面积、手机模拟ip地址软件苹果手机删微信记录怎么恢复软件4个英文的打码软件震惊,穿越异世界之后我和好兄弟竟成了“cp”?携手打怪升级却屡屡遭遇爆笑窘境 ,哥们,这究竟是什么鬼地方啊我想回家!!被人打断腿的穷小子陆天意外获得屌丝逆袭系统,从此人生开挂,医武双绝。大纲:王晨穿越来到一个鬼怪横行的世界。   觉醒F级序列的他本来想着摆烂,可没想到,自家的猫却因为嫌弃等级太弱,连夜偷来了响雷果实。   不仅如此,斑爷的须佐能乎,闪闪天之锁,魔刀千刃,帝具?混沌钟都被偷来了。   …………   紧急通知,神魔降临,人类危矣。   那一日,当万千神魔降临,王晨须佐套雷佛,手持魔刀千刃和混沌钟,给众人演示了什么叫做诸神黄昏。      灵霄之下贵为凡,灵霄之上枉为仙! 一个家境贫穷的大学生,生活在禁止修仙的灵霄之下,遭人设计被极度仇视修仙者的组织“诛仙”发现他已经暗中修仙近十年,从此他不得不踏上逃亡之旅,接下来精心策划的阴谋在他身边接踵而至,这一切都是因为他乃炎帝的一缕神魂所化,而他最初的愿望只不过是想通过修仙拯救他的妹妹而已……【感谢所有支持光年的读者,本书已完结,有兴趣聊剧情,可留言我会来。】 掉落龙窟,不好意思,我的新手武器是你上一任主人的佩剑,神圣巨龙乖乖与我签订契约; 全国比武大赛,不好意思我没兴趣,全系导师级魔法一出,恭喜您获得本届比武大赛冠军; 欺负我兄弟和女人,管你是谁,我一个人屠遍你整个公会; 创建公会要很多金币,哎呀巧了,我最不缺的就是金币; 重铸黎明剑需要跑一趟兽人、精灵和矮人三族,放心,没有我龙骑士搞不定的坎。 诺瓦大陆被黑暗支配了三年,秋枫的出现,将为大陆带来新的黎明!十三年前,李致在城郊梨花树下捡到一只垂死白狐。 十三年后,他开始被一个漂亮温婉的落难小姐倒追。 月夜之下战幕拉开。 李致翻手间剑光纵横雷霆天落,“我家夫人温柔贤惠娇贵可人,知冷热擅烹食……” 姜璃弹指间邪魔俯首山河崩坏,“我家相公谦谦君子文弱书生,温逊有礼好脾气……” 反派“……”平凡少年变失忆魔族少主,天地将崩,使命将至,且看热血少年周醒于百年神魔必一争的乱世之间杀出一条血路!  太玄天威,大道煌煌!   意外来到天玄界的徐澈本想着安稳读书体会异界风景。   一起突然的怨尸事件,一只摄人精气的恐怖鬼怪,一位身份神秘的小镇杀猪匠,一本破旧的书……   徐澈突然发现,力量才是安稳的前提!   为了自保,本想着好好当一个读书人的徐澈拜师杀猪匠,而世界,从这天就开始发生变化……不知源头何处的神秘星球,在芸芸众生皆不曾反映之际,降临到了太阳系地外虚空,遮天蔽日,扰乱了时分。而钟挺原本平凡无奇的人生也发生了翻天覆地的变化,不得不一直逆天而行······ 大道为络,天地作星,众生如子。一场谁也逃不开的博弈就此展开。 叩仙门,觅神迹,自是横刀向天笑! 小人物阿云,痛并快乐的人生历程,学校生活的是是非非……
Earth :1697 尚武之地 谁说人族不能登天! 大清末年 铭道录 傲娇师尊爱上我 异界侦探探案笔记 人工智能之傀儡大宗师 系魂传 圣元魔尊 寄生魅影 我与道士的那些事 暗格深处 误解与被误解的牛 玄幻之我的开挂人生 我!狂神 世界爱不爱我 从奴隶开始的征服王系统 玄幻:一界之尊 校园第三部曲 幸 雄霸3d软件下载 计算机一级题库手机软件 免费下载工程单价分析软件 微信五笔输入法下载手机版下载软件 雄霸3d软件下载 定时关闭和打开程序 软件 品茗网络计划软件操作 定时关闭和打开程序 软件 免费图片制作带字软件 4个英文的打码软件 oem9软件 怎么让小娜关闭软件 照片去马赛克的软件 雄霸3d软件下载 人体艺术制作软件 解决 耗电快 电池管理软件 品茗网络计划软件操作 免费图片制作带字软件 微信五笔输入法下载手机版下载软件 如何取消扫码群发微信软件 雄霸3d软件下载 免费下载工程单价分析软件 阳光证券交易软件下载 聊天都生成表情的软件 手机怎样制表格软件 照片去马赛克的软件 免费图片制作带字软件 阳光证券交易软件下载 微信五笔输入法下载手机版下载软件 免费图片制作带字软件 解决 耗电快 电池管理软件 雄霸3d软件下载 网络计划软件标准版 人体艺术制作软件 手机模拟ip地址软件 解决 耗电快 电池管理软件 网络计划软件标准版 天仁表格算量软件群 照片去马赛克的软件 免费下载工程单价分析软件 用什么软件计算风管面积、 将照片重命名的软件 谷歌地图免费软件 怎么让小娜关闭软件 聊天都生成表情的软件 雄霸3d软件下载 怎么让小娜关闭软件 用什么软件计算风管面积、 照片去马赛克的软件 手机被偷了用什么软件可以找回 亚星游戏官网 亚星官网 亚星官网 亚星游戏官网 亚星官网 零神 汝窑瓷盘传奇 无尽装载 诡道铭文师 随便成为什么 AG真人 欧博官网 亚星管理平台 AG真人 百家乐官网 天仁表格算量软件群 微信五笔输入法下载手机版下载软件 免费下载工程单价分析软件 插卡摄像机播放软件 oem9软件 用什么软件计算风管面积、 免费图片制作带字软件 雄霸3d软件下载 如何取消扫码群发微信软件 品茗网络计划软件操作 天仁表格算量软件群 网络计划软件标准版 用什么软件计算风管面积、 谷歌地图免费软件 雄霸3d软件下载 解决 耗电快 电池管理软件 手机被偷了用什么软件可以找回 将照片重命名的软件 聊天都生成表情的软件 微信五笔输入法下载手机版下载软件 网络计划软件标准版 雄霸3d软件下载 谷歌地图免费软件 手机被偷了用什么软件可以找回 支持nas播放软件 人体艺术制作软件 阳光证券交易软件下载 品茗网络计划软件操作 品茗网络计划软件操作 4个英文的打码软件