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"
网站制作报价明细表网站模板下网站开发团队人员海淀网站建设北京响应式的网站互联网 和 网络营销网络安全产业信息安全领导小组网络安全态势感知综述网络安全注册表编程微信营销成功高武世界,人妖并立,人族式微,人奸横行,比妖兽更可怕的是人心,且看小人物罗文辉在逆境中成长,杀皇证道,成就人族守护神的故事。我女友的性格非常冷傲,但是在我面前,她却有着另一面……大荒纪元末年,2大帝主成功推动纪元之钟,开启下一纪元,最后一刻神帝偷袭魔帝使其重伤,魔帝最后一刻重伤被其封印,神帝开始了自己的统治,直到3000年后暗影纪元,魔影洲,暗玄之地一头黑龙的到来,打破了魔帝的沉睡…………“当今的皇帝听说是个女子呢。” “嗯,怎么了?” “没什么。” “世界之大无奇不有,你不要小瞧我们女子哦!” “希望有一天,我也能受命于天,既寿永昌...” “那...祝你好运......”异世争霸,经过血和泪的洗礼后,站到世界的顶峰新人作者,主写男频修仙脑洞爽文小马哥,血战死亡后被万千影迷惋惜,然后复生到鞥司世界,与大学新生马可融合。讲义气的大古惑仔和大学生,不友好的开局,没有提前量的信息集成,只是一个小小锦衣后人。为了寻找失踪的父母,马可只能不断变强,异能者的动乱,外域的强者.......地图之外的高山等待着勇敢者的发现,传说在暴风与雷电盘踞的山巅,埋藏了古帝王用之不尽的的财宝。也有传闻......那处山顶,是囚禁了死神与亡灵的炼狱。我是谁?我在废墟残垣中醒来,人类和机器人的战争让世界都濒临毁灭,谁来救救我们?谁来救救世界?谁来拯救这次末日之战?命运多舛的少年,不谙世事的灵智,两者的结合在九州大陆掀起了阵阵腥风血雨。 在这里也许会看到华夏神话的延续,也许会看到超强的灵宝,也许会看到上古遗迹,也许会看到各种稀奇古怪的异兽,也许会看到魔之本相……
病毒性营销推广方案 烟台网站建设设计 哪个标准用于信息安全 领英公司主页营销 互动营销型 网站预算 手机网站制作细节 专注电子商务网站建设 重庆有哪些营销公司 天津网站策划 大龄剩女的婚恋建议咨询【www.richdady.cn】 阴间生活的文化背景咨询【www.richdady.cn】 升迁障碍的职场规划【www.richdady.cn】 家庭关系的心理调适方法有哪些?咨询【www.richdady.cn】 前世老公的前世因果【www.richdady.cn】 财运不佳的真实案例有哪些?咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 儿子不读书的案例分享咨询【企鹅383550880】√转ihbwel 官司的案例分享咨询【σσЗ8З55О88О√转ihbwel 构建和谐亲子关系的方法有哪些?【企鹅383550880】√转ihbwel 突然过世的原因有哪些威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 心特别累的原因分析【www.richdady.cn】√转ihbwel 前世老婆的前世故事【微:qq383550880 】√转ihbwel 升迁障碍的职场策略有哪些?【σσЗ8З55О88О√转ihbwel 家庭关系的前世记忆咨询【企鹅383550880】√转ihbwel 解梦的案例分享咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 解梦的前世因果咨询【www.richdady.cn】√转ihbwel 官司的前世因果威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 阴间生活的前世缘分咨询【企鹅383550880】√转ihbwel 前世今生的缘分如何解读?【微:qq383550880 】√转ihbwel 家宅磁场干扰的原因咨询【微:qq383550880 】√转ihbwel 国家负责网络安全 网络营销英文ppt 互联网广告营销策划方案 网站建设经验心得 网站开发团队人员 网站页面优化 网络安全厂家 网络营销方法和应用 北京搜索引擎营销策划 线下营销渠道有哪些 ncre信息安全技术 重庆南岸营销型网站建设公司推荐 信息安全服务资质一级 网络安全法 行业 家居企业网站建设平台 哪个标准用于信息安全 信息安全领导小组 把一个php的网站源文件换到另一个空间后无法访问后台 苏州企业网站建设 网络安全 实训机构 网络营销工作理想 信息安全产业&quot;十三五&quot;发展规划 信息安全服务资质一级 海淀网站建设 网站预算 网络安全认证体系 产品网络安全方针 中央企业网络安全交流 暗网网站 网络安全 倒闭 广州信息安全协会 网络安全安全大会2015 大连大型网站制作公司 厦门外贸网站 在线营销 信息安全产业&quot;十三五&quot;发展规划 网站设计北京新 传统营销 烟台网站建设设计 内容营销的原则 全国大学生信息安全竞赛成都 专注电子商务网站建设 网络安全一点通 网络安全态势可视化 国家网络安全级别 乌鲁木齐网站设计 网站建设制作 南京公司 ncre信息安全技术 重庆营销公司排名 渭南网站建设 广州信息安全协会 怎样建网站 产品网络安全方针 全网整合营销推广公司 信息安全服务资质一级 武汉网络安全中心 苏州企业网站建设 2016国家信息安全政策 家居企业网站建设平台 烟台网站建设设计 注册信息安全专家 html5网站建设 重庆南岸营销型网站建设公司推荐 网站主域名 互联网广告营销策划方案 网络安全 倒闭 传统营销 重庆营销公司排名 香港外贸网站建设 互联网广告营销策划方案 企业网站设计需要多久 中国网络安全技术对抗赛 微信手机网站制作 企业网站设计需要多久 化妆品营销情景案例分析 信息安全部全称 杭州做网站 网络安全一点通 网络安全网络端口扫描程序的源文件 定制跟模板网站有什么不一样 广州做网站如何 网站推广专家 信息安全 物理安全网络营销天培营销 网络安全 实训机构 淘宝营销顾问 高端大气网站建设 天津网站策划 网站建设客户问到的问题 网络安全态势可视化 搜网站网 网站开发团队人员 网站制作的收费 厦门外贸网站 德州网站建设 上海企业网站优化 网络营销公司 浙江 棱镜门 信息安全 ppt 注册信息安全专家 网络安全的保护技术 建国内外网站有什么区别 常见的信息安全事件 营销学专家 网络安全大事件 2005网络安全事件 网络信息安全泄露,-1 银川怎么做网站 单位网络安全要求 镇江网站建设公司 科站网站 网络广告整合营销 网络安全法 行业 外贸营销型网站 烟台网站建设设计 泉州网站设计 APP营销特点 网络安全认证体系 杭州做网络安全的公司 北京信息安全公司排名 微信营销成功 不是信息安全所包含的内容是 营销师官网 山东做网站 外贸营销型网站 如何:在 iis 中创建和配置本地 asp.net 网站 微信手机网站制作 chinasec安元可信网络安全平台 贵阳网站优化 网络安全的公司有哪些特征 网站如何备案 哪个标准用于信息安全 互动营销型 高端的佛山网站建设 网站设计的优点和缺点 温州制作网站 网络安全 倒闭