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"
福州到永城的汽车舒城汽车站咨询电话长沙南站到杭州汽车票查询博爱县到郑州的汽车高州到南宁的汽车站福州到永城的汽车阜宁到葛塘汽车时刻表长沙南站到杭州汽车票查询河池到梧州汽车时刻表蛇口到新塘坐汽车多久菏泽到无锡汽车票福州到永城的汽车大邑 成都 汽车菏泽到无锡汽车票长沙南站到杭州汽车票查询房山长安汽车站到北京沛县汽车站招工建阳汽车站离火车站高州到南宁的汽车站西盆到重庆汽车柯桥到崇仁汽车时刻表建阳汽车站离火车站河池到梧州汽车时刻表厚街有没有长途汽车站慈溪到象山石浦汽车票日照至盐城汽车时刻表慈溪到象山石浦汽车票犍为罗城汽车时刻表西盆到重庆汽车温岭到长沙汽车站时刻表断桥似断非断,其实还若离若即。昨宵尚重迴,今朝已甦醒,且早恨不归。心事痕迹,频频扰梦里。早安,晚安,我的心急上人。苔花纵如米粒小,也慊慊辄学牡丹开。我虽卑微娇弱,亦会似芳菲璀璨奕偞。白日曣曣不到处,青春骎寻恰自来。惟愿孜孜矻矻、勤勤恳恳的度过朝朝暮暮。“有我琅琊在,齐国境内,谁敢妄自称王!” 天地第九次重启,科技文明失效的同时,个人伟力崛起。 当秩序和认知被洗牌,家国众生又该何去何从。 力量的本质,是守护。 开局一座城,凭手中长枪,再开人间四月天!原发表于B站专栏上的连载中轻小说,我是作者本人。本文主要讲述的是获得了被认为是“由于高维时空与四维时空之间的作用而产生的存在。”的信念之甲的人们的故事。 (注:由于早期构思时只想了相关设定及部分故事所以早期主线部分主角团人物的人设和身世等是在数次纠结后抓阄决定的。)你相信吗,每一个让你内心悸动过的她/他,都会在你心里埋下一粒种子,种子可能不会接着开花,也不会渐渐结果,但它确确实实就埋在那儿,它是存在着的,在等待着缘份重新来过的时候,破土而生,熠熠生辉。 大千世界修真界,封神大战天门关,只因大地被破碎,大法祖师炼乾坤,结界之内难修仙,飞升天劫降,破界离去难复返。如果看小说累的话,就来看看诗吧,偶尔写写小诗,偶尔让生活多些浪漫无数年前灵气复苏蓝星生命变异,人族岌岌可危。 此时,武者应运而生,终于在妖魔的攻击中寻得一丝生机。 林枫以武者为目标,日复一日却不得寸进,都是因为他做了一个奇怪的梦。 梦中,他如同在万万年前度过了一生,循环往复。 直到他发现自己居然能够影响梦中的自己,还能继承部分实力。 基础锻体法,修行百年!参悟出自然呼吸法! 基础血气法,修行千年!参悟出武神不灭经! 基础武者拳法(基础血气法),修行万万年!参悟武道神拳,一拳开天地! “他的基础功法……怎么和武神传下的残缺功法如此相像!” “为何他的炼丹技术……比之活了百万年的家族还要精通!” 直到无数年过后,通天大妖率众妖进攻,人族无力抵抗。 无数人鼎礼膜拜,诵经之声传遍天地! “求武尊救救人族!” 一道武神虚影自泰山之中走出,而这道虚影……写手一个,喜欢随手写一些玄幻类型,如有指教请来。北胜神洲有一处宝地沃野千里物产丰富风调雨顺山美水美,是一个“流着奶和蜜”的地方,其地形三面环山,山高耸入云盛产硫磺,而要到此宝地只有一处入口,但入口处横贯着一条长数十里的城墙,墙高数丈,是就近就地取硫磺山石材而建,故该城墙含有大量硫磺呈现淡黄色,城墙没有城门,城墙外是一望无际的戈壁,戈壁再过去就是大片沼泽以及古老的原始森林,一道城墙之隔两重天。城墙内是人族世界,人们世代安居乐业生活富足,而城墙外的异虫族和异兽族则生活在苦寒贫瘠的土地上。“硫磺城”是异族们对城内人族世界的称呼。原本陈辞作为商界一方大佬,前途可谓一片光明,却遭遇了一场意外事故,经抢救无效死亡。 再次醒来的他,竟然变成了个阉人——北宋童贯! “我这是造了什么孽啊!” 凭借前世经验,以及对历史发展的充分了解,陈辞真正做到了一个好官,同时也是北宋第一富! 后期逞强除恶,匡扶宋室,一统中原,只为打造史上最强北宋! (原谅鄙人浅薄的历史知识,文中可能会出现与史实不符,本文半架空!)
城楼 梦中的失落之城 阴阳决之起源之战 持剑行 云间的梦 异魔, 时之帝君 山海与剑 诸天从武林外传开始 境之破虚 请叫我黑科技大佬 凌云破空 末世少女戴安娜 李浩然的故事第一季 莽苍三世录 植人世界 纨绔剑道 崩坏美好世界现世行 我在大楚当汉王 忘掉自己的人们 厚街有没有长途汽车站 大邑 成都 汽车 河池到梧州汽车时刻表 房山长安汽车站到北京 厚街有没有长途汽车站 西盆到重庆汽车 柯桥到崇仁汽车时刻表 阜宁到葛塘汽车时刻表 太原到徐沟汽车 莱西汽车总站官网 舒城汽车站咨询电话 舒城汽车站咨询电话 福州到永城的汽车 温岭到长沙汽车站时刻表 博爱县到郑州的汽车 广昌到于都的汽车时刻表 柯桥到崇仁汽车时刻表 太原到徐沟汽车 从汽车西站到黄花 慈溪到象山石浦汽车票 大邑 成都 汽车 高州到南宁的汽车站 南宁机场到朗东汽车站 建阳汽车站离火车站 蛇口到新塘坐汽车多久 太原到徐沟汽车 日照至盐城汽车时刻表 南宁机场到朗东汽车站 南宁机场到朗东汽车站 从汽车西站到黄花 高州到南宁的汽车站 广昌到于都的汽车时刻表 博爱县到郑州的汽车 福州到永城的汽车 厚街有没有长途汽车站 慈溪到象山石浦汽车票 博爱县到郑州的汽车 莱西汽车总站官网 厚街有没有长途汽车站 黄平至凯里汽车时刻表 慈溪到象山石浦汽车票 常德到阜宁汽车 西盆到重庆汽车 宝安到英德汽车票 菏泽到无锡汽车票 广昌到于都的汽车时刻表 阜阳哪个汽车站到杭州 慈溪到象山石浦汽车票 太原到徐沟汽车 沛县汽车站招工 亚星官网 亚星游戏官网 亚星官网 亚星官网 亚星游戏官网 异世界:开局对战最强勇者 娘子刚登基,我就成了全民公敌 迷失裁决 网游之日月星辰 三国:刘备帐下,朝九晚五 欧博官网 亚星官网 万利游戏官网 欧博官网 澳门葡京游戏官网 温岭到长沙汽车站时刻表 常德到阜宁汽车 从汽车西站到黄花 大邑 成都 汽车 沛县汽车站招工 日照至盐城汽车时刻表 莱西汽车总站官网 温岭到长沙汽车站时刻表 阜阳哪个汽车站到杭州 高州到南宁的汽车站 福州到永城的汽车 建阳汽车站离火车站 南宁机场到朗东汽车站 宝安到英德汽车票 南宁机场到朗东汽车站 梧州到深圳龙岗汽车站时刻表 日照至盐城汽车时刻表 南宁机场到朗东汽车站 温岭到长沙汽车站时刻表 舒城汽车站咨询电话 厚街有没有长途汽车站 博爱县到郑州的汽车 厚街有没有长途汽车站 从汽车西站到黄花 西盆到重庆汽车 沛县汽车站招工 阜阳哪个汽车站到杭州 宝安到英德汽车票 长沙南站到杭州汽车票查询 太原到徐沟汽车