Skip to content

Commit a8bf452

Browse files
author
Paul Lloyd
committed
Redirect short URL to full URL (test)
1 parent 8c005a4 commit a8bf452

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.htaccess

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@
2828
RewriteCond %{HTTPS} !=on
2929
RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]
3030
RewriteRule ^ http://%1%{REQUEST_URI} [R=301,L]
31+
32+
# Rewrite shortened URLs
33+
RewriteCond %{HTTP_HOST} ^(www\.)bradshaws\.co$
34+
RewriteRule ^$ http://bradshawsguide.org/ [L,QSA,R=301]
3135
</IfModule>
3236

3337

0 commit comments

Comments
 (0)