Creating redirects within Composite

Topics: Troubleshooting
Jun 23, 2011 at 8:10 AM

Hi

I wish to create multiple redirects within Composite C1 (2.9 SP1 P1).
Example: domain.com/example1 redirects to domain.com/xxx/xx/4hoi32h4iu32h4i3.aspx

Normally I would do this in the DNS configuration (create a HTTP 30x), but its not possible in this project.

 

Where and what do I edit to make some re-directions? Is it the Web.config file?

 

 

Thanks in advance!

-Crlsn

Jun 24, 2011 at 9:16 AM

if xxx/xx/4hoi32h4iu32h4i3 is a page inside the CMS you can create a friendly url for it with the path of example1, which will instruct C1 to load the xxx/xx/4hoi32h4iu32h4i3 page when accessing domain.com/example1

If not, you should look at the URL Remapping feature, which is basically a list of patterns which are matched and replaced with urls of own choosing

http://docs.composite.net/C1/ASP-NET/CreatingaURLremappingfunctionality.aspx

Jul 2, 2011 at 9:13 PM

Thank you Burningice! Works very well.