404 means the file is not found. If you have sầu already uploaded the file then the name may be misspelled or it is in a different folder.

Bạn đang xem: Cách thực hiện: cài đặt boom beach trên máy tính của bạn

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 menu of authorized domains.

If you go khổng lồ your temporary url (http://ip/~username/) & get this error, there maybe a problem with the rule set stored in an .htaccess tệp tin. You can try renaming that file lớn .htaccess-backup and refreshing the site to see if that resolves the issue.

It is also possible that you have sầu inadvertently deleted your document root or the your tài khoản may need khổng lồ be recreated. Either way, please contact your web host immediately.

Are you using WordPress? See the Section on 404 errors after clicking a liên kết in WordPress.

How to lớn find the correct spelling & folder

Missing or Broken Files

When you get a 404 error be sure khổng lồ kiểm tra the URL that you are attempting to lớn use in your browser.This tells the hệ thống what resource it should attempt to request.


In this example the tệp tin must be in public_html/example/Example/

Notice that the CaSe is important in this example. On platforms that enforce case-sensitivity example & Example are not the same locations.

For addon domains, the tệp tin must be in public_html/addondomain name.com/example/Example/ and the names are case-sensitive sầu.

Broken Image

When you have sầu 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 clichồng on the X và choose Properties. The properties will tell you the path & tệp tin name that cannot be found.

This varies by browser, if you bởi vì not see a box on your page with a red X try right clicking on the page, then select View Page Info, & golớn the Media Tab.


In this example the image tệp tin must be in public_html/cgi-sys/images/

Notice that the CaSe is important in this example. On platforms that enforce case-sensitivity PNGpng are not the same locations.

Xem thêm: Chunking Là Gì ? Designer Áp Dụng Chunking Sao Cho Hợp Lý? Sử Dụng “Chunks” Để Cải Thiện Độ Trối Chảy

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 sầu been altered.

When you encounter a 404 error in WordPress, you have sầu two options for correcting it.

Option 1: Correct the PermalinksLog in lớn WordPress.From the left-hand navigation thực đơn in WordPress, click Settings > Permalinks (chú ý the current setting. If you are using a custom structure, copy or save sầu the custom structure somewhere.)Select Default.Click Save Settings.Change the settings baông chồng khổng lồ the previous configuration (before you selected Default). Put the custom structure baông chồng if you had one.Click Save Settings.

This will remix the permalink and fix the issue in many cases. If this doesn't work, you may need lớn edit your .htaccess file directly.

Option 2: Modify the .htaccess File

Add the following snippet of code lớn the top of your .htaccess file:

# BEGIN WordPressRewriteEngine OnRewriteBase /RewriteRule ^index.php$ - RewriteCond %REQUEST_FILENAME !-fRewriteCond %REQUEST_FILENAME !-dRewriteRule . /index.php # End WordPress

If your blog is showing the wrong domain name name in link, 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 name configured in your WordPress blog.

How to lớn modify your .htaccess file

The .htaccess tệp tin contains directives (instructions) that tell the hệ thống how khổng lồ behave sầu in certain scenarquả táo & directly affect how your website functions.

Redirects & rewriting URLs are two very comtháng directives found in a .htaccess tệp tin, và many scripts such as WordPress, Drupal, Joomla and Magenkhổng lồ add directives to lớn the .htaccess so those scripts can function.

It is possible that you may need khổng lồ edit the .htaccess file at some point, for various reasons.This section covers how to lớn edit the file in cPanel, but not what may need to be changed.(You may need to consult other articles và resources for that information.)

There are Many Ways khổng lồ Edit a .htaccess FileEdit the tệp tin on your computer & upload it to lớn the VPS via FTPUse an FTP program's Edit ModeUse SSH và a text editorUse the File Manager in cPanel

The easiest way khổng lồ 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 bởi anything, it is suggested that you backup your website so that you can revert bachồng to lớn a previous version if something goes wrong.

Xem thêm: Cài Đặt Driver Booster Là Gì ? Cách Cài Đặt Và Download Driver Booster Mới

xuất hiện the File ManagerLog inkhổng lồ cPanel.In the Files section, clichồng on the File Manager inhỏ.Check the box for Document Root for and select the domain name you wish to lớn access from the drop-down thực đơn.Make sure Show Hidden Files (dotfiles)" is checked.Click Go. The File Manager will open in a new tab or window.Look for the .htaccess tệp tin in the danh sách of files. You may need lớn scroll lớn find it.To Edit the .htaccess FileRight click on the .htaccess file và click Code Edit from the thực đơn. Alternatively, you can clichồng on the inhỏ for the .htaccess file and then click on the Code Editor inhỏ at the top of the page.A dialogue box may appear asking you about encoding. Just click Edit to lớn continue. The editor will open in a new window.Edit the file as needed.Click Save sầu Changes in the upper right hand corner when done. The changes will be saved.Test your trang web lớn make sure your changes were successfully saved. If not, correct the error or revert back to the previous version until your site works again.Once complete, you can click Close to lớn cthất bại the File Manager window.