I have created another website name called submainwebsite in admin side. i have configured all those.

Then i had created a folder within root folder ex: www.example.com/store Inside that i have created index.php and .htaccess file.

when i run the site means i am getting like this https://prnt.sc/pgcvhg.

can anyone help this.

Thanks in advance.


1 Answer 1


Go to Admin->Stores->Configuration->General->Web

And set as below

Base URL for Static View Files -> baseUrl/pub/static/

Base URL for User Media Files -> baseUrl/pub/media/

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.