Skip to content

Simple Url Rewrite For Moved Folder

by on May 13, 2013

Occasionally, restructuring of your website or CMS can require the move or archive of folders.

 

To avoid lots of broken links and bookmarks, you can quickly use the URL Rewrite module for IIS 7 and IIS 7.5 to redirect this traffic to the appropriate location. For example, moving a website into a content management system which allows multiple portals, such as DNN.

(.*)myfolder/(.*)

portals/0/myfolder/{R:2}

image

image

Advertisements
Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: