I have a site on a remote shared hosting server. I am testing the site in a subdomain like http://testing.mydomain.com. Everything works perfectly there. I also have files on my local machine. I uploaded the files from my local machine to my public_html directory so that that the site would be available from http://www.mydomain.com.
After uploading the files I confirmed that my _config.php is correct and tried to access the home page. No joy. There is no error, the page is just blank. I tried starting over with no success. I thought it may be because both the live version and the testing version are hitting the same database. I duplicated my database and now the live version hits dbRealData and I changed the test version so it hits dbTestData. The pages are still blank.
I think it has something to do with mod_rewrite. I changed my .htaccess rewrite rule from:
RewriteRule .* sapphire/main.php?url=%1&%{QUERY_STRING} [L]
to:
RewriteRule .* testing/sapphire/main.php?url=%1&%{QUERY_STRING} [L]
Now it displays pages, but all my URLs are similar to http://www.mydomain.com/**testing**/home/ or some variation of that. (** for emphasis only)
Even though I'm basically routing my pages through the testing configuration, when I make changes to the live domain, it's updating the live version of the database (dbRealData)
Does anyone have any suggestions on what I could try to fix this?
[Sidebar: Does anyone know how long the forum search may be disabled? I think something like this may have been discussed before, but I can't find it]