Hi guys, 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?
Redirect 301 /page1/ /newpage/
Redirect 301 /page1 /newpage/
Redirect 301 /page2/ /newpage/
Redirect 301 /page2 /newpage/
Redirect 301 /page3/ /newpage/
Redirect 301 /page3 /newpage/
Is there something like this l can do?
Redirect 301 (/page3|/page2|page1) /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.