ruknil wrote: they are not hyperlinks i simply used a href="User/Search.aspx" for every page
I guess you are doing this from some of the Logged in page which is inside 'User' directory. So the current location becomes ApplicationRootDir/User. And adding a link User/Search.aspx will make it ApplicationRootDir/User/User/Search.aspx
So instead, just write href="/KB/answers/Search.aspx" (or the relevant link).
Hope this helps!