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"
重庆微信营销怎么学网络营销整合杭州互联网营销培训固原网站建设中国 局网络信息安全国外网络安全事件有哪些网络安全工程师考试要求成都网站设计公司价格信息安全实验室排行网络安全 内容贵阳企业网站设计制作后端营销案例淮南网站建设好微博营销的形式饥饿营销是经济现象吗阿里云 信息安全阿里云 信息安全内容营销百度百科网络安全的漏洞购物网站建设案例信息安全最佳实践信息安全属性不包括是____.验证码 网络安全淘宝大学营销免费课程搜索引擎营销包括什么外贸模板网站深圳信息安全产品销售,-1网站备案与域名关系网络与信息安全管理员,-1中文网站模板验证码 网络安全千古一帝李玄烨在登基之日享受四方来贺之时惨遭妻子师父联合杀害,但竟意外转世重生,成为一废物皇子,但凭借君王的权谋与自身强大的力量再回巅峰,当其带兵直取二人狗头之时,得知其中秘辛,从此……解佩珠令《又名:我的灵判大人!》讲述了他们的侠客的故事!“原本的上官雨晴”生活在桃花仙姬如雪她姑姑世俗于欲望之中寻到自己的天庭主娘!在守着千年一遇的古墓才想起来她竟然是九尾狐小帝姬。而天庭饱满的众人不满意这位九尾狐小帝姬“上官雨晴(上官漓雪)”青丘白胧月上仙…是出了名的护短~为了她小侄女上官雨晴什么事情都做出来。可无奈的是慕思域高冷的他。又怎么可能逃的过这情字?这两字呢《他开始对上官雨晴心动了》结局中“是在一起的~”跨越了这世俗的纷纷扰扰、也跨越过情劫中才知道相爱又难得是一见钟情。剧冬炎黄历3000年,灾难生物降临!世界巨变,好在人类可以继承神明力量成为神使,这个阶段被称为神明传承!赤橙黄绿青蓝紫!依靠神秘小鼎觉醒的李文成为赤色传承者,从此以后灾难生物一步步走向末日,正当所有人以为世界“和平”之时,更大的危险…… 降临了! 法师们目空一切,贵族们高高在上,大商会只手遮天;在这人吃人的世界里,我看到了深渊的触角,文明的退化,和微弱的希望。穿越后的钟文被一个小萝莉捡回了只有女弟子的飘花宫; 这个世界最顶尖的功法、灵技、知识统统来自上古; 于是,研究看不懂的上古文字,成了时代的潮流、身份地位的象征; 偶然的一次机会,翻开一本由上古神文写成的书; 他惊讶地发现...... 不会种田的乡村少年牛小田,误打误撞拜师老神仙,看相风水医术道法无所不能,从此人生开挂。这是一个关于娱乐圈里爱情长跑的故事。当剧本人生里的龙套遇上了他人生与剧本里的女神时会产生什么样的化学反应和故事?这故事有点搞笑有点猥琐,有点伤痛也有点感动! 碧波荡漾的归墟海,一万多座如珍珠般的岛屿,大的纵横数千里宽,小的只有几里宽,点缀在广阔的归墟海域,称之为归墟群岛……意外穿越大秦,成为八公子嬴子夜,觉醒神级阅读系统,只要读书就变强!只要读书就能获得无限奖励,只要读书便可入圣! 为此,嬴子夜终日闭关读书,兢兢业业,不招灾,不惹祸。 终有一日! 始皇重危,意欲东巡求长生。 墨家蠢蠢欲动。 六国余孽准备造反。 赵高意欲篡改遗诏。 …… 嬴子夜知道,这时候不能继续藏了!再藏大秦不复、自己也将被胡亥杀死! “扮猪吃虎十余年,今日本公子不藏了!” “今日,本公子以读书入圣!一剑斩天!” “传令,三千大雪龙骑军出动!” “传令,铁浮屠出动!” “……” 天才少年江辰为解身世之谜入世修行。 一手银针渡世人,一身修为镇强敌。 红尘练心,于都市中成长。 这世间,没有我江辰救不回的人,也没有我江辰惹不起的人!
衡水做网站找谁 信息安全解决方案公司 信息安全cnas认证 深圳网络营销哪家好 信息安全官 流程网站 丹阳网站建设 注册信息安全员怎么样,-1 互联网+网络安全 什么是病毒性营销方法 重庆微信营销 上海网站建设在哪 营销推广方案 营销型网站定制 黑客网络安全培训 网络整合营销网络广告 网络安全的主要威胁是 网络营销网站 天津交通信息安全网 全网营销有什么好处 网络安全 ctf 北邮网络安全学院 饮料创意营销策略 南京网站制作公司 安徽省信息安全 传统营销方式的手段 国际间的网络安全 国家网络安全网易 网络安全 两会 上海网站改版哪家好营销者网站 一个虚拟主机在原网站根目录下加个子目录用域名转向怎么操作?珠海品牌机械网站建设 四叶草 信息安全 信息安全 情报,-1 江苏网络安全 信息安全产品类型 搜索引擎营销包括什么外贸模板网站深圳 中文网站模板 网站没更新 营销的宏观环境 国家网络安全