This forum has been moved here:
Helicon Tech Community Forum

ISAPI_Rewrite 3.0 (Forum Locked Forum Locked)
 Helicon Tech : ISAPI_Rewrite 3.0
Subject Topic: URL Rewrite
Author
Message |
brunopal
Newbie


Joined: 03 February 2012
Posts: 1
Posted: 03 February 2012 at 1:18am

I have a URL:

http://xyz.com/newsite/index.php/contacts/

that I would like rewritten to read: http://xyz.com/contacts

does anyone know the rule that I would apply to do this.

I simply cannot figure it out.

Thanks.

Back to Top
 
Guests
Guest


Joined: 01 October 2003
Online Status: Online
Posts: -160
Posted: 03 February 2012 at 7:08am

Hello,

please, try using the following:

RewriteEngine on
Rewritebase /

Rewriterule ^newsite/index\.php/contacts/$ contacts [NC,R=301,L]
RewriteRule ^contacts$ /newsite/index.php/contacts/$ contacts [NC,L]

Regards
Andrew
Back to Top
 

Sorry, you can NOT post a reply.
This forum has been locked by a forum administrator.

Printable version Printable version