: 301 redirect bulk aspx URLs on IIS We recently relaunched an old ASPX site as a new Drupal site on the same domain. No 301 redirect was implemented. I have outputted a list of 1000 URLs
We recently relaunched an old ASPX site as a new Drupal site on the same domain. No 301 redirect was implemented.
I have outputted a list of 1000 URLs that need to be 301 redirected. Most of the URLs are the results of search queries that were committed on the website. I.E.:
www.mysite.com/electronics/CommunityDetails.aspx?FirstLetter=%&ID=444
We are running a Drupal site on IIS using a PHP plugin. Is there a way I can wild card a redirect of all ASPX pages? I know I can do it with .htaccess but that doesn't apply here. Any suggestions appreciated.
More posts by @Lee4591628
1 Comments
Sorted by latest first Latest Oldest Best
Take a look at www.asp.net/mvc/tutorials/older-versions/deployment/using-asp-net-mvc-with-different-versions-of-iis-cs to wild card route, I don't know what version of IIS you are using, it's much easier in IIS 7.5. - I've set up a redirection rule (after I've installed the "URL Rewrite" IIS module).
Here's is the rule:
Request URL: Matches the Pattern
Using: Wildcards
Pattern: (.*)
Logical grouping: Match All
Input {HTTP_HOST}
Type: Matches the PAttern
Pattern: mydomainname.com.com Action Type: Redirect
Redirect URL: mydomainname.com{R:1}
Redirect Type: 301
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.