Jump to content

[SOLVED] web indexing and dynamic pages


contra10

Recommended Posts

i'm trying to get my dynamic web content to get indexed

 

i read some up on it and the url which contains the "?" is repellant for index spiders.

 

i figured that i should use for example this code

 

<?php
$original_url = "http://www.url.com/event.php?ev=$eventid";
$split_url = explode('?', $original_url);
$no_querystring_url = $split_url[0]; // http://www.domain.com/file1.php
echo "<td><a href='$no_querystring_url'>$eventname</a><br>";
?>

 

problem is how can i retireve the information in the actual page

 

before i used

<?php
if(is_numeric($_GET['ev'])){

$id = $_GET['ev'];
}
?>

 

i'm open to any other suggestions on getting dynamic content indexed

Link to comment
https://forums.phpfreaks.com/topic/153820-solved-web-indexing-and-dynamic-pages/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.