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"
汾阳汽车站附近的旅馆厦门枋湖长途汽车龙港长途汽车站在哪里从漯河到焦作的汽车多长时间常州北站到扬州汽车时刻表查询汾阳汽车站附近的旅馆燕郊到廊坊市汽车票价龙港长途汽车站在哪里徐州睢宁汽车惠东汽车站网上购票夏天青县到沧州的汽车汾阳汽车站附近的旅馆西安到随州汽车电话是多少钱夏天青县到沧州的汽车龙港长途汽车站在哪里新田到长沙汽车浦东汽车东站到南通汽车时刻表常州北站到扬州汽车时刻表查询常州北站到扬州汽车时刻表查询离嘉禾望岗近的汽车站茶山粟边到常平汽车站同里到盛泽汽车站时刻表徐州睢宁汽车武汉到河南汽车站时刻表查询紫金县汽车客运站总站时刻表邵阳市到常德的汽车从漯河到焦作的汽车多长时间界首到南京汽车多少钱离嘉禾望岗近的汽车站从怀化去张家界的汽车时刻表作为最后一人的宿命随着穿越时空一起到来到这个少年的身上,想要孤独的活下去,还是将这一切都终结,找到未来和现在都能够活下去的路!出门在外,谨记必带一本《古真经》因为你不知,真(白发女鬼——新疆语)会在哪里,也许会在你的身边。当修真者穿越到了现代,因为语言不通闹出了许多笑话。 谁能想到,一个不起眼学生竟然是修真界的最强者? 最强S级异能者?对不起,只需要一剑。 异能者和修真者的碰撞,核武和仙术的对轰…… 万千种族的角逐,变异带来的无限能力,从母星到浩瀚宇宙的征程。纪元与文明的一次次更迭中,生命是否在不断进化?能否突破禁锢?抵达那虚无缥缈的终点。所有人都当我是一条狗,一个连老婆孩子都守不住的废物,直到有一天,我拔出了刀……陪哥哥姐姐去试炼的王子华被淘汰。不甘心的他只能在这茫茫大陆寻找机缘,却意外的寻到了一个老婆。 看着眼前的绝色少女,王子话华双腿一软,瘫在地上”琼华,你别太过分啊!“ 少女缓缓逼近,裙摆飘动间她俯身靠在王子华身侧,语气轻佻,”怎么?这么快就受不了?&amp;quot; 王子华:。。。。。。 自从碰到琼华,王子华的修行观就被带歪了。 先人说,修习时丹药吃多了对身体不好! 你们先人在胡说,以你的身体吃它跟吃饭一样! 然后王子华看着鼓的跟球一样的身体,一下子慌了,嚎啕大喊,“救救我!我快炸了” “琼华你骗我,你不说没事吗!” “哦,是没事啊!但谁让你吃那么多?吃饭还有吃撑的时候呢!” “可我吃饭没吃撑过啊” “那你好可怜哦!”他,后脑勺多出一块骨头,出生时正好父亲海上遇难,于是他被叶家当作是反骨仔、煞星灾星,是江海豪门叶家没落的罪魁祸首,所以他从小在叶家受尽欺凌,活的不如一条狗,甚至,还被叶家利用亲生母亲,逼他联姻宋家第一丑女千金。殊不知,得到了阴阳鱼玉佩的他不仅成为了悬壶济世的圣手神医,还是杀伐果断的神州大将。 且看他退役回归都市,在保护好自己想要保护的人下,是如何将都市掀起一阵狂风暴雨,是如何让整个世界都为之一颤……重生异世的兵王靠自己的智慧与实力快速成长,在那风云诡谲的大陆中引领乾坤,现代的中华文化与异界文化的碰撞将会极其怎样的火花,大陆的合并又会带来怎样的疯狼,十方能人,各领风骚!苏阳,一个自认为是无法修练的废柴,为救家人,甘愿献出自己年轻的生命。意外重生后,却发现自己的牺牲并没有挽救全家人的性命,自己家人依旧惨遭杀害,为了能够让家人重生,为了复仇,为了寻找失踪父亲的下落,他踏上了一条艰苦而又漫长的修神之路。喜看网文事业成功的男主,意外落崖之后穿越到自己熟读十余遍的小说世界中,而男主雷震凭借着前世的能力和对异世界的熟悉,重整异世、道心屠魔 破界寻妻! 男主做事果决,飒爽干练,故事逻辑严谨清晰,可以细品。讲故事,很用心,跟我来,不后悔……
长的帅的确运气特别好 超品枭龙 九州有烽火 永恒沉寂的世界 血夜之上 京城:修成神话 17岁的年纪 长安鉴 全球进化:无敌从重生开始 我真的没想当卧底 易道归源 双生之魂 重生敖丙之重振朝歌 高校传说 咒印 丧尸末世:菜狗也怕死 极光会的自我修养 无上双神 太乙五行 重生之我是太上老君的道童 万般皆下品,惟有读书高 邵阳市到常德的汽车 新田到长沙汽车 重庆至铜仁汽车票价 常州北站到扬州汽车时刻表查询 厦门枋湖长途汽车 界首到南京汽车多少钱 重庆至铜仁汽车票价 柳州到通道的汽车 珠海到惠东县汽车 西安到随州汽车电话是多少钱 上海汽车站 到火车站 上海汽车站 到火车站 武汉到河南汽车站时刻表查询 新田到长沙汽车 汾阳汽车站附近的旅馆 紫金县汽车客运站总站时刻表 扬州至潍坊汽车多长时间一班车 邵阳市到常德的汽车 姜堰汽车站开门时间 龙港长途汽车站在哪里 晋江长途汽车票 龙港长途汽车站在哪里 姜堰汽车站开门时间 同里到盛泽汽车站时刻表 惠东汽车站网上购票 从兰州到伊犁的汽车票 邵阳市到常德的汽车 姜堰汽车站开门时间 姜堰汽车站开门时间 珠海到惠东县汽车 常州北站到扬州汽车时刻表查询 晋江长途汽车票 从漯河到焦作的汽车多长时间 汾阳汽车站附近的旅馆 武汉到河南汽车站时刻表查询 紫金县汽车客运站总站时刻表 从漯河到焦作的汽车多长时间 重庆至铜仁汽车票价 武汉到河南汽车站时刻表查询 济宁汽车北站查询电话 紫金县汽车客运站总站时刻表 柳州到通道的汽车 离嘉禾望岗近的汽车站 扬州至潍坊汽车多长时间一班车 夏天青县到沧州的汽车 晋江长途汽车票 上海汽车站 到火车站 紫金县汽车客运站总站时刻表 从兰州到伊犁的汽车票 浦东汽车东站到南通汽车时刻表 亚星官网 亚星游戏官网 亚星官网 亚星官网 亚星游戏官网 牧鬼录 随记空想 598 幽灵兵王在都市 修道之我把天劫当大补 亚星官网 欧博游戏官网 欧博官网 亚星官网 AG真人 柳州到通道的汽车 从任丘坐汽车到北京多长时间 济宁汽车北站查询电话 惠东汽车站网上购票 从漯河到焦作的汽车多长时间 汾阳汽车站附近的旅馆 常州北站到扬州汽车时刻表查询 厦门枋湖长途汽车 重庆至铜仁汽车票价 邵阳市到常德的汽车 夏天青县到沧州的汽车 紫金县汽车客运站总站时刻表 晋江长途汽车票 重庆至铜仁汽车票价 惠东汽车站网上购票 晋江长途汽车票 从任丘坐汽车到北京多长时间 新田到长沙汽车 西安到随州汽车电话是多少钱 茶山粟边到常平汽车站 从怀化去张家界的汽车时刻表 惠东汽车站网上购票 浦东汽车东站到南通汽车时刻表 济宁汽车北站查询电话 常州北站到扬州汽车时刻表查询 从漯河到焦作的汽车多长时间 上海汽车站 到火车站 燕郊到廊坊市汽车票价 上海汽车站 到火车站 武汉到河南汽车站时刻表查询