Noddegamra - 10:27 am on Aug 18, 2010 (gmt 0)
I have a website that works like this:
I have a script called a content handler that checks the URL entered. So, when people go to my root url (www.domain.com for example) it defaults to a page using the following code:
// Show Default Page
$section = "home";
$page = "index";
In this case, when people go to www.domain.com it goes to www.domain.com/home/index.html which is the home page. Other pages/urls go to their respective areas.
So.. is this harming my site rankings? Is it doing weird things in search engines eyes for my root domain?
My .htaccess file contains the following code:
RewriteRule ^([^/]+)/([^/]+).html index.php?section=$1&page=$2 [NC]
If someone goes to a page directly (as in the proper file structure such as www.domain.com/products/product.php) I use this
$global_site_url = "http://".$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI']."index.html";
Which may also be harming rankings?
I'd just like a second opinion really to see if I am doing things ok or making a real huge mistake.