Jump to content

Changing the name of your prestashop folder and url (not resolved)


Recommended Posts

Hi there all-knowing prestashop forum,

I am trying to change the url of my prestashop to the subdomain "store"

What is the most efficient way to change the prestashop folder's name? I have already set up my shop and have it running so redoing everything is not the best option.

FYI i am a capable web designer with limited knowledge of databases so please respond accordingly.

Thanks

Link to comment
Share on other sites

  • 2 weeks later...

Resolved! If you can get into the back office you need to change the "PS Directory" setting in the preferences tab to the right directory. If you can't get into the back office then you can change the database entry by going into your DB and change the "PS_BASE_URI" value in the ps_configuration table. This will get you up and running again.

Link to comment
Share on other sites

  • 2 weeks later...
  • 2 years later...

I found this thread and am bringing it back up as other similar ones are marked [solved] but this one is not.

I, too, want to change the name of the directory that prestashop resides in: from /catalog/ to /shop/. I am still in lampp/127.0.0.1 on my computer and want to do it before I try to upload live.

I changed the Preferences/PS directory to /shop/ and then changed the _PS_BASE_URI_ to /shop/ in my database's ps_configuration file. I manually checked the settings.inc.php file as well and it had already changed to define('__PS_BASE_URI__', '/shop/'); - - so I thought I was done.

I logged out and back in at the new URL and got into the back office with no problem, all my data and configurations are visible, but when I try to access "view my shop" I get a completely blank page at the URL of 127.0.0.1/shop/.

I have reverted my settings back to /catalog/ everywhere for now and I am back into the work site, but, what could be missing here? I followed all the steps I could find in this and the other threads (I do not yet have an htaccess file generated, and my sitemap.xml is empty in all my versions here offline, working and not).

Any ideas as to why this switch won't go through?

Link to comment
Share on other sites

×
×
  • Create New...