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"
沈阳免费自行车的软件432软件故事线 软件天气软件大比拼mg7780光盘打印软件横道图绘制软件破解淘宝装饰用什么软件故事线 软件超级录屏软件公司qsv视频用什么软件剪辑可以观看本地视频的软件下载沈阳免费自行车的软件大王卡都可以用那些软件叫做菜的软件哪个好故事线 软件qsv视频用什么软件剪辑长江联合软件电脑版360浏览器下载软件安装闪退360浏览器下载软件安装闪退淘宝留言软件下载旧照片修补软件360浏览器下载软件安装闪退超级录屏软件公司下载录音软件3.0mg7780光盘打印软件扣扣抢红包尾数软件天气软件大比拼下载录音软件3.0如何连接t3财务软件大王卡都可以用那些软件幽默穿越爽文,喜欢的朋友赶紧前来围观咯!首次在17K发表小说,还请大家多多支持!谢谢、谢谢、谢谢!(重要的事都要说三遍,呵呵!)牛天是一个孤儿,自幼被父母抛弃,由于误吃了千年灵芝和毒蟒的血,使自己意外的变成了一个拥有神奇能力的人,他开矿厂开荒种药材,建养殖区,一夜之间暴富,带领全村人走上致富之路,且看一个无名小子,如何从一个小农民逆转命运,叱咤都市。祖星灵力复苏,陆风意外开启传送阵,至此开启异界之旅。什么是咖啡?如果你在半年前问我,我就会说,咖啡是苦茶。80%的后悔,并不是你做了什么而后悔,而是因为你没有做什么而后悔主角林宇在被林族遗弃,在苍砶万油森中因巧合下获得麒麟之力,之后走向了变强之路。 2050年,一颗直径超过10公里的小行星落入浪漫之城玛丽安娜境内,随后,地震引发的海啸淹没了第五大陆,全球气候发生剧变,爆炸扬起的尘埃覆盖了天空,遮蔽了太阳,全球温度下降了约15摄氏度,人类陷入恐慌之中。 2051年,武器商人赫尔曼以合众国的名义进入第二大陆东北角的贫穷国家,索尼亚。 2055年,第二大陆被索尼亚统一 2059年,第四大陆,雨林之国森巴的原政府被推翻,新政府上台。 2060年,第一大陆南部国家被不明势力尽数占领。 2061年,第五大陆剩余土地上,除不列颠帝国外,全部沦陷,同年,赫尔曼发表通告,宣布建立人类复兴政府,向现存各国宣战。 同年,世界建立了北部战时联合国,东部战时联合国以及西部战时联合国,向人类复兴政府宣战。 2074年,这是世界变成地狱的13年后,也是故事的开端。 男主顾易意外穿越到大楚帝国,结果身份和现代社会还是一样平民,在大楚帝国一次意外中获得了系统辅助,完成任务直接一路飙升,咸鱼翻身为一大楚帝王。就像书名上写着的,你加载了危险游戏。 总之我得,在游戏正式开始前,给你个忠告。 呃,没错,说得就是屏幕前满脸不在乎的你... 在这里! 你不该相信任何人! OK!就这样... 总之不论你是谁,在哪里,请相信我,在看到这里的时候,你已经被卷入进了这场危险的游戏当中! 你可以试着回头,可以盯住屏幕,可以闭上眼睛... 但不论你怎么做,它们就藏在你身边,或许是卧室的床下面,或许是卫生间的镜子里(谁知道呢,它们的喜好向来与众不同)。 呃... 该死—— 它们发现我了! 看来我只能送你到这里,下面的路,你得靠自己走了! 还记得我最初说过的吗? 不要相信任何人! 包括... 从床底下朝你伸出手的我!猎妖,是生活。 可这个世界,并不是非黑即白,还有很多需要妥协的地方。 灵气复苏,山海真祖镇压当世一切敌,时过千年,高中生王毅背负山海经,是宿命,还是使命?
仙异传奇 玄幻:本坐从不杀生 修神渡 复仇启示录 无常寻道 随着大众去修道 郑熙破面撞物异世人生巅峰 玄幻:九生轮回 狼战于野 灰渊增殖 一双慧眼看大道 那年鸣潮那些事儿 老子是高手之彩票沉迷 重生1996:胜者为王 大玄驱魔人 一道生万物 侠梦倾心 传说之带来明日的朝霞 诸天从葫芦娃开始 我开高达砍真仙 福建省社保软件 什么立体画图软件好用 长江联合软件电脑版 360浏览器下载软件安装闪退 福建省社保软件 湖北13广联达计价软件 填写序列号软件 三年级英语教读软件 扣扣抢红包尾数软件 大王卡都可以用那些软件 超级录屏软件公司 30秒音乐软件 照片制作视频软件 带模版的 qsv视频用什么软件剪辑 横道图绘制软件破解 mg7780光盘打印软件 填写序列号软件 扣扣抢红包尾数软件 旧照片修补软件 沈阳免费自行车的软件 什么立体画图软件好用 故事线 软件 432软件 叫做菜的软件哪个好 qsv视频用什么软件剪辑 照片制作视频软件 带模版的 扣扣抢红包尾数软件 432软件 旧照片修补软件 扣扣抢红包尾数软件 mg7780光盘打印软件 什么立体画图软件好用 咖啡馆软件 沈阳免费自行车的软件 下载录音软件3.0 mg7780光盘打印软件 咖啡馆软件 长江联合软件电脑版 照片制作视频软件 带模版的 故事线 软件 天气软件大比拼 网上股票买卖软件 淘宝留言软件下载 30秒音乐软件 叫做菜的软件哪个好 什么立体画图软件好用 30秒音乐软件 天气软件大比拼 如何连接t3财务软件 淘宝装饰用什么软件 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 邪灵武侠 一介布衣 五逆神诀 弦引 从三国开始修仙 百度 百度 百度 百度 百度 三年级英语教读软件 mg7780光盘打印软件 咖啡馆软件 长江联合软件电脑版 天气软件大比拼 叫做菜的软件哪个好 淘宝装饰用什么软件 可以观看本地视频的软件下载 照片制作视频软件 带模版的 qsv视频用什么软件剪辑 照片制作视频软件 带模版的 旧照片修补软件 如何连接t3财务软件 网上股票买卖软件 沈阳免费自行车的软件 大王卡都可以用那些软件 旧照片修补软件 淘宝装饰用什么软件 大王卡都可以用那些软件 下载录音软件3.0 什么软件能下载电子进京证 填写序列号软件 湖北13广联达计价软件 30秒音乐软件 淘宝装饰用什么软件 下载淘宝要安装什么软件 叫做菜的软件哪个好 沈阳免费自行车的软件 可以观看本地视频的软件下载 福建省社保软件 亚星官网 亚星官网 万利官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网