cancel
Showing results for 
Search instead for 
Did you mean: 

Theme update on shared hosting possible?

Theme update on shared hosting possible?

Hi all,

 

I bought a theme from theme forest and on shared hosting.  It is being used for portfolio / demo only.  


Is it possible to update a theme for magento 2 on shared hosting? I don't have access to SSH and cannot do command lines. I searched online and I do not see an answer. 


Thank you. 

12 REPLIES

Re: Theme update on shared hosting possible?

Hi @BlackPimple

 

okay - i understand your problem !

 

But your require SSH access to update theme - you actually need to upload new updated theme into app/design/frontend directory !

 

then you must required to run below commands in sequence using SSH : 

 

php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy -f 
php bin/magento cache:clean
php bin/magento cache:flush

Without SSH terminal access - if you still wanted to update theme - then its totally depeneded on theme console - if in the backend theme developer have given any console to update the theme then you can do it !

 

Otherwise you must need to follow my first step which i mention above to update the theme.

 

so its requires SSH for sure !

 

Hope it helps !

 

if issue solved,Click Kudos & Accept as Solution

Re: Theme update on shared hosting possible?

Smiley Sad 

 

Thanks

Re: Theme update on shared hosting possible?

Hi @BlackPimple

 

ok - i understand your concern, but its not possible without  SSH terminal so !

 

Assuming you are talking about to update theme version right ? or you want to change content of that theme which shows right now as demo ?

  

Hope you understand !

 

if issue solved,Click Kudos & Accept as Solution

Re: Theme update on shared hosting possible

Btw, if i install via ssh will it be installed forever even if i move from
dedicated to shared hosting or do i need to be on dedicated for theme to
remain installed?

Re: Theme update on shared hosting possible

Hi @BlackPimple

 

No - you can installed theme on shared hosting as well !

 

There is no issue at all ! that command which i mention is use for deploy the theme - nothing else !

 

So you can installed the theme on the same 

if issue solved,Click Kudos & Accept as Solution

Re: Theme update on shared hosting possible

When you installed your theme to server, Your theme will always stays at your server without you forcefully delete all of the folders and files from your app/design/frontend

 

Once you uploaded your file in server your data will be kept on your server whether its shared server or dedicated server.

 

If you want to apply the different theme for your store, You just need to change settings from admin panel, Content -> Design -> Configuration

 

 

Once you apply the different theme for your store you just need to run cache flush command.

php bin/magento cache:flush

 

If Issue Solved, Click Kudos/Accept As solutions.

Re: Theme update on shared hosting possible

Hi, problem is, shared hosting do not allow me to do those commands. Smiley Sad 

Re: Theme update on shared hosting possible

Hi

I currently do not see "app/design/frontend"

 

Does that compile after theme is installed? 

 

Currently app only has, etc, htaccess, autoload.php, and 2 other php. 

Re: Theme update on shared hosting possible

yes Design/Frontend will be not there ..

you need to create design/frontend directory and then need to put all theme files in frontend directory .

then you need to run those commads ..

regarding on shared hosting as well, ask your hosting provider to give run commands permissions ..

they give you for the same ..
if issue solved,Click Kudos & Accept as Solution