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"
石岛汽车站短途号码青岛汽车北站到胶州多长时间三沙市到广州汽车票价福州汽车南站是不福州汽车客运站湖州 濮院 汽车石岛汽车站短途号码荣昌富吉汽车站图片三沙市到广州汽车票价莱阳至莱州汽车邵东汽车东站规划嘉兴到余姚汽车石岛汽车站短途号码上海到响水汽车要多久嘉兴到余姚汽车三沙市到广州汽车票价石家庄到平原的汽车金坛到海安汽车站时刻表湖州 濮院 汽车湖州 濮院 汽车安陆到汉口的汽车德阳几个汽车在嘉定北长途汽车站电话莱阳至莱州汽车东莞到淮安的汽车票山海关到临沂汽车北海到厦门汽车要多久福州汽车南站是不福州汽车客运站平阳到南京汽车安陆到汉口的汽车惠民到临邑汽车站时刻表五十年后,奥里雷亚诺:“站在你面前的是,共和国的传奇上校,自由党的精神领袖,永不失败的战争之神,奥里雷亚诺!” 尤尼尔:“站在你面前的是,斗鸡兴起人,传奇神话,香蕉之父,弑神者,失眠大师......你最亲爱的叔叔,尤尼尔!” “还不过来挨打!” (纯土著视角,保证没看过《百年孤独》的同学也能放心食用)金融大佬曹明义意外身亡,回到上世纪九十年代,身份变成一个混子。 面对糟心的家庭,困窘的生活,看他如何一步步由小做大,翻云覆雨,站立傲世极巅!当宝可梦世界不再美好和和平,一切涌动在那平凡的表面下的黑暗都将被揭露,我们的男主云扉——一位21世纪宅男,又将以怎样的手段改变这一情况呢? 云扉:‘去吧,阿伯怪,使用亚空裂斩!’ 路人:‘纳尼,你这阿伯怪招式不合法。’ 云扉:‘我是阿尔宙斯指定的男人,当然合法。’ 且看云扉在宝可梦世界里如何一步步走上巅峰,又是怎样成为黑白两道的王。别人穿越都是封侯拜相,为啥我穿越过来就只有半个小时的命? 还好有系统送了100亿两黄金! 花1两黄金就得1分钟寿命?这买卖划得来啊! 有什么事情,是用金元宝解决不了的? 1个金元宝解决不了,那就用100个、1000个! 一个落魄书生,靠着黄金开道,称霸天下的故事!主角林凡意外的从现代穿越到神魔大陆修仙世界,由于这个世界的修仙者实力都比较弱小,导致整个世界几乎差点被魔皇控制掉,可就在那时候,有几位比较厉害的修仙者去攻打魔皇,最终签订了和平协议,但是直到那几位修仙者飞升之后,魔皇不遵守条约继续攻打修仙者。 而林凡则是在这个世界上撩起了妹,组成了这个世界上最强的战队,带领他们攻打魔皇。架空玄幻,世间强者分为灵者和武者,帝国先皇驾崩,皇子夺嫡,乱世开始,又遇千年魔兽预言破解,大陆迎来魔兽潮来袭的新危机,在与之对抗过程中寻找到创世之神的遗迹,发现本大陆是万年前地外文明所建立的监狱,为了打破创世之神锁定的基因锁,主角在远古时期的人工智能帮助下,成功将人类解救;幽魂怨鬼频频出现,这是意味着什么吗?世间即将大乱吗? 在阴穴里滋养数十年的厉鬼,我该怎么去应付? 被饿鬼蚕食的人类,我该怎么去拯救? 从地狱里冲出的鬼潮,我又该如何面对… 隐藏在世间的妖魔,我又该如何分辨… 埋在地里的千年僵尸,我又该如何消灭… 面对冤魂厉鬼我也很害怕,稍不留神就会要了我的命! 石山,穿越到了一个名为神州浩土的大陆,被一个老头收为徒弟,但是他却资质极差。 老头撒手人寰后,偌大个宗门只能靠他的师妹去撑起门面。 不过好在,他觉醒了散财暴击系统,只要将机缘赠予他人,他就能得到暴击奖励。 石山“师妹,这百年修为丹,你快吃了它。” “师妹,这裂土境的神兽龙虎兽,你快与它签订契约。” “师妹......” 石山的师妹“呜呜呜,师兄对我太好了,不管什么机缘,他都给我,完全不为他自己考虑一下。”谁说人无出头日? 隐忍数年的林知命霸道崛起,纵横都市,将所有曾经看不起他的人踩在脚下! 势利丈母娘?给我闭嘴! 豪门公子哥?给我跪下! 强大武术家?给我爬开! 女神级老婆?来,亲一个! 霸道是他的处事风格,不服就干是他的行为准则。 且看一代霸婿,如何上演逆袭后的彪悍人生! (请关注老施抖音号:1299243741,或者抖音搜17K老施) 一个废物网瘾少年 因为一个机缘巧合的机会 误入修仙一途 为实现心中所想 一路披荆斩棘 最终正道
人类实是动物 玄幻:四域神尊 校花女神别脑补,我们双向暗恋了 救赎的傀儡 神本怪物 随性而活 开局:我用石头换功法 丧尸危机:我重生在末日 崩坏世界的刑天铠甲 剑龙江南义 电竞之路:昂狮 冠宸天下 鸿威 大恶人系统 世界的面人旅行者 受命于天,既寿永昌 笙之物语 横古龙帝 北宋纨绔:开局狗头铡,包大人饶命 弑神之劫 北海到厦门汽车要多久 石家庄到平原的汽车 哈尔滨飞机场到汽车站怎么走 湖州 濮院 汽车 青岛汽车北站到胶州多长时间 平阳到南京汽车 哈尔滨飞机场到汽车站怎么走 淄博到济宁的汽车多长时间 浦城到松溪汽车时刻表 上海到响水汽车要多久 太原长途汽车站叫什么 太原长途汽车站叫什么 东莞到淮安的汽车票 石家庄到平原的汽车 石岛汽车站短途号码 山海关到临沂汽车 新发地到木樨园汽车站 北海到厦门汽车要多久 章丘到莱西汽车 三沙市到广州汽车票价 网上订的汽车票怎么取 三沙市到广州汽车票价 章丘到莱西汽车 嘉定北长途汽车站电话 邵东汽车东站规划 荆门至巴东汽车时刻表 北海到厦门汽车要多久 章丘到莱西汽车 章丘到莱西汽车 浦城到松溪汽车时刻表 湖州 濮院 汽车 网上订的汽车票怎么取 福州汽车南站是不福州汽车客运站 石岛汽车站短途号码 东莞到淮安的汽车票 山海关到临沂汽车 福州汽车南站是不福州汽车客运站 哈尔滨飞机场到汽车站怎么走 东莞到淮安的汽车票 南阳_保康县汽车 山海关到临沂汽车 淄博到济宁的汽车多长时间 安陆到汉口的汽车 新发地到木樨园汽车站 嘉兴到余姚汽车 网上订的汽车票怎么取 太原长途汽车站叫什么 山海关到临沂汽车 荆门至巴东汽车时刻表 金坛到海安汽车站时刻表 亚星官网 亚星游戏官网 亚星官网 亚星官网 亚星游戏官网 大宁第一衙内 我的透视超给力 修真身份被曝光了 穿越:秦朝 沧桑的漂泊人生 欧博官网 亚星游戏官网 亚星官网 欧博官网 澳门葡京游戏官网 嘉定北长途汽车站电话 福州汽车南站是不福州汽车客运站 网上订的汽车票怎么取 平阳到南京汽车 荆门至巴东汽车时刻表 东莞到淮安的汽车票 邵东汽车东站规划 嘉兴到余姚汽车 淄博到济宁的汽车多长时间 莱阳至莱州汽车 章丘到莱西汽车 淄博到济宁的汽车多长时间 南阳_保康县汽车 德阳几个汽车在 北海到厦门汽车要多久 北海到厦门汽车要多久 哈尔滨飞机场到汽车站怎么走 惠民到临邑汽车站时刻表 东莞到淮安的汽车票 湖州 濮院 汽车 嘉兴到余姚汽车 三沙市到广州汽车票价 北海到厦门汽车要多久 淄博到济宁的汽车多长时间 金坛到海安汽车站时刻表 浦城到松溪汽车时刻表 平阳到南京汽车 北海到厦门汽车要多久 嘉兴到余姚汽车 平阳到南京汽车