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"
毛概论文的题目毛主席思想小论文毛概论文的题目毛概论文提纲怎么写毛概论文写什么毛概课的论文1500字毛概小论文五百字毛概论文的题目毛主席的历史地位论文毛概社会主义论文范文毛概热点剖析论文毛概论文的题目毛概网络小论文题目毛概期中考试论文毛概论文的题目有哪些毛概社会主义论文范文毛概小论文怎么写毛概毛主席论文毛概毛主席论文毛概课程论文范文毛主席军事思想论文毛概毛主席论文毛主席的历史地位论文马克思经济全球化论文毛概论文写什么矛盾联系生活1500论文毛概论文提纲怎么写马克思经济全球化论文毛概课程论文范文毛概网络小论文题目他本是龙国最年轻的国医圣手,却因为一次意外,重生回到了四年前。 上一世,他误入歧途,痛失妻女,尝尽了人间疾苦! 这一世,面对妻女的失而复得,他势要弥补当年的遗憾,快意恩仇。 且看一代鬼医传人,如何凭借一手鬼神难辨的惊天医术,守护心中挚爱,成为最强都市奶爸!自己练笔随笔安放之处某天绿被应聘的一个奇怪的公司,只因为无意中参与到……【大家好,说出来你们可能不信,我马上就要穿越了,如果可以,我需要准备些什么。】 【在线等,急......】 工业革命带来了生产力的井喷,资本在血腥掠夺中欢笑。悲惨的人民,恶劣的环境,这个世界黑暗而动荡。个人的自由能否在时代成全?未来的星火已经点亮,那是一片崭新的天空。九州神王李长青,被兄弟偷袭陨落,却意外重生归来。 尘封万年的洪荒大妖,将成为他的助力, 万界之中,修最强之术,炼顶尖灵药,布绝妙大阵…… “前世我能登临巅峰,这一世我也一样可以,诸天万界,终有一天,我会卷土重来!” 一个发生在魔法科技并行高度发达世界的故事。 一些不平凡的人和平凡人共同铸造的世界,在和平繁华的表现之下,这里暗流涌动危机四伏,藏匿于久远历史之中的秘密在世界时局变动之际缓缓解开.... 身世不明的少年与这样的时代里步步前行,在推动世界历史的齿轮缓缓前进之时却也在缓缓迈向世界的尽头 少年会成长,孤独的影子却常常伴随。 这是另一个世界的漫长故事,是一段充满了秘密的传说....一个本不应该活着的人,在承受苦难、理解痛苦之后,他便不想让别人也处在痛苦之中。他受过的苦,不想天下人再度承受。他有着必须变强的信念,但天赋制约让他举步维艰。他不怨恨自己的天赋,选择了另辟蹊径弥补天赋的不足。不甘遭受被摆布的命运,阳子冀走出了一条灿烂的人生之路。 PS:此书男主有四不:基本不开挂,不存在越级虐杀,不喜欢说骚话,更不是狠辣之人。喜欢暴爽打脸虐杀的可以绕道了。。。。。。另外,本书的剧情主要以人物之间的对话推动,人物之间的对话应该占据本书的6成以上,不喜欢听话痨的也可以绕道了。。。。。。本书展示的,是一个合理的低武走向高武世界的过程我是谁?我在废墟残垣中醒来,人类和机器人的战争让世界都濒临毁灭,谁来救救我们?谁来救救世界?谁来拯救这次末日之战?黄玫瑰的降临预示着罪行的到来,又一个雨夜的悬案
京城小少爷 有志者事必成之凤栖梧桐 走过云端 破晓枪声 随着大众去修道 我的身世太奇妙 戒之子 热血技师 武校的生活 与水浒共进退 人在娘胎:我和女帝相爱相杀 鸦之报返 无量仙宫 灵陆:风屿 我吞噬无双 天道修魔记 玉过添琴 全真传奇 伏魔少侠 口袋妖怪梦的开始 矛盾观看待自己论文 毛概热点新闻论文 毛概小论文怎么写 毛概论文写什么 矛盾观看待自己论文 马克思:关于矛盾的论文 毛择东的军事思想论文 毛概实践教学论文 矛盾联系生活1500论文 毛概网络小论文 毛主席的历史地位论文 毛主席的军事思想论文 毛概经济论文800字 毛概热点新闻论文 毛概课的论文1500字 毛概论文写什么 毛择东的军事思想论文 矛盾联系生活1500论文 毛主席军事思想论文 毛概论文的题目 毛概热点新闻论文 毛概论文的题目有哪些 毛主席思想小论文 毛概期中考试论文 毛概社会主义论文范文 毛概经济论文800字 矛盾联系生活1500论文 毛主席思想小论文 毛主席军事思想论文 矛盾联系生活1500论文 毛概论文写什么 毛概热点新闻论文 毛概论文提纲格式 毛概课的论文1500字 马克思经济全球化论文 毛概论文写什么 毛概论文提纲格式 毛概小论文怎么写 毛概经济论文800字 毛概论文的题目有哪些 毛概论文提纲怎么写 毛概网络小论文 毛概课的论文 毛择东的军事思想论文 毛概期中考试论文 毛概热点新闻论文 毛主席的军事思想论文 毛概论文提纲怎么写 毛概经济论文800字 毛概小论文五百字 亚星官网 亚星官网 亚星游戏官网 亚星官网 亚星官网 我不是神父 签约被拒100次,硬刚到底 留香传 星辰破千里 戒之子 皇冠登3出租 亚星管理平台 澳门葡京官网 皇冠登3出租 亚星官网 毛概论文的题目 毛概网络小论文题目 毛主席思想小论文 毛概小论文五百字 毛概网络小论文题目 毛概经济论文800字 毛概小论文五百字 毛主席的军事思想论文 马克思:关于矛盾的论文 毛主席的军事思想论文 毛概热点剖析论文 毛主席的战略思想论文 毛概期中考试论文 毛概论文的题目有哪些 毛概热点新闻论文 矛盾观看待自己论文 毛概网络小论文 矛盾观看待自己论文 毛概论文的题目有哪些 马克思经济全球化论文 矛盾联系生活1500论文 毛概期中考试论文 马克思:关于矛盾的论文 毛概课程论文范文 毛概毛主席论文 毛概课的论文 毛主席的军事思想论文 毛概论文的题目 毛主席的军事思想论文 毛概网络小论文