Skip to content

Instantly share code, notes, and snippets.

@kinglozzer
Created March 2, 2017 16:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kinglozzer/e97ce4bd186fb923bf3ce933c047938a to your computer and use it in GitHub Desktop.
Save kinglozzer/e97ce4bd186fb923bf3ce933c047938a to your computer and use it in GitHub Desktop.
RewriteOptions inherit
<IfModule mod_rewrite.c>
<IfModule mod_env.c>
SetEnv HTTP_MOD_REWRITE On
</IfModule>
RewriteEngine On
RewriteBase '/'
RewriteRule ^about-us/commercial-services(/)?$ /commercial-property/ [R=301,L]
# Other redirects
</IfModule>
# SilverStripe stuff here...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment