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"
我国信息安全管理淄博做网站公司有哪些小型公司网站建设手机信息技术网络安全网络安全专家林伟sem营销策划方案网站数据库制作网络安全公网接入网络安全创新500强北京搜索引擎营销外包潍坊网站建设多少钱我国信息安全管理信息安全vpn源码长葛网站建设郑州网站建设、网络营销机会分析报告上海搜索引擎营销郑州网站建设案例制作网站的步骤长葛网站建设网站建设链接成都建设网站首页网络安全法 解读注册网站网餐饮网站建设全球著名网络安全事件信息安全等级保护从两个不同角度对信息系统提出了安全要求陕西网络安全论坛app 网络安全 证书信息安全能考研吗网站设计品李复,一个22岁矿工,末世发生后偶得地下避难所系统。 他在地下造房收租,造餐厅有肉吃,造水厂有干净水用,造武器武装幸存者,造基因库帮助幸存者进化突破。造药房便宜出售,你在别的地方买不到的药我这里都有。 李复地下城的租客任何人见了都要礼让三分,说不定租客就身负超级血脉。 想住进李复的地下城吗?想过神仙般的日子吗?那就看你有没有那个运气了! 穿越到天龙世界的屌丝,凭着对原著小说的耳详能熟,是选择修炼成绝世高手还是辅助原著主角成就霸业?不,武功要练,最重要的是篡改剧情,别让乔峰自杀…三年前,大婚之日,他遭人暗算,被人投江。   三年后,他脱胎换骨,再临故地。   这一次。   他绝不会再让任何人主宰自己的命运.....神奇的异世界,斗气与魔法交相辉映。 人族,龙族,兽族,神族,魔族,精灵族,亡灵族,百族混居。 一介孤儿,如何在这乱世生存? 历经磨难,步步为营,只为坚持自己的梦想! 我要踏足魔法之巅! 叶云运气爆棚意外得到一个高纬度制造的次元面板, 并且利用面板走上了穿越诸天万界...... 天元历1214年,天元王朝在经历了数百年的繁荣后,终于是盛极必衰走向了衰亡,其时天下大乱群雄崛起,所谓秦失其鹿,天下共逐之!且看谢长安是如何从一个山野小子一步步的走向武学巅峰并一统天下,建立百花王朝,成为后世敬仰的百花大帝! 建立了粉丝群1012144039,小伙伴儿们可以进群一起畅聊。唯一微信公众号是老三的books。简介:光明与黑暗,烈火与寒冰,在这个混沌的世界之中。 一个无名少年的出世,搅动乾坤,颠覆世界。 亲情、友情、爱情、勇气、冒险。 在少年的身上逐渐显现,直到冰与火的对决。本书有机甲也有修仙,有游戏也有武学。 胖子玩游戏很厉害,也会一点武学,只可惜时运不济。 人遭逢低谷,就会应合物极必反的定律,他遇到了仙。 机甲,意念控制的机甲,从游戏模拟训练开始,胖子一步一步走上最强机甲驾驶官。一日之间,我从受人敬仰的师兄变成了门派弃徒。 被师父冤枉后逐出师门?和我出生入死的结拜兄弟背叛了我?就连和我青梅竹马的小师妹也不愿意相信我? 君子周而不比,小人比而不周。且看剑道天才左不比如何从绝境中寻找希望,从不幸的泥潭中奋起,在只身一人的江湖中书写一个属于君子剑的不朽传奇!【灵异、悬疑、惊悚、探险、宠物、系统、游戏、搞笑】 废弃的别墅,消失的山村,黑暗的血楼…… 人头蜘蛛,红衣厉鬼,浑身是手的怪物…… 在这个深夜的恐怖世界里,王尊稳如老狗,遇人先问娘,杀鬼必扬灰,万事只求一个安稳! 别人还恐惧在诡异怪谈中时,王尊在惊悚游戏世界里杀疯了。
郑州网站建设、 上海搜索引擎营销 Internet接入·网络安全 信息安全拓扑图 广东营销网站建设服务 b2c网络营销模式 6p营销案例 互联网营销思想 网站外包多少钱 网络营销实验教程 网络有哪些营销方式有哪些影响因素 政府网站信息安全系统 柳州网站建设 莱州网站建设 信息安全能考研吗 网络安全公网接入 整合营销公司简介 无锡网站推广 整合营销公司简介 移动网络营销优缺点 别人不相信网络营销 西安网站推广 网站建设需要具备哪些知识 网站八个 常州网站制作包括哪些 微博营销的特点有哪些网络信息安全相关专业,-1 怎么建com的网站 营销型高端网站建设价格 永恒之蓝 网络安全 信息安全在线教育 上海网站制作 信息安全渗透培训,-1 工信部 国家信息安全研究中心 信息安全审计管理办法 网络有哪些营销方式有哪些影响因素 bat招聘信息安全专业 网络安全方案建议 禅城区网站建设公司 无锡网站推广 网站设计规划书