Forum Moderators: open
Will this count towards the link popularity of [domain.com...]
Of course, I'm particularly interested in Google's ability to handle this, but would like to know if others can too?
Thanks in advance,
Dan
Your thoughts? Do I need to find out more info?
I'm leaning towards saying I should not do this - but these guys are programmers and they don't understand why Google or any search engine would not be smart enough to know to drop everything after the question mark.
My gut says why take the chance!
I'm not certain about this, but I would place my money on Google recognizing that the pages are the same, although it may take a few indexing cycles. It has to do the same basic thing to make certain that domains are identical with and without the "www" prefix, and that "default.htm" or whatever is the default home page, and so on.
i would include a bit in .htaccess where it looks for Google's user agent, and shows a 301 permanent redirect for [domain.com...] to [domain.com...] so then maybe (not sure) the link will count.
Also it does not show all the sites in the backlinks that link to us this way. They are PR4's but they still don't show.
It did take a couple cycles before the links started showing the backlinks...
Since we don't seem to know if the link will count or not, it seems that a 301 redirect would be a good way to go. Unfortunately, this may hinder you're customer's ability to track that link. If you're using PHP, you may want to use something like this in your index file:
<?php $RequestURI = getenv("REQUEST_URI");
if(strpos($RequestURI, "?"))
{
$fp = fopen("logfile.data", "a");
fputs($fp, "Log Information Here");
fclose($fp);
header("HTTP/1.1 301 Moved Permanently");
header("Location: /");
header("Connection: close");
}
?>
This will check the URL they've requested. If it contains a parameter, it will log that information, then 301 redirect them to the main page.
If you're using just about any other server-side language, like ASP, you could do the same thing with modified code.
Note: The code above has not been tested.
In the meantime, I'm going to mess around with this on my own site and see what I can find out.
If I could only find somewhere that a link like this shows up in someones backlinks for there root page (http://www.domain.com) and not for their [domain.com...] page (same page).
Haven't been able to find any. I have a hard time believing that no one out there has tried this....If anyone has please sticky me the site!
Thanks again, Dan.
I just sent you a sticky with a link to check. I linked to a friend's new site and configured it to show that the source was my page, mainly as a way to say "hello" in his logs. Alltheweb has recognized it and is crediting it as link to his home page. That same link is not showing in Google as a backlink, but I don't think it was posted soon enough to be included in the present index. Watch what happens in the next Google update and you might learn what you need to know.