Forum Moderators: phranque

Message Too Old, No Replies

htaccess RewriteRule help

apache rewite rule

         

neds75

12:21 am on Apr 17, 2006 (gmt 0)



Hi,

I need a little help about rewiting url, so they will be more search engine friendly.

Right now, url-s of my gallesies are like:
www.somesite.com/galleries.php?id=123&img=12
so I would like if I could change url to something like:
www.somesite.com/random_name.html?img=12
Is something like that possible?
Also I would like if all links on my index page, instead:
www.somesite.com/galleries.php?id=123
be like
www.somesite.com/random_name.html

Thanks,
Ivica

jdMorgan

1:33 pm on Apr 18, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Please post the code you've written so we can discuss it.

Many threads on this subject are available here by searching for "static dynamic URL rewrite", "search friendly URL rewrite", and similar phrases.

For more information, see the documents cited in our forum charter [webmasterworld.com] and the tutorials in the Apache forum section of the WebmasterWorld library [webmasterworld.com].

Jim