Jump to content

how to change my URL?


Recommended Posts

Hi,

I have previously create a site eg: www.abc.com

But when I come to know prestashop I have created another site known as www.abc.com/prestashop

I want to interchange www.abc.com/prestashop -------> www.abc.com, can I do that?

I want to transfer the details which I created previously in www.abc.com to www.abc.com/prestashop

and

details from www.abc.com/prestashop to www.abc.com

Can this be done?

please advise me, thank you

Link to comment
Share on other sites

Edit http://www.abc.com/config/settings.inc.php and change line 8 from:

define('__PS_BASE_URI__', '/');



to:

define('__PS_BASE_URI__', '/prestashop/');



and do the reverse for http://www.abc.com/prestashop/config/settings.inc.php. Once you've done this, create a temporary folder in the root of your server, then move the contents of the prestashop folder to the temporary folder, then move the contents of the root directory to the prestashop folder, then move the contents of the temporary folder to the root directory, then delete the temporary directory. Once you've done this, you'll have swapped the prestashop and root directories and configured both Prestashop installations to look at the new locations.

I know this sounds complicated, but it is actually easy.

Link to comment
Share on other sites

  • 2 weeks later...
  • 4 weeks later...
  • 3 weeks later...

Hi!
I have a problem:
After moving my site from www.printercenter.ro/Shop to www.printercenter.ro i done all the needed things, in configuration files too, regenerate htacces, but still doesn't get a friendly URL, only 404 errors. Without friendly url site works ok. but with SEF enabled images are disappearing, products also. Even if i regenerate .htaccess?
Did I missed something?

Link to comment
Share on other sites

  • 3 months later...
  • 4 weeks later...
  • 1 year later...

Edit http://www.abc.com/c...ettings.inc.php and change line 8 from:

 

define('__PS_BASE_URI__', '/');

 

to:

 

define('__PS_BASE_URI__', '/prestashop/');

 

and do the reverse for http://www.abc.com/p...ttings.inc.php. Once you've done this, create a temporary folder in the root of your server, then move the contents of the prestashop folder to the temporary folder, then move the contents of the root directory to the prestashop folder, then move the contents of the temporary folder to the root directory, then delete the temporary directory. Once you've done this, you'll have swapped the prestashop and root directories and configured both Prestashop installations to look at the new locations.

 

I know this sounds complicated, but it is actually easy.

 

where i can change this in prestashop 1.5? i write url base at seo menu now i can access my website!txh

Link to comment
Share on other sites

×
×
  • Create New...