I'm having some problems with my .htaccess 301 redirects code. Can anyone find any obvious mistakes below?
RewriteEngine On
RewriteRule ^xn/* http://www.myapplespace.com/groups/all [R=301]RewriteRule ^sitemap.xml$ auto_sitemap/index
RewriteRule ^sitemap.xsl$ mod/auto_sitemap/views/default/auto_sitemap/sitemap.xsl
RewriteRule ^sitemapindex.xsl$ mod/auto_sitemap/views/default/auto_sitemap/sitemapindex.xsl
redirect 301 /group/thechurchofmac?page=1 http://www.myapplespace.com/groups/profile/7802/the-church-of-mac
redirect 301 /video/video http://www.myapplespace.com/videos/all/
redirect 301 /profiles/blogs/fix-icloud-bookmarks-not-syncing http://www.myapplespace.com/blog/view/425/how-to-fix-icloud-syncing-by-matt
redirect 301 /profiles/ http://www.myapplespace.com/members/
redirect 301 /profile/TonyEdwards http://www.myapplespace.com/groups/profile/7802/the-church-of-mac/
redirect 301 /video/video/ http://www.myapplespace.com/videos/all/
redirect 301 /myapplespace-friends http://www.myapplespace.com/groups/all/
redirect 301 /forum/topics/apple-inc-myapplespace-supports-gay-marriage http://www.myapplespace.com/groups/all/
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- Gerard@gkanters

Gerard - 0 likes
You must log in to post replies.I do my rewrites in httpd config, works fine e.g:
RewriteRule ^/pages/view/12357/functionality-list functionality [R=301]