Publishing your website

When you publish your website, especially a new one, you should consider several issues. Since every website is unique, the details vary from project to project.

Here is a list of common issues that you should check. Use it as a starting point to discover other tasks that might be necessary for your website. The exact location of these settings varies depending on the version of Drupal you are running. In the following examples, the locations given are for Drupal 7.


  • Enable caching, cached page compression, CSS, and Javascript aggregation on the Configuration > Performance page.
  • Disable modules that you do not need when your website goes live (such as Devel and Views UI) on the Modules page.
  • Review the other performance considerations in Improving website performance.

Visitor interaction

  • Protect all visitor-accessible forms against spam and attacks.
    • Check that you have enabled an anti-spam solution, such as captcha or Mollom.
    • Ensure that all visitor-accessible forms are protected.
    • Disable the Mollom testing mode if you have been using it.
  • Check the website-wide email address and the other information on the Configuration > Site information page.
  • Check the contact form settings on the Structure > Contact form page.
  • Review all email addresses and messages generated by other modules (for example, Webform and Rules).

Web interaction

  • Examine the domain redirect options in the .htaccess file. Ensure that URLs beginning with www are redirected to URLs without (or vice versa).
  • Make the necessary changes for external web services (such as Mollom, Twitter, Google Apps, Adsense, and New Relic) to work in your production environment.
    • Update API keys.
    • Examine the Google analytics configuration.


  • Review the Reports > Status report page for any needed version updates for Drupal Core and your contributed modules.
  • Review Reports > Recent log messages for errors and warnings.
  • Ensure that the minimum possible number of website users have administrative privileges.
  • Be certain that error messages are not being displayed to visitors by setting Error messages to display to None on the Configuration > Development > Logging and errors page.
  • On the People > Permissions page, examine the permissions granted to anonymous and authenticated users. Make them as restrictive as possible, while still allowing your website to function.
  • Review the user registration and cancellation settings on the Configuration > Account settings page.
  • Visit your website as an anonymous user (sign out and then browse your website). Ensure that anonymous visitors can only see and do what they are supposed to be able to on your website. Correct permissions on the People > Permissions page.

Quality Assurance

  • Delete placeholder and test content on your website, including test users and files.
  • Examine the spelling and grammar of your content.
  • Use a link checking tool to examine for your website for broken links, such as the W3 validator.
  • Verify that search is working as expected on your website.
  • Go to Reports > Recent log messages to review any errors and warnings about missing files and URLs.

Add new comment

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.
By submitting this form, you accept the Mollom privacy policy.

Contact supportStill need assistance? Contact Acquia Support