0

I cannot really explain what you call them. However, I will give an example. I was on this site and their URLs were:
index.php?page=page-name

They said you can achieve this using PHP scripts. How, exactly?

5
Contributors
6
Replies
7
Views
8 Years
Discussion Span
Last Post by erms
0

something along the lines of

if isset($page) {header("Location: /amherst/");
exit; }

however most sites are tending to go the other way
to use mode_rewrite to display the generated url in a person friendly, search engine friendly system.
if you are on an apache server mod_rewrite will do what you intend

0

can you give any example on this ????

google webmaster help long dynamic url are not indexed

look it up in your google webmaster account or yahoo webmaster account or msn webmaster account, helpscreens
long dynamic url are not indexed by search engines, the page may not be there tomorrow

if you dont have a webmaster account with some search engine, why **expletive deleted** not

0

Nahh, I have a Google Account I use lots with my site.

If you need as example, here:
www.darkmyst.org

I will try this once I have the time... with reserved variables.

0

This could be an example:

<?php
$a= $_REQUEST['page'];

switch($a){
case "home_page":
require_once 'home_page.php';
break;

case "something_else":
require_once 'some_other_file';
//or some code
break;

default: echo ' Nothing here '; break;
}
?>
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.