Forum Moderators: phranque
RewriteRule ^gallery(3|/v)/ /gallery/ [L]
RewriteRule ^(marine(\ kitchen)?|current\ projects|april1?|kitchen&bath|waterst|winslow)\.htm$ http://www.aspenridge.ca/gallery [NC,R=301,L]
Options +FollowSymlinks
#
RewriteEngine On
RewriteBase /
# Created by Redirection Module: Apache
# Sat, 15 Jan 2011 01:01:19 +0000
# Redirection 2.2.3 - [urbangiraffe.com...]
<Files .htaccess,.svn>
Order allow,deny
Deny from all
</Files>
#
php_value error_reporting E_ALL
#
Options +FollowSymlinks
# End of Redirection Module code
#
RewriteEngine on
RewriteBase /
#
# Externally redirect old URLs to "/gallery/" page
RewriteRule ^(gallery(/v|3)/|marine(\ kitchen)?|current\ projects|april1?|kitchen&bath|waterst|winslow)\.htm$ http://www.aspenridge.ca/gallery/ [NC,R=301,L]
#
# Externally redirect requests for non-blank non-canonical hostnames to canonical hostname
RewriteRule %{HTTP_HOST} !^(www\.aspenridge\.ca)?$
RewriteRule ^(.*)$ http://www.aspenridge.ca/$1 [R=301,L]
#
# Internally rewrite URLs which do not resolve to physically-existing files or directories to
# WP script, except for URLs which resolve to filetypes which WP cannot and should not generate
# BEGIN modified WordPress rewrite
RewriteCond $1 !(\.(gif|jpe?g|png|ico|js|css|xml|txt)|^index\.php)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ /index.php [L]
# END modified WordPress rewrite