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"
丽江到重庆的火车路线怎么走近泰安通兰州的火车票小南海到隆昌火车12306烟台到淄博普通火车票多少钱济南西 重庆的火车票代售点丽江到重庆的火车路线怎么走近广汉货运火车站小南海到隆昌火车12306从息烽到贵阳火车时刻表建始到昆明火车票东信到火车站打车小南海到隆昌火车12306包头到青岛火车怎么走最近高密到上饶火车万州有到娄底的火车吗建始到昆明火车票上海站到颖上站的火车站集宁到白城的火车集宁到白城的火车哪些火车路过榆林从扬州到上海市火车集宁到白城的火车从息烽到贵阳火车时刻表杭州萧山几个火车站在哪里济南西 重庆的火车票代售点滁州到合肥有没有火车票查询烟台到淄博普通火车票多少钱杭州萧山几个火车站在哪里哪些火车路过榆林包头到青岛火车怎么走最近李贤穿越了,来到一个叫大秦皇朝的世界。 别人穿越要么成为皇帝,要么成为富家子,可我却成了个太监! 还好拥有金手指,能够让我变回真正的男人。 本想就这样苟在皇宫内逍遥快活,可世事难料,皇位更迭灾祸蔓延到了整个大秦。 奸臣当道、外敌入侵。 眼看着自己的快乐生活被打破,李贤只好站出来。 诛邪、斩妖、扫黑、除恶... 誓死守护大秦,保护后宫三千佳丽。玄界有一个没有人知道的秘密,只要找到七颗神树,便可达到传说的境界。 云陌州一个小家族的年轻一辈林秦突然被叫去后山拜师。 这个少年一路上会遇到多么精彩的世界。 御兽时代,全民契约。 异界生灵将在100天后入侵蓝星。 前世,林秋因为防御太弱,没有熬过那百日之后的灾难。 重生的林秋,觉醒了神级御兽师天赋【大自在】,拥有了为其御兽自由加点的恐怖能力。 出于谨慎,他将自由属性点全点防御力。 一个远超想象的史诗时代出现在他面前……听 昨夜有戎狄,叩我雁门关,攀我十丈城墙 看九州有烽火,江山千万里,烽火次第燃 我高歌送君行,掌中弓虽冷,鲜血犹是滚烫 且为君倾此杯,愿君此行归来,踏凯旋……余跃从2022年穿越会了玛雅文明时代,发现这居然是个可以修炼成神的时代……少年魏杰因车祸而亡,灵魂出窍,空越到古代,附体于被毒杀的同姓名、同年龄的古代少年。 死而得生的古代修真少年魏杰,拥有了现代少年的知识,古今结合的少年。被炼气门、炼体门的门主同时收为亲传弟子,指定为继任门主。由此演绎出一场场喜怒哀乐的人生大剧。“身为主角的我居然没有系统!?”张辞旧穿越到了修仙界,成为了气运之子,本以为能无敌于世结果被天道告知世界被各种各样的系统侵入,而且还都想着干掉自己成为新的气运之子,对此张辞旧只想说“既然不能安稳的做个气运之子那就做个大反派喽。”【模拟器系统】+【幕后大佬】+【密室逃脱】+【诙谐文风】。 这是一个既惊悚又搞笑的故事。 他永远能让玩家知道,什么叫生得自由,死得随机。 他也永远能让对手明白,什么叫以德服人,殡至如归。 他叫薛东! 在这个平行世界里,他就是神一般的存在。 因为斜刘海,永远遮不住他右眼的哀伤,更挡不住他锋芒四射的魅力。 然而,他却更喜欢隐于幕后,默默操纵着他人的命运……修真成仙最重要的因素是什么?   资质、功法、法宝、丹药? 是,但不全是!   修真成仙最重要的是机缘,是运气!只要运气足够逆天,想不成仙都不可能!   数位高级散仙的全部遗产、数之不尽的天材地宝、仙魔妖佛人五界排名第一的法宝、排名第一的天地奇珍、排名第一的修练资质、排名第一的奇功妙法?……   这些统统都不是问题!运气来了,挡也挡不住!   叶秋离的修真生涯只有一句话:仙缘在手,天下我有!漆黑一片 你:这?是哪里,我?又是谁。 陌生的声音:“你好啊,来自异世的意识, 欢迎来到次元。” 你:意识?次元? 陌生的声音:“在一切开始之前,请记住我的话,不要试图冲破法则,不要触动禁忌,更不要死…不要半途而废,就做一个旁观者就行了,好了就让一切开始吧,睁开你的眼” 声音消失了 你突然听到了风声,很大,但你却感受不到,你慢慢睁开眼,发现自己正在高空自由落体,还没等你搞清楚状况,你已经落地了,由于你存在特殊所以你安然无恙,落地后你遍开始了所谓的旁观。
最后一代茅山派传人 大明赘婿:我喊老婆端洗脚水 无限游戏之世界 笔下之物 男主集中营:五个气运之子 幕尘 绝仙道灵 洪荒:开局通天偷看我日记,自废圣位 当代酒神 转生异世界却成为失忆者 他在黑暗看着我 剑指云水间 超凡进化:横推九天万界 亲情暴力 华佗救我 妄想命运夜 一切重归混沌 九狱金身诀 异世的希望 燕武纪 哪些火车路过榆林 高邑至北京火车时刻表 太原一南宁火车票价 成都到长河坝的火车 哪些火车路过榆林 丽江到重庆的火车路线怎么走近 泰安通兰州的火车票 上海站到颖上站的火车站 买火车票没实名认证怎么办理吗 从通辽到霍林河火车途径 滁州到合肥有没有火车票查询 汉中郑州火车车时刻表 万州有到娄底的火车吗 广汉货运火车站 济南西 重庆的火车票代售点 济南西 重庆的火车票代售点 上海站在杭州站得火车站 滁州到合肥有没有火车票查询 太原一南宁火车票价 小南海到隆昌火车12306 建湖县到上海火车票 万州有到娄底的火车吗 泰安通兰州的火车票 高密到上饶火车 建始到昆明火车票 西安北到菏泽火车时刻表 滁州到合肥有没有火车票查询 泰安通兰州的火车票 太原一南宁火车票价 滁州到合肥有没有火车票查询 济南西 重庆的火车票代售点 建湖县到上海火车票 温州到萧山火车票查询 丽江到重庆的火车路线怎么走近 杭州萧山几个火车站在哪里 济南西 重庆的火车票代售点 温州到萧山火车票查询 上海站到颖上站的火车站 西安北到菏泽火车时刻表 万州有到娄底的火车吗 烟台到淄博普通火车票多少钱 烟台之许昌火车票查询 买火车票没实名认证怎么办理吗 上海站在杭州站得火车站 高密到上饶火车 建湖县到上海火车票 从通辽到霍林河火车途径 烟台到淄博普通火车票多少钱 西安北到菏泽火车时刻表 广汉货运火车站 亚星官网 亚星官网 亚星游戏官网 亚星官网 亚星官网 禁忌收容所 执剑道天 我,大奸贼,卖女帝怎么了 穿越梦境桃花源 光厘 亚星官网 万利官网 欧博官网 亚星官网 AG真人 滁州到合肥有没有火车票查询 小南海到隆昌火车12306 滁州到合肥有没有火车票查询 泰安通兰州的火车票 杭州萧山几个火车站在哪里 高邑至北京火车时刻表 上海站到颖上站的火车站 广汉货运火车站 买火车票没实名认证怎么办理吗 杭州萧山几个火车站在哪里 丽江到重庆的火车路线怎么走近 东信到火车站打车 建始到昆明火车票 丽江到重庆的火车路线怎么走近 太原一南宁火车票价 建湖县到上海火车票 烟台之许昌火车票查询 烟台之许昌火车票查询 济南西 重庆的火车票代售点 万州有到娄底的火车吗 广汉货运火车站 滁州到合肥有没有火车票查询 杭州萧山几个火车站在哪里 镇江到遵义的火车票 上海站在杭州站得火车站 集宁到白城的火车 建始到昆明火车票 从通辽到霍林河火车途径 从扬州到上海市火车 从通辽到霍林河火车途径