directory slashes

Soldato
Joined
12 May 2007
Posts
3,896
Location
Bristol
Having a bit of a tricky one here.

We've just inherited a bunch of sites from a client. The urls throughout the sites use / to jump to root which is normal enough. They've done this because the .master is in root and the actual pages are in various folders and other than hardcoding the css url in for example, it's the only way to get it to work regardless of page url.

This works fine when the site is live. However, when it's on staging, the url changes from sitename.com to staging.oursite.co.uk/sitename. Now, those slashes jump to the root of our site as they should. Obviously, this means nothing (in particular, images and the main css file) points to where it should.

Anyone know if there is a way to control the depth the / jumps to?

This is on windows server.
 
Back
Top Bottom