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"
网站设计行业资讯网络安全信息监控接口武汉新公司做网站企业网站优化网站的构建信息安全cism珠海网站建设上海网站设计公司网络安全 湖南两会有网站后台清徐网站建设京东商城营销页面全网微营销免费注册网站空间温州手机网站制作公司电话网站设计分析教育类营销案例企业官网响应式网站国家信息网络安全标准威胁网络信息安全网络安全需要注意哪些福州网络营销网站网络安全与防护 ppt深化对网络营销认识丰都网站网络信息安全与防护网京东商城营销页面网络营销创新模式营销型官方网站做网站价格单页面网站开发我叫楚枫。 我穿越了,竟然还成为了一只卡比兽! 正准备躺平,结果觉醒了大卡比兽系统 肚子饿了天降能量方块,嗑着磕着突破了 永久失眠换来了自律就能无限变强。 本来我以为自律就是坚持锻炼健身, 没想到触摸极限后,系统居然要我练武,还要横练! 越练越大只 大只,就是强。 人点烛,鬼吹灯,恶灵守,盗墓王。 当结合了四系的少年穿越到盗墓的世界时,整个世界都要被玩坏了。 胖子:我师兄牛逼,和他下墓我就没怕过。 三叔:七爷是我见过最厉害的倒斗高手。 张麒麟:他比我强。他曾经单挑契族大军一万精锐,尽斩马下…… 他曾经孤身一人,闯进齐周国皇庭,亲手拧下了齐周国王的脑袋…… 他曾经奔走千里,追杀三千古蒙国铁骑…… 他是唯一一个从十八层战神塔活着出来的人…… 他是名震天下的绝命公子。 他是让天下英豪闻风丧胆的嗜血战神。十方阁守安十方,这是一个少年一步一步成长为王的故事,当王临之日,即是诛杀逆臣之时(简介无力,可以先阅读片刻,再做思量嗷)毕业直接就职保安,少走四十年弯路的陈煜,在救人的时候发生意外,一段精彩的旅途开始了。 第一世界-红楼倪旰在与歹徒博斗后昏迷,并意外进入异世界,会有什么神奇的命运等待着他呢? 本小说阅读难度:低在修仙世界中有位平凡的少年,表面平凡,但灵力和境界深不见底!加入修仙中学后位置为无灵力这就此踏上修真之路。老嫂子按摩店的老板,李浩明面是个按摩的小白脸,实际上确是苏家大房家的赘婿,而赘婿你也不过是他为掩盖真实身份所找的幌子。 医道圣手,玄门的执法长老,苏辰穿越到平行世界,恰逢末日降临!   在所有人都疯狂逃亡时。   他的精神力却在穿越的时候变异了,开局能够操控丧尸。   当别人过着生不如死的逃亡日子,苏辰却活得越发滋润,还有大小美女相伴!   过起了没羞没噪的生活!   不仅如此!苏辰还发现只要不断吞食晶核,精神力就能够操控一切!   物体、重力、星辰、空间、时间...   ···   我叫叶紫萱,是一个重生者!   未来的我觉醒了宇宙4大力量之一磁场掌控,威震八方,人称万磁女王!   可就在我觉醒之时,妹妹却因救我而死!   这一世,我要守护她!   就在我领着她要去最大的基地时,一个叫苏辰的男人出现了,并不怀好意地盯着我们俩。   为了守护妹妹,我只能咬牙挺身而出...箴言:你在左,我在右,莫回头,煮酒把歌...少年风行逐月夜,青春无载盼悠悠,红尘情剑断如苟,苍渺仙路难觅觅,彼岸花开三杀变,匡匡渠穹夭夭仙!鲲宇虚纳动九天,龙游伏洞藏九地!宙杀时势,天谕机变,苍穹点极,斗转星移!战仙歌,青锋白落谁主星瀚沉浮.....?
网络安全咨询公司 网络安全事件响应 网络营销新媒体技巧 网站制作 广州 美国网络安全宣传周 网络营销观后感 信息安全检测包括哪些 工控信息安全防护指南 全网微营销 e春秋 网络安全实验室 e春秋 网络安全实验室 网络安全的实施 重庆网站真实案例 普洱网站建设 国家信息网络安全标准 上海网站设计公司 网络安全事件响应 edm营销模版 网络安全事件响应 顺德网站建设公司价位 网络安全的安全技术 网站制作 杭州公司 校园网络安全分析 厦门的网站 企业网站多少钱 微网站域名 新浪微博内容营销 昆山高端网站建设 海尔网上营销案例分析 国外优秀网站设计欣赏 南宁信息安全 重庆大型的网站建设 绵阳市公司网站建设 网站建设价格标准信息 e春秋 网络安全实验室 群营销好处 网络营销创新模式 株洲网站制作 edm营销模版 我想要网络安全现在中毒了