SMFHacks.com
Ad Seller Pro => Support => Topic started by: amwebby on February 18, 2013, 03:58:12 am
-
This morning I have had a request from an interested advertiser who has observed that ads using Ad Seller Pro do indeed link to the clients site but go through http://www.amoc.org/forum/index.php?action=adpro;sa=c&id=10 , which shows as a 302 redirect in Redirect Checker (http://www.internetofficer.com/seo-tool/redirect-check/)
Apparently the 302 redirect removes the additional SEO benefit and authority passed from the link to the client's site and he has requested that I make the redirect 301 instead of 302.
He claims this would keep my tracking intact and still pass SEO authority to the client site.
Obviously this is quite a show-stopper to people wishing to drive traffic to their site via ads on mine so I need to change it. Trouble is I don't know where?
-
Well you really don't get any seo benefit for redirection links most of the time.
Discussion on the redirect types
http://www.mattcutts.com/blog/seo-advice-discussing-302-redirects/
In the Sources/AdSeller.php Ad Seller Pro you can find
header("Location: $url");
Change to
header("HTTP/1.1 302 Found");
header("Location: $url");
-
I read all those posts arguing that Google treats 302 and 301 the same but you tell these people who claim to be SEO experts that!
Not sure I follow your code. What does the "Found" do? Replace 302 with a direct link?
Edit: Can't find that in Sources/subs.php either?
-
Ah, found it in Sources/adseller.php
Changed it to
header("HTTP/1.1 301 Found");
header("Location: $url");
And it worked!
-
Glad you found sorry stlil tired this morning.