This forum has been moved here:
Helicon Tech Community Forum

  Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
Common Questions (Forum Locked Forum Locked)
 Helicon Tech : Common Questions
Subject Topic: redirect to index page using request URL (Topic Closed Topic Closed)
Author
Message |
neilm34
Newbie


Joined: 11 February 2007
Location: United Kingdom
Posts: 1
Posted: 11 February 2007 at 4:05am  

Hi,
i'm really new to ISAPI and really a PHP developer.
What i'm wanting to achieve is:

I have written a site with a CMS that serves up links such as
http://thesite.co.uk/solutions.html?u=20

This page does not actually exist in the directory but content/template is called using the id with
http://www.thesite.co.uk/index.php?u=20

hence all pages are called through the index page.

What i need is a redirect to index.php but displaying the .html URL in the address bar.

Not sure where to start here.

Any help would be great.

Cheers,

Neil.

Back to Top
 
Lexey
Moderator Group


Joined: 15 August 2002
Location: Russian Federation
Posts: 8119
Posted: 12 February 2007 at 5:30am  

RewriteRule /solutions\.html(\?.*)? /index.php$1 [I,L]
Back to Top
 

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

Printable version Printable version
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 cannot vote in polls in this forum