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"
世羽头像龙幽头像喵萝头像怎么在扣扣好友列表里显示自己没有显示自己头像这选项怎么办yy头像制作器世羽头像吉格斯头像喵萝头像4班群头像qq五角星头像赵丽颖qq头像喵萝头像带鸡巴头像赵丽颖qq头像天下3头像qq五角星头像卫衣头像元宵头像元宵头像滑稽头像另类女头像元宵头像4班群头像初三群头像情侣头像双人头像没人情侣头像双人初三群头像滑稽头像带鸡巴头像本书又名【大明:我人皇的身份被女帝曝光】。 绝世凶人朱厌,穿越到历史爽文《大明劫》中,成为存在感微弱的配角。 他本想安稳度日,跟着书中主角团队吃香的喝辣的,结果被迫绑定系统,拯救濒临毁灭的大明皇朝。 狗作者……你干得是人事儿吗?挖坑不填我就不说了,居然还太监? 现在轮到这些坑都要我解决……你妹!!!战争、掠夺、同化、我们在不同的世界探索,我们见证着文明的交替。 我们是见证者,但我们也参与其中,有人说我们是血腥的屠夫,有人说我们是光明的使者,我们不被善恶所定义,我们只是不顾一切的幸存者。 一起见证吧,这一个个荒诞的世界,也许有一天,这一切就会发生在你身边。 “准备好,一会就要动手了。” 啪,一朵微弱的火苗突然驱散了黑暗。 “搞什么呢,都要动手了,谁还要抽烟,快把打火机灭掉。” “什么打火机,这是魔法!魔法!火球术你懂不懂?” (原创副本+荒诞主义+无厘头,小清新误入,未成年人请在老司机陪同下观看。)乔榆进入元宇宙里世界,获得了隐藏职业亡灵法师。 奈何开局智力精神都为0,还抽到了一个十分奇怪的天赋。 乔榆一怒之下,属性点全部加力量! 谁规定亡灵法师就不能和人肉搏的? 看着一拳打死世界之蛇耶梦加得的乔榆,里世界的玩家都疯了。 “大哥,求求你别跟人肉搏了!你是一位亡灵法师啊!求求你召唤个亡灵吧!” “这哪是亡灵法师,这踏马是六边形战士啊!”大褚,绍清十年。 妖邪诡祟肆虐人间,儒释道三教鼎立天下。 世间修者纵横,欲夺天地之气运,觅长生之无极。 陆宴清异界魂穿而来,却被告知仅有一天可活,后意外发现所谓的儒术竟是古诗! 侥幸活命的他本想悠闲的过上自己的小日子,却被不断卷入一个个风暴之中…… 行尸走肉,人形血眼,恐怖地下室………危险重重,这次我要娶你网游+搞笑+自私+腹黑人格+咸鱼翻身 杨天龙的生活很不幸,现实不仅要在建筑工地上搬运砖头,他甚至在VR游戏中还要扛着锄头劳作。 然而,幸运很快就会进入他不幸的生活,他的游戏角色“杨过”会发现北端洞穴并进行任务,并在那个地方找到“帕格玛的珍本”并成为一名传奇级玩家……王珂,一个普通的社畜,末世来临之际意外获得超能力,从此在末世混的风生水起,称霸一方。男主是一个名字为鱼的奴隶。他拥有着强大无比的技能,是不可能战胜的存在。但因为身份是一个卑贱的奴隶所以他从不出风头,也不称王称霸。他既不敢爱也不敢恨,更兼性格软弱,遇事像驼鸟一样只知道一味的躲一味的逃,却又极有女人缘,展开了一段又一段的情缘。 女主是一个名字为蛇的名门大小姐。如果说世界上有完美的女人那一定是她。她不光美丽,而且拥有出众头脑和经营的手腕,她亲手将自己的家族打造成不可一世的巨头,并统治众生……但她和鱼…… 男配熊将军,一个真男人,也是无敌的男人。他就没有输过。 女配张钟菊,看上男主的好女人。 本作是讲爱与勇气的。本作并不那么欢乐,充满了无奈和悲伤,明明有情人可以终成眷属,但…… (全书近百万字,分上下两卷,已经完结)穿越到古代,家中一穷二白! 不怕,运用21世纪的知识,随便搞点发明创造,改善家中生活! 一不留神富甲一方,漂亮老婆天天催着纳妾,小日子不要太幸福! 蛮族入侵,那就组建骑兵,制造火炮,打他丫的! 影响我平静的生活,敌寇虽远必诛! 五行杂灵根的修真废物,没有老爷爷、没有逆天神器、更没有超级仙宠! 来自地球联邦,征战无数星辰的机械师林沐意外魂穿修真位面!在修真与生活完美融合的世界,看科技与灵力如何打造最为强大的仙械军团! “我一个人,就是一座仙门!
失了星河 我不是小三儿 大国实业 乱天之行 我们都在同一世间享受 龙耀万界 两界杂货铺 洪荒之飞舞的蒲公英 田畯野老 魔法世界的修仙者 太阳黑雨 道术不是黑魔法 假面骑士:骑士联盟 我与自己对弈 我的世界之安德兰战役 不经意爱上你 诸天扮演法则 战鹰战隼2 阿怪新传 万古体修 恩爱的情侣头像 胡巴头像 卫衣头像 yy头像制作器 恩爱的情侣头像 亚索萌头像 卫衣头像 劣人头像 头像没人 蛇姬头像 鸣人头像 鸣人头像 银狐头像 胡巴头像 世羽头像 yy头像制作器 魏晨qq头像 头像没人 qq女生闪动头像 喵萝头像 胡巴头像 天下3头像 qq女生闪动头像 赵丽颖qq头像 qq五角星头像 银狐头像 头像没人 龙幽头像 qq女生闪动头像 头像没人 yy头像制作器 打篮球头像 怎么在扣扣好友列表里显示自己没有显示自己头像这选项怎么办 世羽头像 初三群头像 情侣头像双人 怎么在扣扣好友列表里显示自己没有显示自己头像这选项怎么办 卫衣头像 银狐头像 天下3头像 情侣头像双人 蛇姬头像 男生帅气头像 魏晨qq头像 赵丽颖qq头像 打篮球头像 鸣人头像 情侣头像双人 银狐头像 吉格斯头像 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 穿越火线之电竞传奇 大宋必须浪 地狱归来 高武:开局卖锅碗瓢盆 血修士 澳门葡京官网 AG真人 快连下载 澳门葡京官网 欧博官网 打篮球头像 世羽头像 4班群头像 恩爱的情侣头像 胡巴头像 怎么在扣扣好友列表里显示自己没有显示自己头像这选项怎么办 喵萝头像 吉格斯头像 天下3头像 元宵头像 带鸡巴头像 元宵头像 亚索萌头像 打篮球头像 魏晨qq头像 另类女头像 4班群头像 劣人头像 男生帅气头像 劣人头像 另类女头像 带鸡巴头像 劣人头像 亚索萌头像 带鸡巴头像 卫衣头像 恩爱的情侣头像 卫衣头像 元宵头像 鸣人头像