Click here to Skip to main content
15,890,512 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Actually i am working on a MVC project and i want to use WordPress blog on my MVC project while WordPress is based on PHP. is it possible to use WordPress on MVC? How can i done it

What I have tried:

Actually i am working on a MVC project and i want to use WordPress blog on my MVC project while WordPress is based on PHP. is it possible to use WordPress on MVC? How can i done it
Posted
Updated 21-Dec-17 10:36am
v2
Comments
F-ES Sitecore 20-Dec-17 14:37pm    
Why don't you ask them? Or google it, if it is possible or not will be quickly found out if you do some research.

1 solution

Wordpress is PHP and MVC is C#. You can't just put "wordpress" into your c# mvc framework project as one is C# the other is PHP. Wordpress is just a blogging framework/platform, blog frameworks and platforms exist in MVC, you just have to do a little bit a research (only you know what you want in a blog framework).

I can only assume you are looking for blog functionality either in an MVC project or hosting Wordpress on an IIS server.

Here are some options, some are more trying to fit a square peg through a round hole but none the less, answering your question.

* You could embed an iframe in your mvc project that points to the wordpress site itself (this is not a great option).
* Google search for your exact problem: Wordpress blog in MVC5[^]
* Host wordpress in IIS: Host wordpress in IIS[^]
* Or lastly, look at a wordpress alternative built in MVC like GitHub - danielpalme/MVCBlog: Blog engine based on ASP.NET MVC 5 and Twitter Bootstrap 3[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900