Reputation: 2128
I have an old website with an old framework on PHP and mysql.
I want to migrate to wordpress.
I want to know if is possible or exist any plugin on wordpress that let me read data from mysql database and put them on page.
Other speaking, can I use the database and create pages dynamically with wordpress.
If yes please provide me a link contains a simple example to learn.
Appreciate in advance.
Upvotes: 1
Views: 81
Reputation: 2960
Shortly, it's possible to migrate website, which used some framework to wordpress cms. But there isn't any tools, which can do it for any framework type. Each website is differ with it's structure, pages, logics and goals.
For some cases there is plugins, extentions, which transfered the whole website from one framework to another.
But you should to know, that it can not be done 100% transfered without any losing.
Main migrate to wordpress is going so:
1.Compare databases and with sql commands insert into wodpress db information of posts/pages/users/products and etc., which will be inserted as it need wordpress to work with theme.
2.The second step is migrate static files to wordpress, such as html/css/js and make them work dinamically using wordpress functions, file structure and etc.
Please note, that if your framework have not many datas, it will be faster to just install new wordpress into server, find some theme, which will suit you, create posts/pages as you want and after it replace some information from old website
Upvotes: 1