Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

SEO Tycoon


You are currently viewing our SEO Tycoon as a guest. Please register to participate.
Login



Freelance Jobs

Reply
301 Redirects - AM I A BIT THICK??!!
Old 10-30-2007, 08:19 AM 301 Redirects - AM I A BIT THICK??!!
Average Talker

Posts: 17
Trades: 0
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....
stockstreet is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 10-30-2007, 04:49 PM Re: 301 Redirects - AM I A BIT THICK??!!
Learning Newbie's Avatar
Defies a Status

Latest Blog Post:
Astounding Republican Paranoia
Posts: 5,662
Name: John Alexander
Trades: 0
Does it work the way you would expect when you upload this?
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
Learning Newbie is offline
Reply With Quote
View Public Profile
 
Old 10-30-2007, 05:09 PM Re: 301 Redirects - AM I A BIT THICK??!!
Average Talker

Posts: 17
Trades: 0
When I upload it, and then attempt to go to the old URL's

(e.g. http://www.paa.com.au/index.php?opti...d=56&Itemid=72)

I just get a 404 error.
stockstreet is offline
Reply With Quote
View Public Profile
 
Old 10-30-2007, 06:08 PM Re: 301 Redirects - AM I A BIT THICK??!!
Learning Newbie's Avatar
Defies a Status

Latest Blog Post:
Astounding Republican Paranoia
Posts: 5,662
Name: John Alexander
Trades: 0
Hmm, I'm not a .htaccess expert, but that means something's wrong.

Do you have mod rewrite? Is that the entire code you posted? I think there need to be a few lines at the top about symbian links and whatnot?
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
Learning Newbie is offline
Reply With Quote
View Public Profile
 
Old 10-31-2007, 05:07 AM Re: 301 Redirects - AM I A BIT THICK??!!
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
actually for the syntax used, I believe mod_redirect is required rather than mod_rewrite.

But same here I'm not a .htaccess officianado.

make sure the file IS .htaccess, with no file name and htaccess is the extension.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to 301 Redirects - AM I A BIT THICK??!!
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.26497 seconds with 12 queries