I have developed a static site that works great when on my local server: mysite.dev
However, in my staging server, I have it going into a subdirectory:
sites.domainname.com/mysite
While it works on my local server (MAMP Pro), when I FTP the files to the /mysite
directory, a link that should be sites.domainname.com/mysite/about/index.php
is actually sites.domainname.com/about/index.php
(completely leaving out the subdirectory folder "mysite
")
How can I fix this using .htaccess in the mysite
folder?