Forum Moderators: phranque

Message Too Old, No Replies

Rewrite Portion of URL

Rewrite URL Segment

         

SatiricFX

3:10 pm on Dec 2, 2011 (gmt 0)

10+ Year Member



Please assist with a Rewrite of a URL. Trying to Rewrite like below:

[website.com...]

to

[website.com...]

Everything after the slash needs to remain the same. For example, if a user goes to [website.com...] it should rewrite to [website.com...]

Any assistance would be appreciated. Thank-you.

g1smd

3:20 pm on Dec 2, 2011 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Use example.com in this forum to suppress URL auto-linking.

Use a RewriteRule for this task.

First thing you need to decide is whether you want an external redirect or an internal rewrite.

A redirect redirects to a new URL.

A rewrite changes the internal location content is served from.

You used two URLs in your example suggesting you're talking about a redirect but then asked for a rewrite.