Quote:
Originally Posted by Minsc After a link you have some parameters on your site...
ex: "http://www.site.com/page.php?param=value¶m2=value2"
I heard that search engines don't look over your site well if you have three or more of them.
So you should try to reduce the number of parameters to increase the odds of someone finding something on your site with, say, Google. |
I see your using PHP, so most likely your on Apache? If so, then consider using the ModRewrite module.
With ModRewrite, you could convert "
http://www.site.com/page.php?param=value¶m2=value2" to "
http://www.site.com/page/value/value2" with a simple bit of code like this in your
.htaccess file....
Code:
RewriteEngine on
RewriteRule ^page/([^/.]+)/([^/.]+)$ page.php?param=$1¶m2=$2
That code rewrites
page/value/value2 to
page.php?param=value¶m2=value2. The user (and search engines) only see the neat URL, whereas the server sees the technical URL.
Read up more on ModRewrite.....
mod_rewrite, a beginner's guide (with examples)