cancel
Showing results for 
Search instead for 
Did you mean: 

How to merge pub and app folder using cpanel

SOLVED

How to merge pub and app folder using cpanel

Hi,

 

As a part of 1st step to install my new downloaded theme, I'm suppose to copy app and pub folder to public_html folder. Since there are 2 such folders already present, i'm assuming that we have to merge these 2 folders.

 

Now using cpanel, how can we do this?

 

And just to confirm the second step, I would be running the below command from public_html folder:

 

php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy -f
php bin/magento cache:flush

 

Is that right?

 

And when do we have to create a separate database ?

 

Thanks in advance.

 

P.S : I'm on Magento 2.2.4.

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

Re: How to merge pub and app folder using cpanel

You need to upload folder of pub and app into public_html folder using cPanel. If you dont know about uploading just ask your hosting provider they will guide you.

Just merge app and pub folder into public_html folder using cpanel.

Run all above command.
After completing above steps,
Go to admin panel,
Click on Content -> Design -> Configuration

Edit your store theme and set new theme from applied theme dropdown options
If Issue Solved, Click Kudos/Accept As solutions. Get Magento insight from
Magento 2 Blogs/Tutorial

View solution in original post

2 REPLIES 2

Re: How to merge pub and app folder using cpanel

You need to upload folder of pub and app into public_html folder using cPanel. If you dont know about uploading just ask your hosting provider they will guide you.

Just merge app and pub folder into public_html folder using cpanel.

Run all above command.
After completing above steps,
Go to admin panel,
Click on Content -> Design -> Configuration

Edit your store theme and set new theme from applied theme dropdown options
If Issue Solved, Click Kudos/Accept As solutions. Get Magento insight from
Magento 2 Blogs/Tutorial

Re: How to merge pub and app folder using cpanel

@Rakesh Jesadiya

 

Did all that but I can't find my new theme under drop down from Content -> Design -> Configuration.

 

What could be the reason ?