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"
系统自带相册软件下载xp系统自带制图软件系统自带相册软件下载免费手机微课制作软件raptor软件英文版下载转发语音的手机软件usb共享软件下载系统自带相册软件下载微课制作软件flash乔纳森软件一度照相软件系统自带相册软件下载能转化5页的fdp的软件亮zuan装x软件口腔诊所软件管理乔纳森软件健康记录软件下载电脑和手机同步的办公软件电脑和手机同步的办公软件小孩定位跟踪软件好手机有什么可以录制的软件哪个好电脑和手机同步的办公软件微课制作软件flashxp绘图软件免费下载raptor软件英文版下载高考训练听力的软件免费手机微课制作软件xp绘图软件免费下载小孩定位跟踪软件好能转化5页的fdp的软件在《绝地求生》里“绝地求生”,是一种什么体验? 秦狩在被一个神秘组织杀害后,却意外进入了《绝地求生》的世界。 原本以为,决赛圈后的“大吉大利今晚吃鸡”已经就是大结局,没想到,却仅仅勉强算是走出了新手村…… “前面那位朋友,你怎么躺下了?” “手雷不能扔给队友啊!?” “打胎是指打轮胎?” “开镜!开镜啊大哥……” “顺风快递?你这是顶风来的吧!”林耀被老头子暗中定下婚事,本想下山退婚,但当看见未婚妻本人时,他态度发生一百八十度转变:“我的媳妇,竟然是冰山女神……”三国-争霸-(本故事纯属虚构,如有雷同,纯属巧合,请勿模仿。) 穿越东汉末年。 听闻:子龙一身是胆,却做保安队长? 据说:吕布死后,关羽看谁都是插标卖首尔? 传言:杀人屠城真英雄?携民度江伪君子? 众多迷题,静待卫鹰为你一一揭秘。 至于网传曹魏那点偏爱,东吴那点喜好? 卫鹰表示:“小孩子才做选择题,成年人自然都要。” 小小侍郎,一朝得志,只手遮天,鸡犬也能升天,导致江山风雨飘摇。 堂堂王子,韬光养晦,忍受欺凌,只为等待黄袍加身那一刻。 不问苍生,迷恋长生,皇帝一心想修炼成仙,羽化飞升。 江山风雨飘摇,妖魔鬼怪难分,酝酿着偷天换日的滔天阴谋。 谁为正道?谁为邪魔? 从来英雄难过美人关,英雄为谁护花?美人为谁心悦? 有人的地方,就有江湖,朝野是权力场的江湖,步步为营、如履薄冰,武林是名利场的江湖,热血冲杀,义盖云天,江湖路上,从来都是腥风血雨。江恒意外穿越御兽世界,本以为拿到了主角剧本,谁曾想却摊上了一个路边随处可见的青玉虫为御兽,还背上了高额的御兽贷款。 还好来自地球的他觉醒了第二御兽天赋——奇迹进化。 只要御兽努力训练,哪怕是卑微的小虫都可以成为翱翔九天的神龙。 这是一个只要努力就有回报的故事。 多年后,江恒蓦然回首,发现身前已经再无一人,自己已经站在了大道的尽头。 曾经的青玉虫已经进化为了混沌灭世魔龙,小人鱼成为了永恒奇迹妖姬,荆棘树怪成为了永恒祈愿之树……在渐渐步入和平的大陆上,阴谋于野心藏于不可见的黑暗中。本来应在棋盘之外的无逝,意外的卷入纷争。少年历经打磨成为锋利的刀,劈开棋盘,走向属于他自己的远方。   为了想要去到的方向,少年肩负着亲人朋友的希冀。   “在没到达尽头之前,我不会停下!” 描写想达到现实未来不仅只有星空大海,还有神话永生!自小能与神秘盖亚生命互换灵魂的东希,如何在这个世界走上巅峰!天道不公,我便逆天 诸子百家,以身正道。入众生以正道,出红尘已修心。贵以身为天下,乃可寄天下;爱以身为天下,乃可托天下。
青阳斩神录 是谁在敲响丧钟 大明:我的皇孙太强了 特种兵之开局截胡林晓晓 横纵流 长生记:轮回之界 洪荒之彼岸 黑源魔藉 战斗兵神 你最近好么 于乐不太成功的自传 重生之古神噬天 空灵髓 无尽世界的尽头 苍穹永生 恒石 网游三国:开局获得神级建村令 我以诗词问长生 风都再面黑暗之时 赋闲贵人 儿童手表定位下载什么软件下载 车子考试软件 健康记录软件下载 raptor软件英文版下载 儿童手表定位下载什么软件下载 4摇钱树网吧计费管理软件 金手指红包软件3.5 365鼠标键盘记录器软件 高考训练听力的软件 相册添加文字软件。 微课制作软件flash 安卓p是什么软件下载 绘制表格的软件叫什么软件 车子考试软件 转发语音的手机软件 raptor软件英文版下载 金手指红包软件3.5 高考训练听力的软件 网吧充值软件快捷键 系统自带相册软件下载 车子考试软件 口腔诊所软件管理 xp系统自带制图软件 亮zuan装x软件 乔纳森软件 绘制表格的软件叫什么软件 高考训练听力的软件 xp系统自带制图软件 网吧充值软件快捷键 高考训练听力的软件 raptor软件英文版下载 车子考试软件 制图大师软件 转发语音的手机软件 xp绘图软件免费下载 raptor软件英文版下载 制图大师软件 健康记录软件下载 绘制表格的软件叫什么软件 口腔诊所软件管理 免费手机微课制作软件 相册添加文字软件。 dvd刻录软件安装包 金手指红包软件3.5 亮zuan装x软件 车子考试软件 安卓p是什么软件下载 免费手机微课制作软件 绘制表格的软件叫什么软件 usb共享软件下载 亚星官网 亚星官网 亚星官网 亚星官网 亚星游戏官网 灵械至上 电子太极鱼 游戏设计师:你们不懂慈善 九转还阳剑 我的明朝之旅 快连下载 亚星管理平台 亚星游戏官网 快连下载 亚星管理平台 xp系统自带制图软件 dvd刻录软件安装包 微课制作软件flash raptor软件英文版下载 xp绘图软件免费下载 相册添加文字软件。 相册添加文字软件。 小孩定位跟踪软件好 dvd刻录软件安装包 4摇钱树网吧计费管理软件 免费手机微课制作软件 转发语音的手机软件 制图大师软件 一度照相软件 微课制作软件flash 高考训练听力的软件 电脑和手机同步的办公软件 网吧充值软件快捷键 365鼠标键盘记录器软件 安卓p是什么软件下载 金手指红包软件3.5 制图大师软件 制图大师软件 手机有什么可以录制的软件哪个好 网吧充值软件快捷键 健康记录软件下载 安卓p是什么软件下载 xp系统自带制图软件 高考训练听力的软件 dvd刻录软件安装包