views:

26

answers:

2

Not sure the title explains what I want to do, so here goes: I have a website constructed with Umbraco 4.5.x and the links in the pages use relative paths. I want to have the domain prepended to these links and don't know how to do that; I didn't really used Umbraco so I am a newby at this :(.

What I want to do is replace links like:

<a href="/about-us/who-we-are.aspx">Who we are...</a>

with something like:

<a href="http://www.our-domain.com/about-us/who-we-are.aspx"&gt;Who we are...</a>

or

<a href="www.our-domain.com/about-us/who-we-are.aspx">Who we are...</a>

What are the things that I must do for this? Is it all Umbraco configuration or do I need to write some code? Or both?

I found something about the useDomainPrefixes config but it does not seem to work (not sure if it is even related to what I want to do).

Thank you!

A: 

I finally solved this by using Rewrite rules for IIS, Inbound + Outbound.

I also tried with NiceUrlFullPath but it did not work.

userUMB