This forum has been moved here:
Helicon Tech Community Forum

  Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
ISAPI_Rewrite 3.0
 Helicon Tech : ISAPI_Rewrite 3.0
Subject Topic: URL Rewrite Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
brunopal
Newbie
Newbie


Joined: 03 February 2012
Online Status: Offline
Posts: 1
Posted: 03 February 2012 at 1:18am | IP Logged Quote brunopal

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 View brunopal's Profile Search for other posts by brunopal
 
Guests
Guest
Guest


Joined: 01 October 2003
Online Status: Online
Posts: -149
Posted: 03 February 2012 at 7:08am | IP Logged Quote Guests

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 View Guests's Profile Search for other posts by Guests
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You can vote in polls in this forum