Rewrite rule regex help
Posted: Sun Jan 01, 2006 11:57 am
Hello,
A friend needs the following help which I hope someone here can give:
# I can't figure out how to get RewriteRule to work so that we can put
# anchors in the URLs. Here's what I've tried:
# RewriteEngine on
# RewriteRule ^(.*) $1 [ NE]
#
# I'd really like this to work so that the old anchored URLs can be properly
# redirected:
# Redirect permanent /canon/sutta/khuddaka/theragatha/thag14.html#1 http://www.accesstoinsight.org/canon/su ... 1-tb0.html
# Redirect permanent /canon/sutta/khuddaka/theragatha/thag14.html#2 http://www.accesstoinsight.org/canon/su ... 2-tb0.html
# Redirect permanent /canon/sutta/khuddaka/therigatha/thig05.html#2 http://www.accesstoinsight.org/canon/su ... 2-tb0.html
A friend needs the following help which I hope someone here can give:
# I can't figure out how to get RewriteRule to work so that we can put
# anchors in the URLs. Here's what I've tried:
# RewriteEngine on
# RewriteRule ^(.*) $1 [ NE]
#
# I'd really like this to work so that the old anchored URLs can be properly
# redirected:
# Redirect permanent /canon/sutta/khuddaka/theragatha/thag14.html#1 http://www.accesstoinsight.org/canon/su ... 1-tb0.html
# Redirect permanent /canon/sutta/khuddaka/theragatha/thag14.html#2 http://www.accesstoinsight.org/canon/su ... 2-tb0.html
# Redirect permanent /canon/sutta/khuddaka/therigatha/thig05.html#2 http://www.accesstoinsight.org/canon/su ... 2-tb0.html