ask $_GET
Posted: Sun Aug 15, 2010 11:56 pm
Hi masters..
I have a question..
Mostly i coding my web like one index and most of the rest page like (orders, product, about us) i attach them to the index page.. like :
for example index.php?link=product.php and so on..
My question.. is that ok using this method ? it help me alot using this method coz i don't need to design the same page only the data i call... but what i concern is that the url gonna be long... is it ok with SEO ? can i still make it with .htaccess (I am still learning with this one like make our link look like www.domain.com/order-blackberry-bold.htm)
thanks alot before
I have a question..
Mostly i coding my web like one index and most of the rest page like (orders, product, about us) i attach them to the index page.. like :
Code: Select all
<?php
if($_GET["link"]){
include($_GET["link"]);
}
else{
include("home.php");
}
?>
My question.. is that ok using this method ? it help me alot using this method coz i don't need to design the same page only the data i call... but what i concern is that the url gonna be long... is it ok with SEO ? can i still make it with .htaccess (I am still learning with this one like make our link look like www.domain.com/order-blackberry-bold.htm)
thanks alot before