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"
支付贷怎么取消贷款重庆按揭房贷款政策芝麻贷款app苹果4s店贷款都能办下来多少钱啊4s店贷款利率高支付贷怎么取消贷款重庆抵押贷款不看征信芝麻贷款app苹果重庆装修 公积金贷款条件500万住房贷款30年利息是多少钱5000以下贷款软件支付贷怎么取消贷款重庆 按揭房屋贷款5000信用贷款怎么办理芝麻贷款app苹果500万住房贷款30年利息是多少钱重庆商贷取公积金贷款吗4s店贷款买车的流程4s店贷款买车的流程正规大额贷款公司注册重庆按揭汽车抵押贷款4s店贷款买车的流程重庆装修 公积金贷款条件正规大额贷款4s店贷款利率高中银消费金融贷款被拒4s店贷款都能办下来多少钱啊征信怎么样不能贷款买车正规大额贷款公司招聘重庆 按揭房屋贷款魔尊李长风逃婚来到了人界,因贪恋人间美食被卷入一段段因果。 唐明最终还是选择了自我了解,他没有放弃,而是带着执念来到了地下大陆。在那里获得了许多值得信任的伙伴,可在这个弱肉强食的世界里,拥有伙伴,有什么用呢? (简介无力,新手作家,请见谅) 在你面前的 是两个世界的救世主 图鉴持有者“约定之人” “合理”的代名词 火箭队首领 研究界的最强训练家 对战界的最强研究员 「对战传奇」 扣no李何哒一个现代的社畜高松在意外之下穿越到了三国时并且绑定了言出法随系统,主角先是在座小县城精准预言了曹操的遭遇之后又指点提前建立了大魏王朝并被拜为帝师,在120岁时飞升前往仙界因为系统出现故障把他带到了一个高武位面之后他就发现了这个高武位面的秘密。你相信这个世界上是没有鬼的,都市传说也总是有迹可循,八尺大人是人撑着木偶,灵异公车只是高仿车伪装,猫脸老太用面具拐卖儿童。不过当儿童用伞顶着的帽子被家长收回,在街上的“野公交”被交警罚下,人贩子被判刑7年,谁又能解释这之后的状况呢?是神?是鬼?还是人?只有我是正常人! 为什么会有喜欢动不动扑过来的人啊! 为什么会有喜欢掐着人的老头子会存在在这个世界上啊! 为什么还有个不动的……呃,这个还挺正常的。 为什么只有我是正常人啊! —— 世界上迷离的问题背后总会有惊人的答案,奇怪的事情总会出乎人的意料。 寻朝的苏武,以己换苍生的朱德,布阵病逝的诸葛孔明。游戏竞技+重生穿越+星际战争+权谋争斗+自带系统+异世界 罗天,世界最成功元宇宙游戏《开元》的创立者,年薪百万,早已走上人生巅峰! 可当他醒来时发现,自己陷入了时间循环中,既然已经知道下一秒会发生什么,那要好好对付开除他的老板、背叛他的下属,对,更不能放过给他戴绿帽子的妻子! 刚爽完,竟得知所谓的人生循环不过是游戏副本,愤怒! 好在300年后重生的他,免费获得英俊潇洒的身体一枚。 啊?这身体还是皇帝的傻儿子,那好歹给我配个顶级系统吧! 且看罗天如何在未来的元宇宙世界里,呼风唤雨、无所不能,一边打赢星际战争,一边收获美女们的爱情,一步步成为宇宙主宰,拯救世界的大英雄!一代传奇摘星者! 新作者一枚,笔耕不辍,保证日更,谋生不易,求关注一波,送我上榜!一颗天地初开时,第一缕鸿蒙紫气孕育的神秘源种。 一部被尊为万法之源,大道之纲的逆天功法。 一把替天罚神、屠戮万界神魔的残破古剑。 一个死而复生,天资妖孽的热血少年。 一段逆天改命,横扫万界天骄,镇压亿万神魔的狂暴之旅。 我名楚天辰,这是我的传奇,我为众神之主!大魏国皇子赵无极在万象山,悟道十年。 直到,他遇见了魔道圣女,倾国倾城的陈灵素。 那一日,万象山剑仙将魔女护在身后。 而他面对的,是无数恐怖的江湖势力,和强横无比的帝国军队。 他朗声道:“若注定要与天下为敌,我便今日入魔!”  穿越后的钟文被一个小萝莉捡回了只有女弟子的飘花宫; 这个世界最顶尖的功法、灵技、知识统统来自上古; 于是,研究看不懂的上古文字,成了时代的潮流、身份地位的象征; 偶然的一次机会,翻开一本由上古神文写成的书; 他惊讶地发现......
仙魔逆之轮回身 光与暗之绝代天骄 傲策 大明权相 鬼佛剑帝 影殿实习生名录 天下第一帮 大唐:开局成皇子,被李二曝光 都市修仙归来 系统爆炸,我被冰封了百年 掉线城与虚弱勇士重启 修仙:我能无限模拟人生 末世人类魂穿巫族后裔 转生成我自己?!! 朽魂万骨枯 幽异之王 桐湖秘境 重生神猿,我能掠夺别人气运 星际穿越之外星文明 过山车 重庆按揭贷款比例 500万住房贷款30年利息是多少 重庆商贷取公积金贷款吗 4s店贷款买车的流程 重庆按揭贷款比例 征信怎么样不能贷款 重庆生源地贷款网上填 500元贷款秒到 中银消费金融贷款被拒 重庆 按揭房屋贷款 重庆装修 公积金贷款条件 重庆身份证小额贷款利息 正规大额贷款 500万住房贷款30年利息是多少钱 正规贷款在哪儿贷 4s店贷款利率高 重庆生源地贷款网上填 中银消费金融贷款被拒 重庆按揭汽车抵押贷款 支付贷怎么取消贷款 500万住房贷款30年利息是多少 芝麻贷款app苹果 重庆按揭房贷款政策 5000信用贷款怎么办理 500万住房贷款30年利息是多少钱 正规大额贷款 中银消费金融贷款被拒 重庆按揭房贷款政策 重庆按揭汽车抵押贷款 中银消费金融贷款被拒 4s店贷款利率高 500万住房贷款30年利息是多少 4s店贷款都能办下来多少钱啊 支付贷怎么取消贷款 征信怎么样不能贷款买车 4s店贷款利率高 4s店办贷款能贷一年 重庆生源地贷款网上填 正规大额贷款 4s店办贷款能贷一年 4s店贷款利率高 中英人寿保单手机贷款 正规大额贷款公司注册 重庆身份证小额贷款利息 5000信用贷款怎么办理 500万住房贷款30年利息是多少 重庆装修 公积金贷款条件 4s店贷款都能办下来多少钱啊 正规大额贷款公司招聘 重庆抵押贷款不看征信 亚星官网 亚星官网 亚星游戏官网 亚星官网 亚星官网 诡秘之奇迹制造者 瑰案:紫瞳神探 奇异国 大武不良人 仙都至尊 澳门葡京游戏官网 葡京官网 快连下载 澳门葡京游戏官网 欧博游戏官网 重庆生源地贷款网上填 500万住房贷款30年利息是多少 重庆身份证小额贷款利息 重庆按揭房贷款政策 正规大额贷款公司注册 重庆按揭房贷款政策 重庆装修 公积金贷款条件 中银消费金融贷款被拒 500元贷款秒到 重庆 按揭房屋贷款计算器 重庆 按揭房屋贷款 正规大额贷款 重庆按揭贷款比例 正规大额贷款 4s店贷款买车的流程 5000信用贷款怎么办理 正规大额贷款 重庆装修 公积金贷款条件 5000信用贷款怎么办理 500万住房贷款30年利息是多少钱 500万住房贷款30年利息是多少 芝麻贷款app苹果 正规贷款在哪儿贷 中英人寿保单手机贷款 重庆按揭房贷款政策 中银消费金融贷款被拒 重庆按揭贷款比例 重庆抵押贷款不看征信 4s店贷款都能办下来多少钱啊 5000以下贷款软件