Hey Guys :)

I want to be able to rewrite my URL's like so:

site/profiles/(username)
but this would really only be site/profile.php?username=*

I have this so far:

<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^profiles/$ profile.php
</IfModule>

How would I do the bold located above?

Recommended Answers

All 2 Replies

Many thanks :)

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.