Jump to content

Changing root of website


Recommended Posts

I created my website using a subfolder, and now want to "publish" it.

 

I was able to watch my website using www.gamemagic.nl/prestashop . I copied all the files into my root folder, but whenever i type the root adress, www.gamemagic.nl it will still change to www.gamemagic.nl/prestashop. I tried to change to code in the settings.inc.php by taking the /prestashop out of the code, but it didnt change the result. So I got a few questions.

 

- Do I need to remove all the files out of the subdirectory as well?

- Will I still be able to use the admin folder by typing www.gamemagic.nl/"adminfoldername"

- If I'm talking complete rubbish, please tell me what I need to do.

Link to comment
Share on other sites

what you did sounds correct, you can simply move all the files up a folder to the root, and then just change the __PS_BASE_URI__ in the settings file so the value is '/'

 

you might have an .htaccess file in the root folder that is redirecting you. you do not need to delete the prestashop folder, just try renaming it to prestashop.old for the time being.

 

the admin folder will work fine.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...