Skip to main content

Drupal - Move from live to local environment

Today i experienced in moving drupal from live to local environment.


  1. Site redirected to live site when i open 'user/login'
Problem may come from the site SSL setting, default Drupal settings, or the HTACCESS configuration.


1. copy whole site folder to local server. (example: /public_html)
2. copy the database to local server.

3. investigate & update the database

4. update setting files
5. update .htaccess

thats all.

Popular posts from this blog

Laravel Voyager Nested Resources

Voyager is the Laravel missing admin panel. Voyager version 0.10.13 by default not provide nested resources. So these what i found to achieve that.
Issue 1 - Routing & ViewI want to create a bread for the books and the pages.

/admin/books - works by default
/admin/book-pages - works by default
/admin/books/{book_id}/book-pages/create - how?
/admin/books/{book_id}/book-pages/{book_page_id}/edit - how? here the guide:
Issue 2 - Controller Level dataTypeContent Filter$dataTypeContent in views/vendor/voyager/{slug}/browse.blade.php my book-pages resource under books resources. books/{book}/book-pages I have no idea how to filter the dataTypeContent by the book.
here the guide: