We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Migrating from WordPress to EE

How Do I?

Christian Sweatt's avatar
Christian Sweatt
281 posts
6 years ago
Christian Sweatt's avatar Christian Sweatt

I’m about to begin building a friend’s web site in EE. He currently uses WordPress and wants to continue using it while the new site is being built.

Is it possible to install EE in the same directory on his server while the site is being built and still have WordPress functioning? OR is it easily possible to develop his new site in another directory and then migrate it once it’s ready to go live?

       
Robin Sowell's avatar
Robin Sowell
13,158 posts
6 years ago
Robin Sowell's avatar Robin Sowell

Yes and yes. Which I’d do probably depends on how locked down I need it to be.

For #1, just remember, all of the EE frontend ‘pages’ run through index.php. You may remove that with htaccess, but for EE to serve it up, it has to go through index.php somehow.

You can rename index.php. Rename it ee.php and now any URL with friends-site.com/ee.php/template_group/template is going to pull up an EE page. When you’re ready to go live, can either switch it to index.php or use htaccess to route everything through ee.php instead.

Do remember to use your default url variable in all setting where you need it, as it will make changing things easy. Though if all you’re doing is using ee.php instead of index.php, the main setting that will matter is the website index file setting.

Now- if you want option #2, make a folder ee and do all of your EE work there (by dropping an index.php file in there)- that’s when it will be really helpful to have used that global variable. When you want to go live, just move your index.php file up to root, change your url variable (and possibly your path variable) and you’re good.

Either way, should be easy. Just build things out so you aren’t hard coding anything you’ll want to change in a bunch of places.

       
Christian Sweatt's avatar
Christian Sweatt
281 posts
6 years ago
Christian Sweatt's avatar Christian Sweatt

Thanks so much for the reply, Robin! Great advice, as always! You’ve helped me out a ton since the pMachine days. Glad you’re still active in the forums!

       
Robin Sowell's avatar
Robin Sowell
13,158 posts
6 years ago
Robin Sowell's avatar Robin Sowell

Wow- you do go back a ways! As do I! 😊

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.