Incorrect URL (installed on an Add-On domain)
Hi all - I created a new add-on domain on my hosting account for a new zencart website. The URL is
http://www.ignitionformen.com.au/index.php
For some reason whenever I click any link on my site (whether it be a page link or product), the "webstruc.com.au" prefix appears in the URL. "webstruc.com.au" is the main domain for my hosting account.
After clicking a link this is the URL:
http://webstruc.com.au/ignitionforme..._page=products...
The correct page still loads, but I dont want this prefix to appear. Not quite sure what file needs to be altered. My hosting company doesnt know either.
Any help will be greatly appreciated.
Re: Incorrect URL (installed on an Add-On domain)
Your /includes/configure.php file needs to have HTTP_SERVER set to the correct subdomain name, and DIR_WS_CATALOG needs to point to '/' and DIR_FS_CATALOG needs to point to the full path where the actual ignitionformen files are located.
Re: Incorrect URL (installed on an Add-On domain)
Hi DrByte - i've just tried that that but it still shows the webstruc prefix.
I changed:
HTTP_SERVER and HTTPS_SERVER from "http://webstruc.com.au" to "http://www.ignitionformen.com.au"
DIR_WS_CATALOG and DIR_WS_HTTPS_CATALOG from "/ignitionformen.com.au/" to "/"
Any other ideas?
Re: Incorrect URL (installed on an Add-On domain)
Actually I take that back - it worked!!! I didn't notice the permission error in Filezilla that stopped it from being uploaded.
Thanks very much DrByte!!
Do I need to reconfigure anything with paypal or otherwise since I've now changed the link essentially? Im using the Paypal Express Checkout
Re: Incorrect URL (installed on an Add-On domain)
PayPal doesn't care what your URL is.
If you want to change the branding of the page customers see when they get to PayPal, that's entirely up to you, and has nothing to do with changing your store's configure.php contents.