View Single Post
Old 06-10-2013, 09:24 AM  
alcstrategy
Confirmed User
 
Industry Role:
Join Date: May 2012
Posts: 124
example based on your example

RewriteRule ^hardcore$ http://hardcore.whatever.com [R]

would take the word "hardcore" in the uri and redirect .
^ is beginning of uri
$ stops
[R] is a forced redirect

http://httpd.apache.org/docs/current...d_rewrite.html mod rewrite docs for other flags, syntax, etc

and for using patterns look up regular expressions reference
alcstrategy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote