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"
西安泾渭驾校马家湾希望驾校好评怎么写西安泾渭驾校地址西安泾渭驾校总校电话西安泾渭总驾校在哪西安泾渭驾校马家湾西宁生物园交通驾校西安泾渭驾校地址西三环中原驾校西宁城北区交通驾校西安顺达驾校总部西安泾渭驾校马家湾西宁华鑫驾校上班时间西安顺达驾校总部西安泾渭驾校地址西宁城北区交通驾校西宁通达驾校教练西安泾渭总驾校在哪里西安泾渭总驾校在哪里西安驾校考场练车收费西山区一乘驾校在那里西安鹏翔驾校增驾贴吧西三环附近驾校西安城南驾校电话号码西安泾渭总驾校在哪息县所有的驾校西安泾渭驾校总校电话西安百顺驾校总校电话西安驾校考场练车收费西宁华鑫驾校上班时间古玩就是贩卖历史。 这话是我爸对我说的,那个时候我只有7岁,懵懵懂懂,完全不明白是什么意思。 直到后来,我才知道古玩贩卖的不只是历史…… 还有故事!【无系统】【传统玄幻】【权谋争霸】【屠神以正天道】 我从血月之夜杀出,本想安稳度日,并无登天之志。 但奈何, 圣皇说:你活着就是原罪!就地伏诛! 仙人说:你活着就是原罪!请君以死赎罪! 古神说:你活着就是原罪!灭世大劫,因你而起! 既如此,我李不器便只能持刀向前,灭圣皇、斩仙人、屠尽诸天古神,还这世间一个朗朗乾坤!讲述的是一名不良少年为了给奶奶报仇而走上了一条危险玄幻之路,他从未后悔当初的选择,但是他也因为自己的孤注一掷失去了很多,他身处迷雾之中,没有方向,没有同伴,且看李元破雾成神。人类、异兽、亡灵,三个不同世界的种族同时遭受了灭顶之灾,在天人族的援助之下,他们进入了《寰宇》大陆。 资源的有限和欲望的无限是每个种族都要面临的矛盾,于是,一场针对人族的灭族之战开始了,人族被屠戮殆尽。 在战争的最后时刻,王任终于拿到了人族最后的希望,逆天级道具——时光尺。 伴随着系统的死亡提示,王任回到了5年前,《寰宇》刚刚开服的时刻。 王任看着活过来的时光尺,忽然明白,重生,才是人族的希望。 一条重建人族的复仇之路在他的面前缓缓展开。 这次,他要重新发起灭族之战,而灭族的对象,却不再会是人类。这是个假货商人领着头幼龙满世界坑蒙拐骗的故事……当汪柯在玩《隐形守护者》点下第二个选项后,看着屏幕上结局达成的提示,整个人都斯巴达了,他竟然是个活不过三分钟的男人?带着这样的疑问,他被一个谍战求存直播系统丢到了魔改后的谍战世界,开始了他的求生直播。系统告诉他,他的任务很简单,只要活过一集就够了。这是一个关于跨时空给复仇的故事。 恶毒的地产商人为了逃避审判,制造了骇人听闻的火车惨案,主人公郑源父母双双在这次灾难中遇难,然而这样的通天大案竟然被压了下来,最后不了了之。 作为这次灾难中唯一的幸存者,在时隔50年后终于得知真相,他通过某种实验回到了30年前的世界,在这里他巧妙布局,一点一点揭露当初惨案的真相,最终将所有犯罪份子送上法庭。 他,为爱入狱五年,出来竟发现未婚妻跟别人订婚了,原来他一直在错付!得知真爱父母双亡,瞎了眼睛, 成了家族的弃子!陈九临一怒之下,施针救人扭转乾坤! 摊牌了,老子就是南境之王,这一次我要让你做最幸福的女人! 在这个超能力者们的世界里会发生怎样的事情。 超能力的大战一触即发。 在人山人海的都市里,有着各种各样的超能力者 未解之谜的失踪案,各种超能力者杀人犯,失踪案的背后会隐藏怎样的阴谋...........神圣再现,风云再起,旧时代未葬下的魔,就由我来终结。(作者是个小白,文笔不好!)
天师赘婿 狂想三国 网大公开课进群 溟渊邪神 持剑定乾坤 神行启示录 古代做奸商是怎么练成的 真情第一部不落要塞 哥不是神 鬼赤传说 星辰宿命 乱时下的尽头 乱天之行 审判将至 天国战纪四风之传奇 毁坏的三观 禁地探险:开局扮演路飞,队友张麒麟 世末之路 仙帝陛下别闹 扶统 息县南头驾校 西宁百洋驾校地址 西宁通达驾校教练 西安泾渭总驾校在哪里 息县南头驾校 西安百顺驾校投诉电话 西宁物资驾校接送车 西宁的驾校 息县所有的驾校 西宁华鑫驾校上班时间 西三环附近驾校 西三环附近驾校 西安城南驾校电话号码 西宁城北区交通驾校 西安驾校考场练车收费标准 西安泾渭总驾校在哪 西宁众达驾校联系电话 息县所有的驾校 西山区一乘驾校在那里 西安泾渭驾校马家湾 西宁百洋驾校地址 西安泾渭驾校地址 希望驾校好评怎么写 西安鹏翔驾校增驾贴吧 西宁的驾校 西安城南驾校电话号码 息县所有的驾校 希望驾校好评怎么写 西山区一乘驾校在那里 息县所有的驾校 西安泾渭总驾校在哪里 西宁百洋驾校地址 西安泾渭驾校总校电话 西安泾渭驾校马家湾 西安城南驾校电话号码 西安泾渭总驾校在哪 西安泾渭驾校电话 西宁物资驾校接送车 西安城南驾校电话号码 西安泾渭驾校电话 西安泾渭总驾校在哪 西宁的中田驾校 西安驾校考场练车收费 西宁众达驾校联系电话 西安鹏翔驾校增驾贴吧 西宁百洋驾校地址 西三环附近驾校 西安泾渭驾校总校电话 西安驾校和户县驾校 西宁生物园交通驾校 亚星官网 亚星官网 亚星游戏官网 亚星官网 亚星官网 我在异世界躺平成神 被当成废人传送到异世界? 饥土 惊悚游戏异闻录 惊悚游戏:鬼也得讲道理啊 欧博官网 百家乐官网 亚星管理平台 欧博官网 亚星管理平台 西安驾校考场练车收费标准 西宁百洋驾校地址 西宁华鑫驾校上班时间 西宁通达驾校教练 西山区一乘驾校在那里 西安泾渭驾校马家湾 西安鹏翔驾校增驾贴吧 西安城南驾校电话号码 西安泾渭驾校电话 息县所有的驾校 西宁百洋驾校地址 西安驾校考场练车收费标准 西宁通达驾校教练 西宁通达驾校教练 西宁的驾校 西宁的驾校 西安鹏翔驾校增驾贴吧 西安顺达驾校总部 西安泾渭总驾校在哪 西宁生物园交通驾校 西三环中原驾校 西安泾渭驾校马家湾 西安泾渭总驾校在哪里 西宁众达驾校联系电话 西安泾渭驾校电话 息县南头驾校 西安顺达驾校总部 西安驾校考场练车收费 西宁生物园交通驾校 西宁生物园交通驾校