Drupal Development


Drupal 7 is out!

Drupal Project Experience


  • Harvard University

  • Strayer University

  • Servers Without Borders

  • Antigua Plaza

  • Court Quick

Fixing Drupal Clean URLs with temporary domain name

Posted by eric

Drupal's clean URLs feature is dependent on the mod_rewrite directive of Apache and can fail under several situations including when Drupal is running on a virtual host that has not yet been assigned a domain name.

Temporary domain example: srv04.server-provider-name.com/~your-account-name/drupal

If you have set up Drupal under a domain name as above, and later point a domain name to your site, you still may experience problems with clean URLs not being enabled. The .htaccess file is typically responsible and the following edit should solve that situation:

/drupal_installation/.htaccess
# If your site is running in a VirtualDocumentRoot at http://example.com/,
# uncomment the following line:
#RewriteBase /

Uncomment the above line (RewriteBase /) and reload the site. If you have the same issue but are still utilizing the temporary domain then uncomment the same line and add your drupal installation location:
RewriteBase /~live-drupal-directory

Was this solution helpful?

Our affordable dedicated servers give you fully managed server hosting and a dedicated fully managed server for your website, custom applications, document management e-commerce, Drupal and Wordpress installations. Ask us about our pricing specials on fully managed server hosting and which create affordable dedicated servers that you can rely upon for all your needs. We offer fully managed server hosting and have a custom dedicated server or multiple affordable dedicated servers that will meet your full requirements. Metro Hosting offers managed web hosting where you can lease a dedicated fully managed server with managed web hosting service by our trained team for a low price. Our low, low price for a custom dedicated server and fully managed server hosting are competitive with the prices for UN-managed server offerings.