Rewriting URL's in ASP.net (Simple question)
- by Tom Gullen
On my master page I have:
<link rel="stylesheet" href="css/default.css" />
I also have a page "blog.aspx" in the root directory.
I have the rule:
<rewrite url="~/blog/blog.aspx" to="~/blog.aspx" />
My questions are:
Am I meant to make all my links in my site point to blog/blog.aspx now instead of just blog.aspx where it is physically located
How is best to cope with the paths of the stylesheets etc now being messed up because they are one dir up?