PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Saturday, March 5, 2022

[FIXED] How to migrate a website from codeigniter to wordpress?

 March 05, 2022     codeigniter, wordpress     No comments   

Issue

I have a website made with codeigniter and I would like to transfer it to wordpress. Keeping the same database and the same contents.


Solution

That is not possible in a simple way no matter of your codeigniter version.

That's because:

  • CodeIgniter is "just" a framework where the database schema is totally free designed by the developer and not folling a strict pattern (just some basic naming conventions)

  • The WordPress views (final site's html) is generated more from database content and less from coded html whereas codeigniter uses the common mvc-pattern where most of the html is actually coded in the view files

  • These are in no way comparable type of systems:

    • WordPress is a CMS
    • CodeIgniter is a MVC-Framework

If I had to migrate a website from codeigniter to wordpress I would build the page-structure by hand. I then would look at the final generated website (from CodeIgniter) in the browser and copy that content by hand in the wordpress pages.



Answered By - Jonathan
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing