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"
西安非营销类公司外贸网络营销主要营销方式有哪些聚美营销手段行业平台网站建设山东网站建设成都网站开发信息安全研究室哪个最好信息安全服务包括怎么加强网络安全途牛网网络营销策略网络安全研究所大莲网站建设公司内部列表email营销信息安全工程系网络信息安全维护系统个人信息安全示例,-1信息安全工作组夏玉明 信息安全成都网络营销整体外包成都网络营销整体外包信息与网络安全防范技术四川大学信息安全实验室广东省信息安全企业网站内容商城网站都有哪 些功能昆明网站设计公司网络上营销推广代理信息网络安全2017信息安全认证审核员行业平台网站建设信息安全认证审核员全国各地突然爆发病毒,全国委员会在世各地设立安全区,此时,一个感染者来到御水小镇,打破了平静的生活,宇轩带着朋友开始了他们的故事……杨涛是一个天才高中生,他能否顺利杀入NBA呢?为了迎合他,我练手练了半年多,孩子和生病的老妈都没大照顾。没想到,他打勾级是那种打法。木易忿忿地说。她那双桃花眼里好像突然间水就蓄满了,随时都可能溢出来似的。 怎么个打法?水弯好奇地问。 无邪少女!木易用手轻轻点了一下水湾的额头,情绪也平静了少许,双眼里的蓄水也明显下降了很多。 秦虺听到木易的话,噗嗤,忍不住就笑了。他和岳一轮终于明白木易的同事怎么突然间就能李代桃僵,领先木易无数个身位,成了陈教授的博士生。魂,乃人之始。 内魂,乃人之本。 一切以魂而生,一切以魂而死。 究竟是奋起直追,还是自甘堕落。 内魂,方可掌控乾坤!  道尘本是一个毫无灵根的废柴,注定无法修炼,但是他确实一个顶级富二代,本以为,就只能平平淡淡的渡过这一生,可谁都没想到,他在一次濒临死亡时,发现了自己的真实身份,从此开启了他这传奇的一生……“我,将会是这个世界的神!” 看一个名为陈凡的少年如何在另一个世界称霸,拯救众生欢迎大家走进C世界,里边有不一样的妖,不一样的王。无数人类降临荒原大陆,成为领主! 每人获得一种初始随机兵种与一座英雄祭坛! 攻城略地,抵御怪潮,称霸无尽荒原! 方宇随机到了最无用的人族兵种......大夏人族。 “哈哈哈哈!我的兵种是黑暗骷髅,英雄是唤灵法师,我城里的怪比外面还多!” “还是没我的强,我的兵种是比蒙巨兽,强到没边!” 看着信息,方宇无奈摇头笑笑。 是啊,你们都挺厉害的。 不过嘛...... “大夏城从一方小城发展到了足以抗衡帝国的存在,那位叫做李世民的英灵功不可没啊!” “糟了!大家快撤!嬴政来了,这家伙一天到晚就想着统一荒原,再不走,箭雨就到脸上了!” “老子的思想遍布了整个大陆,大夏又出了位神阶圣人!这是继墨子、孔子之后的第三位圣人了啊!这还怎么玩啊?” “什么老子?靠!那是太上老君!快跑!” 那一日,万族震恐!原来最强种族还得是人族! 大夏人族!!!一个巧合,一段经历。野微微因为一次意外被卷进了一个匪夷所思的世界。本是一个刚上高中的女孩确拥有了一种神奇的能力。遭遇背叛能够保持心态,遭遇绝境奋力拨开迷雾,遭遇不公执着于平等,遭遇低谷从未放弃,只为坚守那一份心中的美好
网络营销免费自学网 信息安全等保必要性 在常用的网络营销方法中哪些网络营销的方法更适合中小企业 营销 服务 广东省信息安全企业 亚信网络安全巡展2017 员工信息安全培训 南京网站优化 长春微营销 网络安全 测试网站 网络安全设备连接方法 个人信息安全示例,-1 重庆微信网站制作专家 五大营销系统 网络信息安全维护系统 网络安全检测软件 营销 服务 北京建设网站的公司哪家好 深圳软文营销推广 营销专业托队 网站开发与建设 企业网站适合做成响应式吗 银监会 信息安全 文件,-1 如何使用陌陌进行网络营销 北京建设网站的公司哪家好 网站开发和 重庆微信网站制作专家 银监会 信息安全 文件,-1 信息安全认证审核员 四川大学信息安全实验室 网络安全领导访谈 网站插入地图 上海公司做网站 营销电商 广东省信息安全企业 网络上营销推广代理 如何使用陌陌进行网络营销 省网络安全和信息化领导小组办公室 网站一跳率 网站主页怎么做