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"
信用卡无密码境外手机购物用信用卡怎么操作淘宝突然不支持卖家信用卡支付如果用信用卡支付没成功国外银行信用卡在国内怎么使用信用卡无密码境外淘宝信用卡每日限额淘宝突然不支持卖家信用卡支付两个中行信用卡已经转账么没有信用卡怎么显示信用卡呢?京东信用卡手续费信用卡无密码境外中国银行信用卡外币消费限额京东信用卡手续费淘宝突然不支持卖家信用卡支付京东商城买东西用信用卡安全吗淘宝信用卡必须快捷支付国外银行信用卡在国内怎么使用国外银行信用卡在国内怎么使用兴业信用卡网申制卡中淘宝信用卡如何支付给卖家淘宝用信用卡算不算刷卡两个中行信用卡已经转账么淘宝用信用卡怎么支付企业店铺信用卡支付信用卡有钱刷不出来如果用信用卡支付没成功淘宝信用卡网银支付兴业信用卡网申制卡中淘宝收取招商信用卡手续费一阵眩晕竟穿越成了历史上的他,一个集开国君主和战神的合体,一生无败仗。 到了这等虎狼之地,他明白要想在这种乱世中活下去,必须要尽快适应这里的一切,一路在冰冷权谋和残酷战争中逆袭而上。 东晋十六国中统一北方的苻坚站在长安城上举目远眺,形势一片大好。 灭了东晋便能一统江山,然而,他身后是一个强大的民族,慕容鲜卑族的崛起,到底谁能一统江山。一场淝水之战,彻底逆时针改变了华夏历史,最终一代雄主在北方崛起。飞星坠世,山庄尽屠,一老一少骑着大青马离去,十余年后,小子出成,老人带着他重回少林,掀开五十年前的江湖风雨,故事之后,小子又该何去何从? 江湖一统,究竟是壮举,还是阴谋? 背后之人,到底是英雄,还是奸贼? 佛门四蒂,上浩传人,华山君子剑,川蜀姥姥山,又将卷起怎样的江湖故事?顾复唐:“天不遂人愿又如何?我便逆天而行改天之命!” 暗月:“杀手,应当纯粹,不问雇主,不问缘由,收钱只问杀何人……” 郭威:“赤胆忠心,日月可鉴,纵你是皇帝,也容不得你践踏!” 絮舞:“英雄若是不懂软玉温香,便是个石头,那生命还有何意……” 真不是本人经历。 在火影世界中原本一心向木叶的宇智波止水,为了阻止宇智波一族发动政变,准备对其族人下手,却被团藏偷袭而,最终计划落空而跳下悬崖,而跳崖后的止水却发现自己并没有死,并开始了无尽的旅行十方阁守安十方,这是一个少年一步一步成长为王的故事,当王临之日,即是诛杀逆臣之时(简介无力,可以先阅读片刻,再做思量嗷) 这篇文章是我对现实生活中一些事情的深省,并以这篇小说表达出自己的一些见解。读者在浏览时可以思考关于某些事物的了解我们是否相同。是谁布局百世,这天上又是谁在住,谁又是最后的棋手?且看神以凡人鬼怪为棋,而我要掀开这百世棋局!事情每天都在发生,所以我尽量每天都写一写。不要在乎它的真假,你当茶余饭后的故事。你说它是真的,那我希望你能通过这一段一段的故事,有个分辨心,未来不要经历一些骗局五年前,前女友得重病,韩浩耗尽积蓄,四处借贷,最终换来的是前女友治愈嫁给富家大少,自己还被强制送往精神病院。 五年后,韩浩强势归来,一手治病,一手惩恶扬善,彰显大国妙医风范。
白鲸之梦 都市修真日记 严舆列传 电影世界历险记之我的猫咪 末日世界之异能觉醒 我王凡没有开挂 一剑朝仙 争锋千里 异世盛燕 龙纹战神 大明:开局上交双穿门 西游:我唐三藏作死小能手 神纹天 一见任平生 末日道士行 鸦之报返 魔格星囚徒 黑色乐园 修真身份被曝光了 骓驲传 信用卡有钱刷不出来 京东商城买东西用信用卡安全吗 淘宝信用卡必须快捷支付 国外银行信用卡在国内怎么使用 手机购物用信用卡怎么操作 淘宝信用卡网银支付 企业开设信用卡账户 中行信用卡支付额度 淘宝可以用平安信用卡支付吗 中国银行信用卡外币消费限额 信用卡网购退款到哪里 信用卡网购退款到哪里 淘宝用信用卡怎么支付 京东商城买东西用信用卡安全吗 信用卡无密码境外 企业店铺信用卡支付 信用卡网购团购有免息期吗 信用卡有钱刷不出来 建行信用卡提额到三万 淘宝突然不支持卖家信用卡支付 支付宝用信用卡支付要手续费吗 淘宝突然不支持卖家信用卡支付 建行信用卡提额到三万 淘宝用信用卡算不算刷卡 没有信用卡怎么显示信用卡呢? 信用卡交易失败怎么回事 信用卡有钱刷不出来 建行信用卡提额到三万 淘宝信用卡如何支付给卖家 信用卡有钱刷不出来 国外银行信用卡在国内怎么使用 支付宝用信用卡支付要手续费吗 如果用信用卡支付没成功 信用卡无密码境外 淘宝用信用卡怎么支付 企业店铺信用卡支付 如果用信用卡支付没成功 企业开设信用卡账户 淘宝用信用卡怎么支付 淘宝买家在那申请信用卡 企业店铺信用卡支付 中行信用卡支付额度 兴业信用卡网申制卡中 信用卡网购团购有免息期吗 京东信用卡手续费 支付宝用信用卡支付要手续费吗 信用卡网购退款到哪里 企业店铺信用卡支付 信用卡交易失败怎么回事 淘宝信用卡必须快捷支付 亚星游戏官网 亚星官网 亚星官网 亚星游戏官网 亚星官网 梦想纪元游戏 王者荣耀之天才少年 玉绫璃 神魔守护者 三英乱世录重发 亚星官网 欧博游戏官网 欧博官网 欧博官网 亚星游戏官网 淘宝信用卡如何支付给卖家 中行信用卡支付额度 信用卡交易失败怎么回事 信用卡交易失败怎么回事 淘宝信用卡每日限额 淘宝信用卡每日限额 没有信用卡怎么显示信用卡呢? 两个中行信用卡已经转账么 淘宝信用卡必须快捷支付 淘宝用信用卡怎么支付 淘宝突然不支持卖家信用卡支付 中行信用卡支付额度 信用卡网购团购有免息期吗 国外信用卡安全嘛 淘宝收取招商信用卡手续费 企业店铺信用卡支付 中行信用卡支付额度 没有信用卡怎么显示信用卡呢? 淘宝用信用卡怎么支付 淘宝用信用卡怎么支付 淘宝收取招商信用卡手续费 淘宝收取招商信用卡手续费 京东商城买东西用信用卡安全吗 没有信用卡怎么显示信用卡呢? 淘宝信用卡必须快捷支付 信用卡网购团购有免息期吗 手机购物用信用卡怎么操作 如果用信用卡支付没成功 支付宝用信用卡支付要手续费吗 兴业信用卡网申制卡中