Hi everybody,
I've read about 20 different blogs and forum posts on the topic of 301 redirects. They all make perfect sense to me, and have code examples for me to copy and yet when I upload my .htaccess file, they don't work!
Bit of background: I have rebuilt a site where a lot of the pages that had good PageRank now have different URLs. So I have created the following .htaccess file with the following 301 redirects to upload to the Apache server:
Code:
Redirect 301 /index.php?option=com_content&task=view&id=56&Itemid=72 http://www.paa.com.au/testimonials.htm
Redirect 301 /index.php?option=com_content&task=view&id=38&Itemid=51 http://www.paa.com.au/selling-a-house-in-melbourne.htm
Redirect 301 /index.php?option=com_content&task=view&id=30&Itemid=40 http://www.paa.com.au/investing-in-melbourne.htm
Redirect 301 /index.php?option=com_content&task=view&id=25&Itemid=36 http://www.paa.com.au/buying-a-house-in-melbourne.htm
Redirect 301 /index.php?option=com_content&task=view&id=28&Itemid=48 http://www.paa.com.au/selling-services.htm
Redirect 301 /index.php?option=com_content&task=view&id=44&Itemid=55 http://www.paa.com.au/buying-services.htm
Redirect 301 /index.php?option=com_wrapper&Itemid=62 http://www.paa.com.au/enquiries.htm
Redirect 301 /index.php?option=com_content&task=view&id=40&Itemid=57 http://www.paa.com.au/buying-services.htm
Redirect 301 /index.php?option=com_content&task=view&id=37&Itemid=50 http://www.paa.com.au
Redirect 301 /index.php?option=com_content&task=view&id=43&Itemid=60 http://www.paa.com.au/buying-services.htm
Redirect 301 /index.php?option=com_content&task=view&id=41&Itemid=58 http://www.paa.com.au/buying-services.htm
Redirect 301 /index.php?option=com_content&task=view&id=54&Itemid=67 http://www.paa.com.au/testimonials.htm
Redirect 301 /form/form.php http://www.paa.com.au/contactus.htm
Can anybody please tell me if I've buggered things. The old URLs are correct (without "www." at the beginning) and the new URLs are really straightforward html URLs. Are their rules about redirecting dynamic URLs? If so, that sort of defeats the point, doesn't it?
And just in case, yes, the file I'm uploading is spelt correctly (.htaccess).... I think.... 
|