Hi guys, sorry for the wrong forum, there isn't an apache thread.
l'm trying to use htaccess to 301 redirect a bunch of old pages to a newly improved page. -- l have a lot of them and l was wondering if there was a cleaner way of doing this?
Is there something like this l can do?Code:Redirect 301 /page1/ /newpage/ Redirect 301 /page1 /newpage/ Redirect 301 /page2/ /newpage/ Redirect 301 /page2 /newpage/ Redirect 301 /page3/ /newpage/ Redirect 301 /page3 /newpage/
Another point to mention, l have each URL listed twice, because it doesn't seem to work because of the trailing slash on the old page -- sometimes it's there for visitors sometimes it's not.Code:Redirect 301 (/page3|/page2|page1) /newpage/