I,m working on a new website to replace a old website. To maintain the old page links I have used. HttpContext.context.RewritePath.
The problem is that on my new website all the pages are in the root and my old pages where in a folder like (www.website.com/includes/ page.aspx) but my new website is in (www.website.com page.aspx).
So If I rewritePath the user will see the new page, but alle the images and stylesheet liks are not good anymore, because they are liked from the root and not in a folder. Example:
image new website: (/images/test.gif) => image exists
image with rewritePath: (/folder/images/test.gif) => image don't exists.....
How can I solve this ?
Thanks in advance !!!
...
Go to the complete details ...