DJHeartFeelings Posted October 23, 2018 Share Posted October 23, 2018 I moved Prestashop to a new host, but with a new adress. I change already the Config file for the Database, but if i open the shop online, it goes to the old Server and adress. Example: the old URL: "http://www.test.de/shop" if im writing the new one: "http://new.de/shop" it redirect to the old URL Link to comment Share on other sites More sharing options...
PrestaHeroes USA Posted October 23, 2018 Share Posted October 23, 2018 under seo & urls disabled friendly urls save enable friendly urls save This will regenerate the .htaccess file..... 1 Link to comment Share on other sites More sharing options...
DJHeartFeelings Posted October 23, 2018 Author Share Posted October 23, 2018 (edited) thanks Edited October 23, 2018 by DJHeartFeelings (see edit history) Link to comment Share on other sites More sharing options...
DJHeartFeelings Posted October 23, 2018 Author Share Posted October 23, 2018 but now the admin panel dont work. Link to comment Share on other sites More sharing options...
PrestaHeroes USA Posted October 23, 2018 Share Posted October 23, 2018 how does it 'not work'? did you put the rewrite of old domain to new domain in top of .htaccess, that is preserved when PS regnerates. Link to comment Share on other sites More sharing options...
DJHeartFeelings Posted October 23, 2018 Author Share Posted October 23, 2018 i didnt have a htaccess file in the domain folder of the shop ore in the main folder where wordpress is installed Link to comment Share on other sites More sharing options...
DJHeartFeelings Posted October 23, 2018 Author Share Posted October 23, 2018 did you mean this one RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^([^\.]+)$ $1.html [NC,L] Link to comment Share on other sites More sharing options...
DJHeartFeelings Posted October 23, 2018 Author Share Posted October 23, 2018 i transport the htaccess to the server, but its automaticly removed Link to comment Share on other sites More sharing options...
DJHeartFeelings Posted October 26, 2018 Author Share Posted October 26, 2018 tanks it work now Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now