• Home
  • About Us
  • Resources
  • Articles
  • Site Update Info
  • Contact
Home
Home

Recreating Live site on your local server

PostDateIcon February 3, 2010 | PostAuthorIcon Katy
  • [View]

Troubleshooting

Task: recreate live site on desktop server for development purposes

Problem: clean urls not working

1. Make sure that mod_rewrite is enabled on your server
Go to httpd.conf file and uncomment this line:
LoadModule rewrite_module modules/mod_rewrite.so

2. If you copied all the files from the live site directly to your local server, you may have
copied over the .htaccess file as well. This file applies specifically to your live server so it
will most likely not work properly on your local server. You will need to delete this .htaccess file and replace it. Or this file may not have been copied since it may be considered a hidden file by the live server.

Drupal comes with a default .htaccess file. You will need to get a fresh Drupal install and copy the .htaccess file over to your new site.

3. Some people suggest turning off clean-url's before exporting the database, then turning it back on after migrating. If this is the case, use this path to login: yourdomain.com/?q=user
After you get the clean urls working and enabled, you can turn Clean URLs back on.

Bookmark/Search this post with:
PostCategoryIcon Digg Digg  | PostCategoryIcon del.icio.us del.icio.us  | PostCategoryIcon Google Google  | PostCategoryIcon Yahoo Yahoo  | PostCategoryIcon Facebook Facebook  | PostCategoryIcon Twitter Twitter
PostCategoryIcon Printer-friendly version  | PostCategoryIcon Send to friend   | PostTagIcon Tags: development site, Drupal 6, installation, server setup, troubleshooting
Post new comment
The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd><pre>
  • Lines and paragraphs break automatically.

More information about formatting options

Subscribe by RSS
Syndicate content
Recent blog posts
Lesson 2: How to Create Site Update Info
Jan 25, 2011
Lesson 1: How to Build Your First Drupal
Jan 01, 2011
Drupal Study Group - Learn Custom Module
Jan 01, 2011
My Top 6 Free Themes for Drupal 6 for 2010
Dec 31, 2010
New site upgrade with new Drupal Training
Dec 31, 2010
Recent comments
  • VERY NICE JOB FOR
    Jan 30, 2012
  • VERY NICE JOB FOR
    Jan 30, 2012
  • VERY NICE JOB FOR
    Jan 30, 2012
  • Great Lesson!
    Jan 10, 2012
  • Thank you very much
    Jun 02, 2011
Popular blog posts
Drupal Advanced Forum vs. phpBB Forum 132,140
How to Convert PSD to Drupal Theme 14,912
Newsletter Subscriptions for Drupal 6 3,509
How to Kill Spam on your Drupal Contact Form 3,506
My Top 5 Drupal Themes 3,362

Copyright © 2009-2011 SeascapeWebDesign.com