Posted by josejayesh on March 27, 2012 at 12:52pm
Guys,
I have a site that is running on php/MySQL, now I want to migrate it to drupal 7. Using this sites registered users can create the content on various categories, others can view the content. First phase I am planning to convert MySQL database into drupal’s MySQL database. If anybody is experienced in this kind of project please share the experience .
Thanks
~Jayesh
Comments
First build the site and then import content
1) Build D7 Site
2) Write mapping scripts to insert data based on your content types
3) First test with few nodes and ensure that relationships, roles are working
4) You will have to carefully work through your import of content, images and setting appropriate relationships via custom scripts.
The above should be used if you have lots of content in the site. Else best strategy is to develop your site in Drupal and then have someone manually enter content.
If you are also carrying your URL structure forward, it will be even a bigger challenge.
Thanks For the Suggestion
Gloscon,
Thanks for the suggestion,any body used the migration module
Say hello to migrate module
Hi Jayesh,
I personally used migrate module. It's one of the most beautiful module in Drupal 7. You can migrate content very easily using migrate module. Documentation is available to understand writing migrate plugins.
Migrate module also has drush support to do more awesome things.
http://drupal.org/node/415260
Cheers,
Anil Sagar
Even I am moving php site to Drupal
Hi Anil/ Jayesh/Gloscon,
Can anyone please guide me where to start? How should I progress in migrating my php site to drupal environment.
I am new to this drupal environment. So any information is my appreciated.
cheers,
Ram
Even I am moving php site to Drupal
Hi Anil/ Jayesh/Gloscon,
Can anyone please guide me where to start? How should I progress in migrating my php site to drupal environment.
I am new to this drupal environment. So any information is my appreciated.
cheers,
Ram
MIgratingfrom PHP to Drupal
Hi Ram,
I think you can follow the instructions form Gloscon in this case. It's depends on how much content you need to migrate from the parent site to the new drupal site. If the content is small then better you can manually migrate the content else you can go with migrate module. A few months before I migrated users and contents from a php site to drupal site. If you have any doubts feel free to ask, I'm happy to help you.
Some more help..
Here is 2 articles that you can refer for the migration process. Hope it will help you.
http://btmash.com/article/2011-03-02/migrating-content-part-1-users
http://btmash.com/article/2011-03-25/migrating-content-part-2-nodes
Migrating PHP Websites and MYSQL
This is a useful link for your problem. Talks about in detail how you can migrate PHR websites and MYSQL databases with SSL setup
http://www.socialcubix.com/blog/how-to-easily-migrate-php-websites-mysql...