okee Posted September 16, 2017 Share Posted September 16, 2017 Hi I have 2 shops in my prestashop website shopA is the main one shopB the secondary The www.shopB.com domain name is located on different hosting I have setup ssl on the shopB hosting I want to be able to direct www.shopB.com to the prestashop site and have www.shopB.com appear in the address bar I know the .htaccess file on the prestashop handles it once there But i'm having issues on the initial redirect When i type www.shopB.com it goes to the prestashop site but shows www.shopA.com in the address bar Is there any command I can add to the .htaccess file on www.shopB.com hosting to get www.shopB.com to appear in the address bar when the prestashop site is reached ? Thanks Richard Link to comment Share on other sites More sharing options...
NemoPS Posted September 16, 2017 Share Posted September 16, 2017 Wait, do you mean you are using multistore?Redirects are redirects: from one domain to the other. You can't mask it, if your shop is not multistore (that's what you need to have both domains) it will just redirect to the other url Link to comment Share on other sites More sharing options...
okee Posted September 16, 2017 Author Share Posted September 16, 2017 Hi Yeah I'm using Multistore shopB is the store i want the domain www.shopb.com to point to www.shopb.com is hosted on a different account Is there a way to direct www.shopb.com to the shopB store and have the www.shopb.com address appear in the address bar ? Link to comment Share on other sites More sharing options...
Scully Posted September 17, 2017 Share Posted September 17, 2017 Only if you would use frames, which has its own culprits. But prestashop itself requires to use the predefined URL. Link to comment Share on other sites More sharing options...
El Patron Posted September 17, 2017 Share Posted September 17, 2017 url 'grabbers' do not work when using payment gateways like PayPal for example... this is horrible idea you have or maybe not well explained what you want to accomplish. it's not multishop if shop is on different hosting. Link to comment Share on other sites More sharing options...
okee Posted September 17, 2017 Author Share Posted September 17, 2017 to make it clearer I have prestashop setup with 2 shops with shopA.com domain and hosting Multistore is enabled one store is shopA.com second store i shopA.co.uk On a seperate hosting I have shopA.co.uk registered with hosting and ssl When someone types shopA.co.uk i want it to go to the shopA.co.uk store and show shopA.co.uk in the address bar of the browser Is that possible ? Link to comment Share on other sites More sharing options...
Scully Posted September 17, 2017 Share Posted September 17, 2017 (edited) Same hosting no problem, but different host? Bad joke unless you direct your domain by dns to the server where prestashop is running. Edited September 17, 2017 by Scully (see edit history) 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