1. Knowledge Base
  2. >
  3. Results
  4. >
  5. Article

Customizing server error pages using the .htaccess editor

Custom error pages

You can substitute pages that you designate for the standard server error pages that display when the Web server returns unsuccessful response/status codes. Custom error pages are set in an .htaccess. file. They are useful when you want error pages to match the overall design of your site.'

Set custom error pages

  1. Log into the .htaccess Editor, and then click Custom Error Pages.
  2. Select the directory in which you want to set custom error pages. The current settings for the selected directory display in the Current Settings section.
  3. In the New Custom Error Page section, select the status code for which you want to add a custom error page.
  4. Enter the full URL or the local path to the file to use as the error page.
  5. Click Save to add the error page. Optionally, click Reset to return to the previous settings.
  6. To delete an error page entry, click the delete icon in the Current Settings table.

Important: All subdirectories of the selected directory will inherit the settings for the directory, unless you apply different settings to specific subdirectories.

To disallow ads on non-custom error pages

If you do not wish to customize your error pages, iPage will provide standard error pages, indicating to the visitor that they landed on an error page. These non-customized error pages will contain ads from various vendors.

Note: Regardless of the setting for the non-customized error pages, no ads are placed on the customized error pages - those appear exactly as you designed.

To remove ads from your non-customized error pages:

  1. Log into your control panel and go to the .htaccess editor > Custom Error Pages
  2. At the bottom of the page, find the Ads on non-custom error pages section
  3. Check the box Do not place ads on my non-custom error pages
  4. Click OK next to the check box

Thanks for visiting! Since you landed on this page of our website, we wanted to let you know you visited one of our paid endorsers while researching your purchase. close