Jump to content

[Solved] Move installation to another location


Recommended Posts

You need to be more clear in your question.

Are you moving to...
1. A completely different server.
2. From your PC onto a server.
3. From one accout to another on same server
4. from a directory to another on same account and server.

Link to comment
Share on other sites

  • 3 weeks later...

I HAVE THE SAME PROBLEM!

I HAVE DONE THE TREE STEPS

1. Copying all files inside your web account through FTP
2. Copying your local PrestaShop database’s data to your online database
3. Editing your setting.inc.php file

As you, when I access the index still in BLANK PAGE. But I CAN access the
admin page!

BUT I DONT SEE THE SOLUTION ON THE POST, AND IT’S LIKE SOLVED!!!

;)
THANKX A LOT!

Link to comment
Share on other sites

  • 2 months later...
  • 4 weeks later...

I would like to move from:

http://example.net/prestashop

to

http://example.net/

.

In Back Office i changed --> Perferences --> PS directory from /prestashop to / and than moved everything from /prestashop folder to /

Homepage works ok, but categories don't. What am i doing wrong?

p.s: database stays the same so no need to change it, right?

Thanks!!
WODP

Link to comment
Share on other sites

  • 3 weeks later...

Really nobody knows?

Problem is: when moving from example.com/presta --> example.com (root), edited settings and chmod necessary folders, i get homepage ok with all (featured) products, but links to them and to categories aren't ok and i get 404 error (page not found). Mysql is the same (maybe edit there something?).


Please if someone is so kind to point me to right direction.

I'd also like to thank hieloiceberg for all his help and advices regarding PS! THANKS!!
WODP
Link to comment
Share on other sites

SOLUTION:


delete any .htaccess and create new one with this:

# URL rewriting module activation
RewriteEngine on

# URL rewriting rules
RewriteRule ^([a-zA-Z0-9-]*)/([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ product.php?id_product=$2$4 [L,E]
RewriteRule ^([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ product.php?id_product=$1$3 [L,E]
RewriteRule ^([0-9]+)\-([a-zA-Z0-9-]*)(.*)$ category.php?id_category=$1 [QSA,L,E]
RewriteRule ^content/([0-9]+)\-([a-zA-Z0-9-]*)(.*)$ cms.php?id_cms=$1 [QSA,L,E]
RewriteRule ^([0-9]+)__([a-zA-Z0-9-]*)(.*)$ supplier.php?id_supplier=$1$3 [QSA,L,E]
RewriteRule ^([0-9]+)_([a-zA-Z0-9-]*)(.*)$ manufacturer.php?id_manufacturer=$1$3 [QSA,L,E]
RewriteRule ^(.*)/S=([^/]+)/(.*)    $1/$3 [E=STATUS:$2]

# Catch 404 errors
ErrorDocument 404 /404.php



NOW IT WORKS!!!

Link to comment
Share on other sites

  • 4 months later...

I have the same problem. I moved shop from /prestashop to root, but still got the problem with the categories. I changed the base url to "/", changed required permissons, replaced the .htaccess but the categories are still not working (it gives me "requested page is not available"). When I go to any product, it works, but categories won't. Any suggestions, please?

Link to comment
Share on other sites

I have the same problem. I moved shop from /prestashop to root, but still got the problem with the categories. I changed the base url to "/", changed required permissons, replaced the .htaccess but the categories are still not working (it gives me "requested page is not available"). When I go to any product, it works, but categories won't. Any suggestions, please?

I deleted all the files, reuploaded again and now it works. Probably one or more files were not uploaded correctly during the first time.
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...