301 redirects asp.net VWD

Discussion in 'Getting started' started by jpweber, Jan 7, 2012.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Hello!

    I want to do a couple things, and I'm sure they're remedial for many, but they're complicated for me.

    First, I want to make sure that when someone types mydomain.com, they're redirected to www.mydomain.com -- so it always uses the www. I know that's better for search engines and duplicate content.

    Secondly, I have some pages that I moved to another folder. So instead of getting a customerror when they go to www.mydomain.com/services/exactscan.aspx, they're automatically redirected to www.mydomain.com/products/exactscan.aspx.

    I'm not sure whether it's more recommended to use .htaccess in my root, or to use my web.config in Visual Web Developer.

    Any and all feedback would be sincerely appreciated!

    Jason Weber
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page