301 Redirect

ISAPI_Rewrite is Apache mod_rewrite compatible URL rewriter for Microsoft IIS
User avatar
Posts: 2
Joined: 01 Jan 2013, 11:53

301 Redirect

01 Jan 2013, 11:58

Hi guys,

I need to setup a 301 redirect but am struggling to get this URL working!

Old page = /for-sale/bansko%20(ski%20resort)/apartment.htm

New page = /for-sale/bansko/apartment.htm

The problem is my original page has brackets in and this seems to be breaking the rule!

I've tried so many different ways but am failing every time!

Any help greatly appreciated,

Thanks,

Pete

User avatar
Posts: 28
Joined: 02 Mar 2012, 12:50

Re: 301 Redirect

02 Jan 2013, 07:10

RewriteBase /
RewriteRule for-sale/bansko\s\(ski\sresort\)/apartment\.htm for-sale/bansko/apartment.htm [R=301,NC,L]

User avatar
Posts: 2
Joined: 01 Jan 2013, 11:53

Re: 301 Redirect

02 Jan 2013, 07:37

Thanks for the quick response - I'll give this a try today. I temporarily fixed the problem by doing the redirect in my Coldfusion application.cfc but would rather keep this kind of stuff with Rewrite.

Thanks again.

Return to ISAPI_Rewrite 3.0

Who is online

Users browsing this forum: No registered users and 54 guests