Forum Moderators: phranque

Message Too Old, No Replies

what do you think about "/mypage.php/variable/value"

         

chenjiu

3:05 am on Feb 23, 2006 (gmt 0)

10+ Year Member



Is this treated as one page or different pages by search engine.
What is your opinion.
THX

jdMorgan

5:49 am on Feb 23, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



chenjiu,

Welcome to WebmasterWorld!

It's one URL. It's not a very pretty one, though.

I'd suggest you look into using mod_rewrite to pass static URL requests to your script, and use URLs like:

/variable-value

Then a simple example mod_rewrite like

RewriteRule ^([^-]+)-([^/]+)/?$ /mypage.php?variable=$1&value=$2 [L]

can be used to transparently call your script when a /variable-value URL is requested.

Static URLs are generally ranked better in search engine results than URLs which have long query strings.

Jim