I'm developing a site on my dev server with a root url like this:
And for my links, images and javascript references I'll code theme like this:
<a href="/the%20dir/thepage.aspx"... or <img src="/test%20pages/theimg.jpg"... etc. They then properly link to the correct page/image at the full url of
However, I'm moving these pages over to a production server with a completely different url and site structure. More like this. or Depending on the users language preference.
So, what and where can I set that will be globally available so I can change my url references to something like this: ~globalVariableURL/the%20dir/... so my url references will work, regardless of environment or user language settings.
Any help on this would be greatly appreciated.
And for my links, images and javascript references I'll code theme like this:
<a href="/the%20dir/thepage.aspx"... or <img src="/test%20pages/theimg.jpg"... etc. They then properly link to the correct page/image at the full url of
However, I'm moving these pages over to a production server with a completely different url and site structure. More like this. or Depending on the users language preference.
So, what and where can I set that will be globally available so I can change my url references to something like this: ~globalVariableURL/the%20dir/... so my url references will work, regardless of environment or user language settings.
Any help on this would be greatly appreciated.