.htaccess - PHP Filename Parameter -


i have seen various sites defining products name in url ... example

http://www.webesite.co.uk/hp/hp-c9701a-cyan-toner-cartridge-original

instead of

http://www.webesite.co.uk/product.php?product=hp-c9701a-cyan-toner-cartridge-original

i aware , have used lot $_get function parameters specified in url after .php file tag, question how provide parameter replace file name rather specifying @ end of file name?

i'm working in php i'm not sure if achieved using .htaccess file

i interested know perform best seo wise???

yes need use mod_rewrite .htaccess redirect correct resource.

here usefull link explaim better need in .htaccess:

http://zenverse.net/seo-friendly-urls-with-htaccess/

and here similar thread in stackoverflow:

how create friendly url in php?


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

qt - Errors in generated MOC files for QT5 from cmake -