Hello! i didnt see any primary forum this should be in, so i'll ask the animals of PHP.

I really want the url

http://www.mysite.net/index.php?page=images

to be

http://www.mysite.net/index/images

Anyone got any idea? i've been searching and trying all day, but my brain capacity is not online today..

I will hug you...:(

if you have time, site point have an article on url rewriting

That article didnt tell me anything tho.. but to hell with it, i cant understand htaccess so i'll just keep it as it is

Member Avatar for diafol
RewriteEngine On
RewriteRule ^index/([^/]*)\$ /index.php?page=$1 [L]

htaccess
I think that may do it.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.