I copied my v4 database, created a new directory for my v5 test and I successfully ran the upgrade script via command line.
My v5 site is now up here:
mysite.com/test/
Everything appears to be working but the URLs in the HTML source are all going to mysite.com instead of mysite.com/test/. And thus the CSS isn't loading, code generated URLs(as opposed to user generated URLs) are going back to mysite.com instead of mysite.com/test/ and forms are submitting to mysite.com instead of mysite.com/test/.
For example, on the home page:
mysite.com/test/
the CSS URL in the HTML source is:
href="css.php?styleid=8..."
when I hover over that URL I see this in the bottom left popup:
mysite.com/css.php?styleid=8...
when I would expect to see:
mysite.com/test/css.php?styleid=8...
Furthermore, I setup a test in a different directory to test this "no leading slash" URL functionality. In:
mysite.com/test2/index.html
I have:
<a href="test.html">test</a>
and that link correctly goes to:
mysite.com/test2/test.html
So this weird "no leading slash" URL behavior is only happening in my v5 mysite.com/test/ directory.
What's causing this?
I tried removing the main .htaccess file completely, no effect.
I tried setting the Rewritebase in the main .htaccess to /test/, no effect.
I removed the web.config since I'm on Apache, no effect.
Edit:
I also changed the license URL from "mysite.com" to "www.mysite.com/test/" and that didn't seem to have any effect. Do I need to clear a cache or re-download something when I do this?
One other thing, I have my mysite.com/test/ directory password protected via .htaccess/.htpasswd so that the duplicate content doesn't impact our SEO. I tried removing the password protect momentarily but it had no effect.
My v5 site is now up here:
mysite.com/test/
Everything appears to be working but the URLs in the HTML source are all going to mysite.com instead of mysite.com/test/. And thus the CSS isn't loading, code generated URLs(as opposed to user generated URLs) are going back to mysite.com instead of mysite.com/test/ and forms are submitting to mysite.com instead of mysite.com/test/.
For example, on the home page:
mysite.com/test/
the CSS URL in the HTML source is:
href="css.php?styleid=8..."
when I hover over that URL I see this in the bottom left popup:
mysite.com/css.php?styleid=8...
when I would expect to see:
mysite.com/test/css.php?styleid=8...
Furthermore, I setup a test in a different directory to test this "no leading slash" URL functionality. In:
mysite.com/test2/index.html
I have:
<a href="test.html">test</a>
and that link correctly goes to:
mysite.com/test2/test.html
So this weird "no leading slash" URL behavior is only happening in my v5 mysite.com/test/ directory.
What's causing this?
I tried removing the main .htaccess file completely, no effect.
I tried setting the Rewritebase in the main .htaccess to /test/, no effect.
I removed the web.config since I'm on Apache, no effect.
Edit:
I also changed the license URL from "mysite.com" to "www.mysite.com/test/" and that didn't seem to have any effect. Do I need to clear a cache or re-download something when I do this?
One other thing, I have my mysite.com/test/ directory password protected via .htaccess/.htpasswd so that the duplicate content doesn't impact our SEO. I tried removing the password protect momentarily but it had no effect.
Comment