I'm getting a 500 error .. have asked hosts That's the only line in my .htaccess btw. J On 22/07/12 00:29, Anthony Baratta wrote: > You only need mod_rewite. If that is installed, you should be good. > > Try this: > > > Redirect 301 ^blogViewer\.php$ /oldSite/blogViewer.php > > > By default, the query string should pass through. > > -----Original Message----- >> From: "John Allsopp" <john at johnallsopp.co.uk> >> To: thelist at lists.evolt.org >> Date: 07/21/12 13:23 >> Subject: [thelist] 301 redirects in htaccess >> >> Hi >> >> Weird, after all these years, I've never had to do this. >> >> This >> http://www.johnallsopp.co.uk/blogViewer.php?blog=2012 >> is now this >> http://www.johnallsopp.co.uk/oldSite/blogViewer.php?blog=2012 >> >> and this >> Redirect 301 blogViewer.php >> http://www.johnallsopp.co.uk/oldSite/blogViewer.php >> in .htaccess isn't doing it. >> >> I suspect mod_alias is what I want, but I've run out of road. >> >> Do you know how to catch any URL with blogViewer in it and route it to >> the oldSite page, and retain all that comes after? Do tell. >> >> Cheers >> J >> >> >> -- >> ------------------------------------------------------------- >> John Allsopp >> tel: 01723 376477 >> Loads of other ways to get and stay in touch here: >> http://www.johnallsopp.co.uk/contact.php >> >> -- >> >> * * Please support the community that supports you. * * >> http://evolt.org/help_support_evolt/ >> >> For unsubscribe and other options, including the Tip Harvester >> and archives of thelist go to: http://lists.evolt.org >> Workers of the Web, evolt ! > -- > Anthony Baratta > > > -- ------------------------------------------------------------- John Allsopp tel: 01723 376477 Loads of other ways to get and stay in touch here: http://www.johnallsopp.co.uk/contact.php