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"
四王子and四公主小说沉香操三圣母小说地铁2034小说txt下载梅花吟小说狩猎游戏小说四王子and四公主小说小说黑道上部地铁2034小说txt下载小说阅读网站的缺点类似再爱纯属意外的小说免费小说仕途青云四王子and四公主小说医统江山相似的小说免费小说仕途青云地铁2034小说txt下载类似再爱纯属意外的小说有关大唐双龙传的小说城市修真小说城市修真小说夫君不要脸小说穿越男主小说完本鬼吹灯小说全集txt类似别闹这不科学的小说黑帝斯的小说狩猎游戏小说蒙太奇+小说梅花吟小说蛇小说免费阅读全文夫君不要脸小说医统江山相似的小说意外穿越来到平行世界。 陈宇绑定了“究极治愈游戏系统。”开启了新的人生。 只不过.... 这治愈游戏好像有些不同。 303公交往事的护士女鬼姐姐来治愈你。 青峰精神病院的慈祥老奶奶来治愈你。 寂静中学的柴刀学妹告诉你沉默是金。 牛角村的小嫂子告诉你要相信唯物主义。 一个个游戏被陈宇发布出来,而他家里的刀片已经堆积如山。 所有玩家都在拼命地寻找着他的住处,纷纷表示想要“友好拜访。” 赵阳意外绑定可以往返现代与明末的传送门。 穿过传送门,对面是气势汹汹,向着他冲刺而来的八旗骑兵。 数次尝试都铩羽而归,赵阳直接上交传送门,与官方合作。 当官方看到赵阳展示的另一个世界后,整个大夏都为之轰动。 一个星球的资源,一个全新的未开发世界! 大夏官方第一时间下定决心,制定绝密计划,设置最高权限。 终于,再次踏入明末大地的赵阳。 身后,是一条蓄势待发的庞然巨龙……变成鬼后,我才发现有一只无形的收推动着整个世界敢问上天,是否有仙?一个现代的物流搬运工,穿越到修真世界,一步一步修炼,能否成仙?少年壮志旅途险,看尽凡尘红颜笑。他日仙界再相见,一声道友尽沧桑!群雄争锋的年代已过,诸王割据的时代早已不在,百载太平安稳下却又暗藏危机。 凡人道:“修仙赛得真神仙。”却怎知平凡是福不是苦? 三尺之剑,不为与天下人争锋,只为护得身旁人。古典玄幻与元宇宙世界的激情碰撞! 玄幻世界的文明参与者与执掌生杀予夺的文明创造者终将一战! 干预文明进程的维序者 洞悉文明规划的观察者 创造文明世界的架构师 微光中寻找文明真相的觉醒者 谁,能在683号实验宇宙的轮回中,解开真正的文明密码。 有悬疑奇案、有阴谋乱国、有英雄史诗、有儿女情长,我且细细讲,君且慢慢听。  当他以少年身份重回地球,   唯有一人一剑。   会如何抉择?   千年,万年的光阴过去。   少年,还是少年吗?  一觉醒来,风起大明! 奸臣明君良臣鞑子,来来来,一起演一出大戏吧!月高悬于空,星不见其影。 沉眠的暴君从历史中苏醒,漆黑的双翼划过破晓的黎明;巍峨古堡跨越了尘封的的记忆,矗立在洛尔维亚的群山之巅。 当头戴王冠的公主睁开双眼,从死亡归来的旅人重新握住剑柄—— 国王湖的水面不再平静,却依旧深不见底。我自凡俗来,还向红尘去,三个麻钱走天下,一本经书读一生。能与贩夫走卒畅聊,也敢面淬将相公卿,在乡野山村,我自活得逍遥,于繁华都市,亦能不弱于人,不求仙道,不念长生,不想显达,不盼成功。
仙武帝祖 死亡推理之追狱人 鬼帝之重启异世 何为道何为刀 大齐极品王爷 大秦第一隐士 职业法神 俺是一个保安 诸昏 你听过吗? 大道之行: 京都之最帅修行者 这颗星星不对劲 决战王城 十年寒暑 时空行者之死亡烈风 我在岸边等你 天翼的非正常日常 命运回响 我的眼睛一仙一魔 经典gl虐心小说 类似再爱纯属意外的小说 有关大唐双龙传的小说 城市修真小说 经典gl虐心小说 热血搞笑小说 完结的军婚宠文小说 军事小说波涛汹涌 蒙太奇+小说 医统江山相似的小说 类似别闹这不科学的小说 类似别闹这不科学的小说 黑帝斯的小说 类似再爱纯属意外的小说 名模夫人小说 狩猎游戏小说 小说中描写豪华宴会 蒙太奇+小说 沉香操三圣母小说 四王子and四公主小说 胎楼小说 地铁2034小说txt下载 沉香操三圣母小说 鬼吹灯小说全集txt 军事小说波涛汹涌 黑帝斯的小说 蒙太奇+小说 沉香操三圣母小说 穿越男主小说完本 蒙太奇+小说 城市修真小说 胎楼小说 梅花吟小说 四王子and四公主小说 黑帝斯的小说 狩猎游戏小说 雍正剑侠图小说 完结的军婚宠文小说 黑帝斯的小说 雍正剑侠图小说 狩猎游戏小说 火影忍者佐助的小说 夫君不要脸小说 小说中描写豪华宴会 免费小说仕途青云 胎楼小说 类似别闹这不科学的小说 狩猎游戏小说 好看的青春伤感小说 小说黑道上部 亚星官网 亚星游戏官网 亚星游戏官网 亚星官网 亚星官网 乱世虎将 江南的自我养成 体坛:从奥运百米决赛开始 山村药圣 神医小村民 亚星管理平台 澳门葡京游戏官网 澳门葡京官网 百家乐官网 万利游戏官网 鬼吹灯小说全集txt 狩猎游戏小说 完结的军婚宠文小说 蛇小说免费阅读全文 夫君不要脸小说 好看的青春伤感小说 小说阅读网站的缺点 免费小说仕途青云 火影忍者佐助的小说 穿越男主小说完本 沉香操三圣母小说 小说阅读网站的缺点 梅花吟小说 沉香操三圣母小说 热血搞笑小说 地铁2034小说txt下载 完结的军婚宠文小说 小说黑道上部 黑帝斯的小说 鬼吹灯小说全集txt 胎楼小说 免费小说仕途青云 名模夫人小说 类似别闹这不科学的小说 经典gl虐心小说 胎楼小说 雍正剑侠图小说 完结的军婚宠文小说 名模夫人小说 小说中描写豪华宴会