Forum Moderators: phranque
Options +FollowSymLinks
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^olddomain.nl [NC]
RewriteRule ^(.*)$ http://www.olddomain.nl/$1 [L,R=301]
Redirect 301 / http://www.newdomain.nl/
Redirect 301 /info/ http://www.newdomain.nl/informatie/
Redirect 301 /reserveren/ http://www.newdomain.nl/informatie/verhuur #Activate mod_rewrite module
Options +FollowSymLinks
RewriteEngine On
#Prevent faulty regular expression from creating infinite loops
RewriteOptions MaxRedirects=10
#Set rewrites to incorporate URLbase
#RewriteBase /
RewriteRule ^info$ http://www.p79.nl/informeren/ [R=301,NC]
RewriteRule ^reserveren$ http://www.p79.nl/verhuur/ [R=301,NC,L]
#Activate mod_rewrite module
Options +FollowSymLinks
RewriteEngine On
#Prevent faulty regular expression from creating infinite loops
RewriteOptions MaxRedirects=10
RewriteCond %{HTTP_HOST} ^plein79.nl
RewriteRule (.*) http://www.plein79.nl/$1 [R=301,L] There doesn't need to be. The code
RewriteRule ^info$
simply listens for a GET request that asks for the /info path as a URL.
RewriteOptions MaxRedirects=10