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"
郓城至嘉祥火车北海至长沙火车东明县到坪上的火车唐山到图门的火车票柳园至酒泉火车时刻表郓城至嘉祥火车徐州往恩施的火车票多少钱东明县到坪上的火车查火车途径车间明细黔江坐火车到万盛乌鲁木齐道张家口火车时刻表郓城至嘉祥火车泰安去宜春火车时刻表乌鲁木齐道张家口火车时刻表东明县到坪上的火车永定至福州火车站西安佛山的火车柳园至酒泉火车时刻表柳园至酒泉火车时刻表襄汾去西安火车票查询荆州到江西火车时刻表宜州站火车查火车途径车间明细从北京到潢川火车票深圳市到泰和的火车宁武到离石的火车唐山到图门的火车票莱西到江苏的火车站时刻表襄汾去西安火车票查询两当到武都有火车站一言定生死,一语变乾坤。你若待我不仁,休怪我不义 天才少年龙武被好友暗算,被未婚妻背叛,重生回到十岁那年开始他的复仇 穿越遇重生,前世之仇,今日来报 现实融合网游? 高玩是人形核弹? 为了给可爱童养媳治病,吕天穿越后果断开挂玩网游,觉醒SD天赋,无限复制敌人属性,并且果断低调选择职业奶妈! 属性高?拿来吧你! 残血了?不慌,一口奶爆! 人形核弹?不好意思,我人形二向箔! 满级龙女BOSS? 乖乖过来当坐骑吧你! ……一夜之间,世界遭逢巨变,本是平民百姓的你,却意外拥有了罕见的异能......大荒里不知名的小村子,几位少年从这里走出,开启属于他们的传奇人生。 黑暗中的幕后者从沉睡中苏醒,天地棋盘悄然展开,一切才刚刚浮出水面……大坑村的傻子陈一鸣,偶然获得先祖传承,成为村里的神医,专治吹牛逼,还有各种疑难杂症,只是娇美村花要嫁给他,邻家小妹爱上他,城里的小姐也要倒追他,陈一鸣十分苦恼,他能制服全世界,却治不了自己的桃花源,怎么办,谁来解救?穿越异界,没有系统,没有外挂,这还让人怎么活!是躲于阴沟暗角苟且偷生还是绝境拼搏逆天改命?且看雇佣兵王为穿越异界的精彩人生。爱崩坑,爱扯闲篇。一头小龙仔子抬头问他的父亲,“父亲,光明的尽头是什么啊?” 巨龙看了看小儿子,宠溺的回答道,“孩子,光明的尽头,就是我们啊。” 小龙仔挠了挠头,看着漆黑的翅膀,这就是光明的尽头吗?人类,妖兽,恶魔,,三种种族出现地球上。但不断的战乱使天使与恶魔几乎灭绝。 而男主王昊天作为魔族后裔背负起振兴魔族的使命。
美漫之绝对掌控 废柴的异世界升级之路 穿越!第五人格 无处寻梦 CNC苍蓝暮光 大燕第一世子 这个魔帝有亿点强 乾灵九霄2 他来自蛮荒 渡死 我在冥界被内卷 让你举报无良中介,全判刑了? 山狼 墨羽笙箫传 尘间录 异世界:我!一生要强! 神域凡尊 某人你好 当个皇帝真难 让你表演惊悚片,怎么全成真的了? 宜州站火车 北海至长沙火车 恩施—北京火车时刻表 查火车途径车间明细 宜州站火车 宜宾到安庆火车时刻表 郓城至嘉祥火车 九江到景德镇火车动车时刻表 山东到福建泉州的火车 泰安去宜春火车时刻表 石家庄到宁波的火车路线 石家庄到宁波的火车路线 从北京到潢川火车票 永定至福州火车站 郓城至嘉祥火车 深圳市到泰和的火车 订退火车票的电话 宁武到离石的火车 武汉一昆明南火车站有多远 东明县到坪上的火车 宜宾到安庆火车时刻表 东明县到坪上的火车 武汉一昆明南火车站有多远 宜州站火车 黔江坐火车到万盛 火车石家庄到南京 宁武到离石的火车 武汉一昆明南火车站有多远 荆州到江西火车时刻表 宁武到离石的火车 柳园至酒泉火车时刻表 宜宾到安庆火车时刻表 唐山到图门的火车票 郓城至嘉祥火车 从北京到潢川火车票 深圳市到泰和的火车 唐山到图门的火车票 绵阳动车火车站时刻表 从北京到潢川火车票 苏州至遵义的火车票多少钱一张 深圳市到泰和的火车 九江到景德镇火车动车时刻表 襄汾去西安火车票查询 订退火车票的电话 乌鲁木齐道张家口火车时刻表 宜宾到安庆火车时刻表 石家庄到宁波的火车路线 深圳市到泰和的火车 火车石家庄到南京 西安佛山的火车 亚星游戏官网 亚星官网 亚星官网 亚星官网 亚星官网 光辉的印记 日常朝夕 英雄联盟的奇迹时代 五大守护神 一 神王太古 万利官网 欧博官网 皇冠登3出租 万利官网 快连下载 永定至福州火车站 徐州往恩施的火车票多少钱 莱西到江苏的火车站时刻表 郓城至嘉祥火车 荆州到江西火车时刻表 火车石家庄到南京 订退火车票的电话 苏州至遵义的火车票多少钱一张 宁武到离石的火车 永定至福州火车站 永定至福州火车站 深圳市到泰和的火车 柳园至酒泉火车时刻表 郓城至嘉祥火车 苏州至遵义的火车票多少钱一张 襄汾去西安火车票查询 宜宾到安庆火车时刻表 两当到武都有火车站 山东到福建泉州的火车 郓城至嘉祥火车 九江到景德镇火车动车时刻表 从北京到潢川火车票 绵阳动车火车站时刻表 东明县到坪上的火车 宁武到离石的火车 永定至福州火车站 宜宾到安庆火车时刻表 莱西到江苏的火车站时刻表 从北京到潢川火车票 武汉一昆明南火车站有多远