cancel
Showing results for 
Search instead for 
Did you mean: 

Want to run two different magento with different version in sub directory

SOLVED

Want to run two different magento with different version in sub directory

Hello,

 

I have a website which is in magento 1 version and now i want to migrate it into magento 2 version. First I setup into localhost and then i moved it to the subdirectory of main domain where my actual website which is in magento 1 version is running. Now my website for magento2 which is in subdirectory display only homepage in frontend and all the other pages are getting page not found message and even i cant able to access the admin panel it gives same page not found message.

 

What should i try ? can you give me the steps for solve this problem?

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Want to run two different magento with different version in sub directory

I don't recommend running M1 and M2 from the same sub-directory. Here's a helpful article on the hosting differences between Magento 1 and Magento 2. It touches on some of the most common differences, including applicable PHP versions, and the directories that Magento 2 should be run out of (which are different than Magento 1).

 

Best of luck with your M2 site!

View solution in original post

4 REPLIES 4

Re: Want to run two different magento with different version in sub directory

Hello @yash_trivedi1 ,

 

 

Please add index.php in URL and try to access it like

 

https://magento.com/admin -> https://magento.com/index.php/admin

 

If you still didn't access it then URL_Rewrite is enabled or not on server


--
If my answer is useful, please Accept as Solution & give Kudos

 

 

Re: Want to run two different magento with different version in sub directory

If you still didn't access it then URL_Rewrite is enabled or not on server

 

How can i check this things ? can you please elaborate ?

Re: Want to run two different magento with different version in sub directory

Hello @yash_trivedi1 ,

 

For ubuntu os: http://www.iasptk.com/enable-apache-mod_rewrite-ubuntu-14-04-lts/

For window: http://www.orchidbox.com/how-to-enable-mod_rewrite-module-in-apache-in-xampp-wamp

 

Can you access URL by adding index.php?

--
If my answer is useful, please Accept as Solution & give Kudos

 

Re: Want to run two different magento with different version in sub directory

I don't recommend running M1 and M2 from the same sub-directory. Here's a helpful article on the hosting differences between Magento 1 and Magento 2. It touches on some of the most common differences, including applicable PHP versions, and the directories that Magento 2 should be run out of (which are different than Magento 1).

 

Best of luck with your M2 site!