Page 1 of 1

How to change URL

Posted: Fri Jun 08, 2018 5:34 am
by tgdonohue
I'm using OC 2.1.01 on IIS
I need to move my cart from Shop.xxx.com to xxx.com/shop.
I have changed my Config files in both the main and admin directories and changed appropriate permissions. So each page works fine. . . kind of
While all the pages populate and load correctly, all links redirect to the original subdomain.

Re: How to change URL

Posted: Fri Jun 08, 2018 6:25 am
by IP_CAM
in your .htaccess file, you have to change the RewriteBase / to RewriteBase /shop/

Code: Select all

# SEO URL Settings
RewriteEngine On
# If your opencart installation does not run on the main web folder make sure you folder it does run in ie. / becomes /shop/ 
RewriteBase /shop/
Ernie