I want to migrate my wordpress site to drupal. With my broken wordpress site, I only have access to the mysql database. i.e, no wp-admin backend access. Is there any way to migrate the site just by using the db dump?
It is possible to migrate WordPress to Drupal 8 with the WordPress database.
You need to install Wp Migrate module
For that, and You need migration tools module and migrate plus module along with the core migration module.
For more information refer the below links.
https://dev.acquia.com/blog/wordpress-drupal-8-migration
https://github.com/amitgoyal/d8_migrate_wordpress
If you have access to exporting the wordpress site, there is a module for the migration called WordPress Migrate.
wordpress_migrate supports migrating WordPress blog exports (WXR format) into Drupal using the Migrate module. Import of posts, pages, comments, attachments, tags and categories is supported. Imports can be rolled back completely.
But, as you say that you don't have access to export, then probably you'll have to put in some (coding) effort in implementing it via the Migrate module itself.
The migrate module provides a flexible framework for migrating content into Drupal from other sources (e.g., when converting a web site from another CMS to Drupal). Out-of-the-box, support for creating core Drupal objects such as nodes, users, files, terms, and comments are included - it can easily be extended for migrating other kinds of content. Content is imported and rolled back using a bundled web interface (Migrate UI module) or included Drush commands (strongly recommended).
It seems difficult in the beginning, however there is an extensive documentation which guides you through the process.
Related
I need to create a WordPress plugin. This plugin is actually a Laravel project. Why I would do that? because we are making a mobile eCommerce application and we have already a WordPress website for the company we are creating the mobile application for, so we need to plug-in the WooCommerce to the WordPress website then exposing some REST APIs to the mobile application (i.e., getting products on sale, placing orders, creating a new customer etc.). In case anyone answer will be that WooCommerce having its own REST APIs, unfortunately it won't work as it requires oAuth 1.0a as its authentication method when requests comes from a remote client, not the same machine, and the mobile app will be created using Ionic 4 and Angular 5/6 and they do not support oAuth 1.0a.
I tried to create a WordPress plugin using the standard way by downloading the laravel project at the WordPress plugins folder and I created a plugin file within the laravel root directory and within it I referenced the server.php file in the same directory which is responsible for initiating the composer auto-loader and then bootstrapping the laravel, however, it did not work for me!!! I also tried a package laraish
However, when I created a simple hello world route it does not respond!
We are planning to move to new CMS from Drupal to WordPress. While exploring, I came across this site to move the contents if it is stored in git.
But our code base is in SVN, Could anyone suggest what are the best ways I can migrate it from Drupal to Wordpress when codebase is hosted in SVN.It would be good if provided solution does not include purchasing new plugins for migration.
Thanks for help !!!
You can import the contents like articles, pages, categories and images from Drupal to wordpress but not the template so you need to work on template/theme first for wordpress.
Using the following plugin you can directly import contents from you drupal database:
https://wordpress.org/plugins/fg-drupal-to-wp/screenshots/
I have added the plugin link of screenshots as you can see you just need to provide database details and plugin will do the rest.
It is not an easy process to take backup of everything properly before doing the migration.
I'm developing a web application in Yii (1.1 & 2.0), now the client wants to integrate WordPress in it so he can manage contents on his own.
So how can I integrate Drupal in Yii and how advanced they are?
Both Drupal and Wordpress are CMS, while Yii is a generic web application framework. You can't integrate Drupal or Wordpress in Yii, that does not make much sense and will probably cause issues. Yii likely expect your application to be structured in a particular way, and neither Drupal or Wordpress will comply with that. What is doable, is to have a Wordpress or Drupal site used for content management but not actually used to display the content to the end user. And Have a Yii application query them via an HTTP based API.
For Drupal, this is doable using the Services module.
It actually depends on what your client exactly needs.
Yii and Wordpress can be integrated in two ways (workflows) :
Wordpress under Yii (as an application).
This comprehensive guide goes through it.
Yii to power a plugin under wordpress.
You have no constraints here as wordpress is pretty flexible, you will just need to properly include Yii as you would include any other script when coding a Wordpress plugin.
As far as I understood, your are in the first scenario.
I have a site where i need to control the content by external site like, Wordpress or Joomla or drupal. HOw can i do it? Any suggestions are very much appreciated. If i edit it here, changes needs to be reflected in my external site..
I think, you should link the database of your CMS set up (e.g. your WordPress site) with your external site. Whenever you will do edit there, the changes will be reflected on the external site. But, first of all you should have written code in the external site to fetch data from your CMS database.
Obviously, just after linking to the CMS database, the required data will not be fetched and shown on your site. You will have to refer tables structure of the database and accordingly write queries and present it on your external site in the way you want.
Also, for instance your CMS is WordPress and external site is coded in PHP,
You'll need to use core PHP functions and DB queries as WordPress API functions won't work on your external site.
I intend to use WP to setup a freelancers website (similar to oDesk) to connect service providers with service seekers in a WEB 2.0 dynamic environment. This site requires multiple forms to enter and retrieve information using database and show them in filtered or non-filtered views in separate pages.
Please advise if there are available plugins to expedite developing this site, or otherwise any guidance would be appreciated. I specifically would like to know how to connect forms to database and then how to retrieve this information from the DB.
Regards,
You are likely going to have to create your own custom WordPress theme, using various custom PHP pages to connect your web forms to your database. I think your project is well beyond the scope of a simple WP plugin.
If this was my project, I'd ditch WordPress and go for something custom built in Rails. WordPress is a good enough CMS, but it isn't really a good fit for what you are looking to accomplish.