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.

The Other Search Engines


You are currently viewing our The Other Search Engines as a guest. Please register to participate.
Login



Reply
Will Google index my pages???
Old 05-26-2004, 04:49 PM Will Google index my pages???
Unknown.

Posts: 1,693
Trades: 0
Im using a php script on my site so that a link to another page e.g http://something.dark-skys.com is set in the script so that when http://go.dark-skys.com?id=xxx is entered it will redirect the user to the page http://something.dark-skys.com

The question is will google still be able to find and index the pages???

Incase ive confused you as im kinda bad at describing things the code im using is...
<?php

$urls[home] = 'http://dark-skys.com';
$urls[awards] = 'http://awards.dark-skys.com';
$urls[chat] = 'http://ozone.dark-skys.com';
$urls[games] = 'http://games.dark-skys.com';

if(!isset($_GET['id']))
die('<head>
<title>Redirecting...</title>
<meta http-equiv="refresh" content="0;url=http://www.dark-skys.com">
</head>');

$id = $_GET['id'];
if(!isset($urls[$id]))
header('Location: http://error.dark-skys.com/404.htm');
else
header('Location: ' . $urls[$id]);

?>

Thanks

James
Dark-Skys99 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 05-28-2004, 05:50 PM
Skilled Talker

Posts: 65
Trades: 0
in general google doesnt like meta refresh... if you use it googlebot wont be able pass the referrer info (backlink URL & PR) so it probably wont even index the pages behind that script.

if you want to use a dynamic solution and not lose the search engine robots at the same time you should have a look at mod rewrite:
http://www.weberblog.com/article.php/20040502142254284
this is a basic example but I'm sure that you can find thousand of tutorials on the web
__________________

Please login or register to view this content. Registration is FREE
mxlabs is offline
Reply With Quote
View Public Profile Visit mxlabs's homepage!
 
Old 05-28-2004, 06:11 PM
Unknown.

Posts: 1,693
Trades: 0
Thanks,

I've decided to leave the script now and use the Dynamic one when i finally get my MySQL working

Thanks

James
Dark-Skys99 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Will Google index my pages???
 

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 Off
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 2.06602 seconds with 12 queries