Post by mguthrie88 » Tue Jul 15, 2014 8:42 pm

So I'm attempting to setup a staging site for my opencart installation on a subdomain to allow for QA testing for some development changes, but I seem to be having some issues with the URLs on my development site.

Production site:
example.com
Phyiscal path on a hosted site:
/home/user/public_html

Staging site:
dev.example.com
Physical path on the hosted site
/home/user/public_html/dev

I've updated all of the paths in the config.php file in the dev subdomain, and I've also tried a few mods to the .htaccess file on both sites, but no matter what I try, all of my URL's on the dev site points to https://www.example.com. Any ideas?

Newbie

Posts

Joined
Tue Jul 15, 2014 8:34 pm

Post by Alex - A2Hosting » Thu Jul 17, 2014 3:40 am

Changing the config.php contents should do the job. Have you tried clearing your browser cache to see if it's that?

If so, feel free to email me or PM your site URL and I'll take a look for you.

Alex - alex@a2hosting.com
Image


User avatar
New member

Posts

Joined
Sun Jun 16, 2013 7:30 am

Post by procheck » Fri Jul 18, 2014 2:32 am

Have you set the rewrite in the .htaccess?

RewriteBase /

Change to:

RewriteBase /dev/

New member

Posts

Joined
Tue Jul 23, 2013 9:42 am
Who is online

Users browsing this forum: No registered users and 15 guests