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"
春游吃零食写作文慈溪童声作文初三写老师严厉的作文成长烦恼作文1000字诚信写事作文300字作文春游梅园的作文500字春节明俗的作文400字初三写老师严厉的作文挫折的陪伴作文800字春天景色作文600子春的作文教案春游去田野的作文春游作文300字河边春雨的样子作文一百字春色美景作文500字从动起来为话题的作文初三写老师严厉的作文慈溪童声作文慈溪童声作文春节传统食物作文200城市的小学作文慈溪童声作文诚信写事作文300字作文春天的想念作文写景春天的乡下作文800字春天景色作文600子春色美景作文春天的想念作文写景春节传统食物作文200春游作文300字河边作者平平淡淡一凡人,随着命运之手的操纵,不断思考、成长。有一刀,夺命,夺造化。有一刀,断因果,了尘缘。有一刀,碎天地,破苍穹。才发现天有三十三,第三十三重天的那人....传言心门每名弟子都是门主,都是强者。 ……… 破天荒的,那个平时最冷漠的人出“门”了… ………失忆的少年,醒来后唯一所拥有的只有身边的一把黑剑。他渴望回忆起自己的记忆,机缘之下,少年救下了一名美丽的少女,少女作为回报愿意无条件的收留并帮助他寻回记忆,从此以后,少年以一名学生的身份重新开始生活。命运的齿轮同时开始旋转,不断回忆起来的记忆碎片,为何都与千年前的魔王有关呢?一个个的邪星士,一个个的记忆碎片,在记忆的碎片面前,他会做出如何的抉择呢?他最后的愿望,又会带领这个世界走向怎样的尽头呢?【无限流+诸天+主神】本在国家会展中心领奖的李景,睁眼发现自己晕倒在一间毛胚房中。 冰冷,封闭,死寂的环境让他惊疑不已。 待他跑至窗口往外看时,他才发现…… 他竟被困在了一栋即将爆破倒塌的大楼中!穿越成首富之子,生活乐无边。 某一天,二娘竟然为了钱,逼我娶女魔头。 为了自由,揭竿而起,我从今天起直播带货。 一不小心就暴富了是怎么回事? 在古代直播带货,后宅夫人们,不要太爱我!龙峰,某特种部队退役后,一次乘坐游轮遇到飓风……醒来时,龙峰发现自己出现在一处岛屿的海滩。这处岛屿荒无人烟,里面处处杀机,有吸食血肉的树怪,还有身如巨山的凶兽……生存还是毁灭?龙峰开始了自己在异大陆的传奇人生。天赋不够,系统来凑。 穿越异界的顾言喜提回收系统。 世间万物回收之下都可以超级加倍? 那岂不是无敌了? 信心满满的顾言当即就决定这一世一定要不同凡响走向世界之巅。 本故事纯属虚构,如有雷同,恭喜恭喜,所见略同。少年沈翔得到无上传承,获得逆天神脉,学得绝世神功,掌握超绝丹术,这使他在武道之路春风得意……饿的时候炼点丹药当零食吃,无聊时耍耍那些来求丹的武道高人……想观看更多的精彩内容,请收藏关注《傲世丹神》! 【微信公众号jixiaozei88 QQ群572384158】 深渊之下,一双双非人的眼眸兀然睁开,紧盯着我的身体,身体就像是被施了定身术一般,难以动弹,根本来不及多想,我只知道头也不回地向前跑去。 跑着跑着,慌不怿路的我被一根破烂不堪的白骨绊倒了,被绊倒的我迅速地从地上站了起来,却发现竟不知从何时起,我早就已经沦为了一直追在我身后的怪物之一。 “这里是哪里?身后的这些可怕的怪物又是从哪里来的呢?”无尽的疑问在心底升腾而起。 眼前发生的这一切究竟是梦境还是地狱?虞朝十万年以来,各等修真家族层层把控修行资源,世人皆以为寒门再难出贵子的时候,孟浩然却是在暗中观察。 你们斗法,我种田……   你们打架,我囤货……   你们争夺,我抄底……   直到众人回过神来才发现,原本处于微末之中的孟氏一族已经逆流而上,步步为营,直抵巅峰仙家!
全能制作人 抑郁者的世界 我是天道编程员 私家侦探之小人物 凭什么到我穿越就是大青虫 三界降灾浮沉录 走出黎明 和小秘一起探寻隐秘 香水与星河 都市亦邪 吾觞次元 风吹仙地 毁天剑魔 封魔录之天地裂变 理想国的破灭 归璞 神隐之城 我的百变怪不可能这么可爱 足球引路人 一知往事 春雨的样子作文一百字 春天的色彩作文 素材 春节日记作文300字三年级 城市的小学作文 春雨的样子作文一百字 春天的校园作文初中 春游去田野的作文 春节的第一天的作文300字 春节要做哪些事作文 春天小学作文600字 挫折的陪伴作文800字 春色美景作文500字 从失败中学会成长作文600字 春天景色作文600子 春游梅园的作文500字 诚信写事作文300字作文 春游去田野的作文 春节要做哪些事作文 春天的乡下作文800字 春游吃零食写作文 春天的色彩作文 素材 初三写老师严厉的作文 慈溪童声作文 创业作文反例 春天景色作文600子 从失败中学会成长作文600字 春节要做哪些事作文 慈溪童声作文 春天的乡下作文800字 春节要做哪些事作文 诚信写事作文300字作文 春天的色彩作文 素材 初一学会生存作文800字 春游吃零食写作文 从动起来为话题的作文 诚信写事作文300字作文 初一学会生存作文800字 春节日记作文300字三年级 从失败中学会成长作文600字 初一学会生存作文800字 诚信写事作文300字作文 春天的想念作文写景 春游作文300字河边 春色美景作文500字 创业作文反例 春天的色彩作文 素材 春色美景作文500字 成长烦恼作文1000字 春天的故事初一作文 春节明俗的作文400字 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 长安斩妖录 穿越有外挂 拥有超能力后的我 都市上门狂婿 破劫传说 亚星管理平台 葡京官网 AG真人 亚星管理平台 万利官网 创业作文反例 春的作文教案 春天小学作文600字 春节明俗的作文400字 春色美景作文 春游吃零食写作文 城市的小学作文 从动起来为话题的作文 初一学会生存作文800字 春雨的样子作文一百字 春天的色彩作文 素材 春游梅园的作文500字 春节日记作文300字三年级 春节日记作文300字三年级 春节的第一天的作文300字 春节的第一天的作文300字 创业作文反例 春的作文教案 成长烦恼作文1000字 春节明俗的作文400字 春色美景作文 春游梅园的作文500字 城市的小学作文 春色美景作文500字 初三写老师严厉的作文 春雨的样子作文一百字 春的作文教案 春游作文300字河边 春节明俗的作文400字 春节明俗的作文400字