liamloveslearning Posted February 9, 2010 Share Posted February 9, 2010 Hi all, Im having an error thrown up by google wmt regarding my redirects, On my companies website we have a store, when you click the store button it takes you to a page which tells the user how secure there connection is and then redirects to the shop via JS after 7 seconds. Is there a way to have google follow this? Ive read up on permanant redirects but I dont think thats the thing we need? Quote Link to comment https://forums.phpfreaks.com/topic/191466-google-redirect-errors/ Share on other sites More sharing options...
JonnoTheDev Posted February 9, 2010 Share Posted February 9, 2010 Yes. If you detect the User agent as Googlebot then use a proper 301 redirect header. Not Javascript. Why do you need Google to follow this? Does it need indexing? Do you have a sitemap that Google can follow? Quote Link to comment https://forums.phpfreaks.com/topic/191466-google-redirect-errors/#findComment-1009326 Share on other sites More sharing options...
liamloveslearning Posted February 9, 2010 Author Share Posted February 9, 2010 No I dont want my store indexing, thus it doesnt need following, its just I read somewhere having errors in WMT penalizes you in the search engines results? or am I being naive? thanks for the advice neil Quote Link to comment https://forums.phpfreaks.com/topic/191466-google-redirect-errors/#findComment-1009389 Share on other sites More sharing options...
Daniel0 Posted February 9, 2010 Share Posted February 9, 2010 For redirection you should send a 301, 302, 303 or 307 response code along with the Location header. Redirection using javascript is a hack solution. Quote Link to comment https://forums.phpfreaks.com/topic/191466-google-redirect-errors/#findComment-1009686 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.