I have a website that uses php which contains things like headers and navigation. I'm adding a lot of CSS / JS files to the header, obviously. I want to be able to move the website to a subfolder of another site, so it can be located on www.example.com/somefolder/MySite, so I can not hardcode my link to be relative to the root .
I can not use relative URLs because the header is included on many pages in many different folder depths, so any relative link will be broken.
I find this extremely disappointing. I'm finished setting up a MEDIA_URL like the DNS, so in each of my links
Am I missing something easy here? Is there no better solution?
Why not just notify them that they want the code in code mode, not the design mode?
Comments
Post a Comment