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"
gartner全球信息安全市场的规模在2013年达到了672亿美元病毒营销六要素全网营销云推广信息安全工具排名网站建设售前说明书免费的网站广州专业网站设计企业国外优秀营销网站设计今日头条营销策划面试境外建网站信息安全的系统性信息安全等级保护协调小组商城建设网站网络安全的认识安全等级保护配置指南 - 公安部信息安全等级保护评估中心网站建设的搜索栏怎么设置建设网站运城做网站中国最强信息安全专家物联网与网络安全网站流程信息安全事件有哪些内容可信网络安全网站有哪些内容网站建设 上市公司信息安全等级保护备案证明网络营销小文案例子新乡网站建设信息安全风险管理活动主要包括网络安全攻防实战教程微博营销的特点是什么意思太平年间,三界暴乱,五行混绕,妖兽不在被五行拘束,跃出三界,不在五行之中,三界之中内部矛盾,三界之外妖兽纵横,凡人,仙人,魔人该作何决定,三界存亡如何,一切尽在五行云霄!  李乘风穿越到一个妖魔横行的世界,成为青城山的一个守山人。   奈何他没有灵根无法修炼,只能安安分分做一个普通人。   但是有一天,他的系统突然变异了,从此成了一个令一众妖魔闻风丧胆的得道高人……   这妖怪也太弱了,我都没有出剑呢,怎么就死了。   我养的一条狗,居然是横扫妖界的一方妖王。   我池塘里的乌龟,竟然蜕变成了洪荒神兽。   之前跟我下棋的老头子,最后竟然成仙了。   还有那个最喜欢听他吟诗作对的漂亮姐姐居然修仙界第?仙?。   知道这些真相之后,李乘风开始怀疑人生:   我该不会真成为绝世高手了吧? 世间万物,周而复始;盛衰之源,宿命轮回。数百万年后,地球因资源枯竭引发大战,让曾经的大洲、大洋变成了一块荒凉的大陆,绝大部分陆地在战争中沉入海洋,本以为地球将文明会因此消失在宇宙历史之中,不曾想因上古大战导致外泄的地球内核能量,却奇迹般的让地球生命得以进化。十万年之后,曾经满目疮痍的土地再次以无比宽大的胸襟重新接纳人类。当然也不止是人类……一位家境贫寒的少年,经历了常人难以想象的苦难,磨砻砥砺,奋发向上。好不容易华丽转身,完成了人生意义上的大逆袭,一时平步青云,风光无限! 这期间,少年也先后得到了好几位绮年玉貌少女的青睐,演绎出许许多多荡气回肠,缠绵悱恻的爱情故事。其中的情与理,是与非,仇恨与挚爱,痛苦与欢乐,人性与心魔,交互编织成一道道直逼心灵拷问的风景,让人热血沸腾又扼腕长叹!林大厨的故事!!!!!!!!少年天才于洋来到黄海市当保镖,且看他如何走上人生巅峰世间本无路,走的人多了便成了路。天道之始,修行之初。从北疆来到帝都,一切都悄然发生变化,被安排好的命运,幕后之人的命盘......大东王朝之末,江湖纷乱,怪诞诡奇之事接二连三,天道何意,人心何向。具由一石村少年,与你结伴同行,历练江湖风雨。 如果除去天生阴阳眼的话,我的前半生应该是普通的不能再普通了,但自从那天之后,我墨色的生活被染上了色彩。资源不够就去抢,攻城拔寨就是淦。 人类文明严重退化?不用慌,从石器时代干到铁器时代,从蒸汽时代我们冲击电子信息时代…… 无主之地我称王,群雄逐鹿我为帝。 看贫民窟咸鱼翻身成末世废土一代枭雄的成长历程,用铁血手腕生生砸出一个王道乐土,喜乐安平!
信息安全测评认证中心 信息安全工具排名 重庆綦江网站制作公司哪家专业 长春营销外包 重庆搜索引擎整合营销 房产中介网站建设 深圳网站设计工作室 关于开展信息安全等级保护安全建设整改工作的指导意见,-1 网站制作前期所需要准备 被黑网站 商城建设网站 百度问答推广营销多少钱 公安机关网络安全工作 深圳网站设计工作室 国内网络安全公司介绍 余姚网站建设公司 南京网站建设招聘 网站建设中心 用自己电脑做网站 dns 信息安全事件有哪些内容 信息安全测评认证中心 gartner全球信息安全市场的规模在2013年达到了672亿美元 网站构思 南宁网络营销大学 济南网站制作公司报价 同 营销 重庆软文营销推广费用 广大的信息安全网络安全众测平台 整合营销传播的作用 商城建设网站 南通网站建设seo 太原建网站的公司 网络营销新闻 网站构思 公司网络营销的方案设计 国内网络安全公司介绍 信息安全事件有哪些内容 重庆软文营销推广费用 信息安全告知 品牌网站建设维护