I have installed my magento 2.21 on the webserver in www.mydomain.com/magento2/
Now I wish to have the store in www.mydomain.com/
I tried to change the url in the menu store/web/baseurl and press 'save'
then i i get a error on loading the page and can't get into the admin page. In www.mydomain.com/magento2/ i can see the store but with no css.
HOW DO I get my store from the subfolder to the mainfolder ?
What am I doing wrong?
Have you moved the magento codebase to not be in a subfolder? What's the document root in your webserver configuration? i.e. nginx or apache configuration.
Can you share the link to the installation guide that you are following?
I do think it’s fine keeping it in the magento2 folder but only if you
update the web server configuration to let it know. If you previously had
magento2 in the URL it means the web server was configured to have the
parent directory as the document root.
is this perhaps the way to do it ?
DOT = .
Yeah, you have a few options:
@Tom Robertshaw Do you know how I get the
"sudo ln /s js ../"
"sudo ln /s skin ../"
"sudo ln /s media ../"
code on a apache server ?
how do I symlink?
If you don't have the level of access required, then maybe you can send a support request to your host to help with the configuration?