Looking to use .htaccess to create SEO friendly URLs

Posted by Ray on Server Fault See other posts from Server Fault or by Ray
Published on 2012-09-13T01:46:45Z Indexed on 2012/09/13 3:41 UTC
Read the original article Hit count: 418

Filed under:

For SEO purposes, I need someone to modify my .htaccess file. Here's what I need to do:

current URL: http://www.abc.com/index.php?page=show_type&ord=1

to

new URL: http://www.abc.com/amazing

Please note that that if someone types in http://www.abc.com/amazing, they must be served content from the current URL, but the new URL must stay in the address bar. I tried this and it didn't seem to work

RewriteEngine On
RewriteRule ^/?amazing/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/ /index.php?page=show_type&ord=1

© Server Fault or respective owner

Related posts about .htaccess