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"
阳江肯德基24外卖电话查火车北站电话山东省聊城教育学院电话邯郸金山宾馆电话多少泰安财源新天地电话阳江肯德基24外卖电话日照汽车总站服务电话山东省聊城教育学院电话大兴夜酷电话天长客运站预定电话日照机场航班查询电话阳江肯德基24外卖电话保定到宁城的大客电话日照机场航班查询电话山东省聊城教育学院电话天长客运站预定电话横岗品味快餐电话多少扬州到日照大巴电话是多少时间扬州到日照大巴电话是多少时间河北保定到德州的快递电话是多少无锡到厦门北的动车时刻表查询电话扬州到日照大巴电话是多少时间大兴夜酷电话武汉火车失物招领电话泰安财源新天地电话西安基督教北堂 电话邯郸金山宾馆电话多少常州火车票代售点电话553路公交路线电话保定到宁城的大客电话世纪战乱,人为变更,年年战争最终玄武帝国统一了这片大陆,并命名为玄武大陆。秦一凡出生在黔玄城一个最穷,最偏僻的小村庄里,后来得知自己家族是道教三大顶尖门派伞旗一脉的传人,自己更是天赋异禀来是千年难遇的天纵奇才,为了逆天改命,复兴宗门,从此便踏上修真之路...主角李萧雨穿越到了修仙世界,开启了一番奇妙的旅程小马哥,血战死亡后被万千影迷惋惜,然后复生到鞥司世界,与大学新生马可融合。讲义气的大古惑仔和大学生,不友好的开局,没有提前量的信息集成,只是一个小小锦衣后人。为了寻找失踪的父母,马可只能不断变强,异能者的动乱,外域的强者.......26世纪的知名科学家偶然间得到了一个特殊的石头。于是,白鹿出生了,她是一个全能型机器人,外观酷似活人,有最先进的人造纳尔达斯细胞,想一个普通人。 白祁为了实验把白鹿扔进虫洞里,于是白鹿去了一个特殊的世界,然后被人捡走,又被人抓走,稀里糊涂的就这么成了至上神还顺带捡了一个对象。大褚,绍清十年。 妖邪诡祟肆虐人间,儒释道三教鼎立天下。 世间修者纵横,欲夺天地之气运,觅长生之无极。 陆宴清异界魂穿而来,却被告知仅有一天可活,后意外发现所谓的儒术竟是古诗! 侥幸活命的他本想悠闲的过上自己的小日子,却被不断卷入一个个风暴之中…… 一个强盛的王朝,在烈焰中轰然倒塌。覆巢之下,人们挣扎在未尽的余灰中。许多人扛起了复国的渴望。可是,汹汹而来的鬼蜮伎俩,却将乱局搅动得愈加波诡云谲。好在,大智大勇者的神机妙算,最终冲破了鬼魅的阴霾。然而,一桩被掩藏了数十年的王朝秘事,却始终裹挟在迷雾之中,如今,它更是幻化成一张正缓缓地张开的血盆大口,誓要将这破碎的王朝一口吞下。 一个从死人堆里爬出来的普通士兵,忘记了前世今生,看着眼前这片陌生的世界,好奇,孤寂,恐惧…… 天有多高?三杯烈酒攀苍穹。 地有多厚?痴人一梦十殿游。修仙就是创业,牢牢控制术法技术壁垒,打造自己的修仙市场帝国,看清修仙市场趋势,利用一切能用资源,让你能白手起家,弹射起步。一年筑基,两年得丹,三年走上修仙巅峰!上头了没有,订阅!一朝穿越成为有钱人家的纨绔少爷,本想着就这样当一辈子纨绔子弟,奈何实力不允许啊... 于是,斗反派,除奸佞,平天下,看着自己彪悍的战绩,萧子澄很无奈: “我明明只想当个败家子来着....” 我叫楚枫。 我穿越了,竟然还成为了一只卡比兽! 正准备躺平,结果觉醒了大卡比兽系统 肚子饿了天降能量方块,嗑着磕着突破了 永久失眠换来了自律就能无限变强。 本来我以为自律就是坚持锻炼健身, 没想到触摸极限后,系统居然要我练武,还要横练! 越练越大只 大只,就是强。
澪囬燚:知雨梦幻 网游:我有逆天道具 大汉:老子千古一帝 女帝泪崩:反派师尊被曝光 墨青帝 大镇师 寄生魅影 紫薇大帝龙辉 渡尘,登仙 诛暗 符仙传人在都师 修真家族,稳健发育 校花女神别脑补,我们双向暗恋了 逍遥修仙长生传 网游:一把锄头行天下 我在都市直播练武,弟子三千万 大明:最穷丞相,朱元璋:求求你贪污吧 废材少年的一生 赵国那些事儿 大秦:我靠读书系统成圣闲 郑州澳新国际小学电话 南江县车站电话 横岗品味快餐电话多少 扬州到日照大巴电话是多少时间 郑州澳新国际小学电话 天津河北出入境电话号码 福州到迪口车的电话是多少 广州ktv订房电话 西安基督教北堂 电话 保定到宁城的大客电话 大兴夜酷电话 大兴夜酷电话 武汉火车失物招领电话 天长客运站预定电话 上海信阳高铁时刻表查询电话 泰安财源新天地电话 福州到迪口车的电话是多少 西安基督教北堂 电话 无锡到厦门北的动车时刻表查询电话 阳江肯德基24外卖电话 南江县车站电话 山东省聊城教育学院电话 查火车北站电话 长春万象瑜伽地址电话 广州ktv订房电话 武汉火车失物招领电话 西安基督教北堂 电话 查火车北站电话 无锡到厦门北的动车时刻表查询电话 西安基督教北堂 电话 扬州到日照大巴电话是多少时间 南江县车站电话 邯郸金山宾馆电话多少 阳江肯德基24外卖电话 武汉火车失物招领电话 泰安财源新天地电话 兰州南关全聚德订?x电话 福州到迪口车的电话是多少 武汉火车失物招领电话 兰州南关全聚德订?x电话 泰安财源新天地电话 上海铁路博物馆 电话号码 河北保定到德州的快递电话是多少 瑞康祥药店电话号码 长春万象瑜伽地址电话 南江县车站电话 大兴夜酷电话 邯郸金山宾馆电话多少 553路公交路线电话 日照汽车总站服务电话 亚星官网 亚星游戏官网 亚星游戏官网 亚星官网 亚星官网 一骑当千是书生?! 末世荡漾 万古鬼尊 神将:铁人军玄虎 这一世我再扬帆 欧博游戏官网 皇冠登3出租 百家乐官网 欧博游戏官网 欧博官网 郑州澳新国际小学电话 无锡到厦门北的动车时刻表查询电话 泰安财源新天地电话 查火车北站电话 常州火车票代售点电话 兰州南关全聚德订?x电话 常州火车票代售点电话 横岗品味快餐电话多少 553路公交路线电话 日照汽车总站服务电话 天长客运站预定电话 福州到迪口车的电话是多少 阳江肯德基24外卖电话 大兴夜酷电话 阳江肯德基24外卖电话 天长客运站预定电话 兰州南关全聚德订?x电话 阳江肯德基24外卖电话 日照汽车总站服务电话 兰州南关全聚德订?x电话 扬州到日照大巴电话是多少时间 保定到宁城的大客电话 扬州到日照大巴电话是多少时间 常州火车票代售点电话 日照机场航班查询电话 常州火车票代售点电话 厦门上菜餐厅电话 武汉火车失物招领电话 广州ktv订房电话 上海信阳高铁时刻表查询电话