Jump to content

Recommended Posts

Sometime around the middle of last month, I installed a script to count the click throughs on one of my sites, so I could monitor which links and banners people were clicking on. Each link now goes to a script called click.php which gets the destination in the query string, and stores it along with time etc. in a database, and then redirects the user to that destination using a header redirect.

Starting sometime towards the end of last month, I notice I wasn't getting very many hits from Google. In fact it seems that I now get no hits at all from Google aside from ones where people have actually typed the URL into the search bar.

I'm wondering if the two are related? I know Google doesn't like blind redirects, but this script is harmless.

If this is the problem, how would I go about fixing it? Can I put something in the header to tell search engines what I am doing with the redirect? Or do I put something in the robots.txt file to tell Google not to follow any links with click.php?blahblahblah in them? I can't believe something like this would piss Google off so much that it stops sending me any hits at all - up to that point I had about 70 or 80 hits during July from Google in its various incarnations - but I can't think of anything else I've done which would cause the problem.
Link to comment
https://forums.phpfreaks.com/topic/18035-anyone-know-anything-about-seo/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.