help in .htaccess

bakry3d

Newbie
Joined
Mar 17, 2009
Messages
20
Reaction score
0
hello evry one

i have sites dir script but i want change site-(.*)\.html$

to site name

Code:
ex : [URL="http://www.domain.com/dir/black-hot"]www.domain.com/dir/black-hot[/URL]
#SWITCH mod_rewrite ON
Options +FollowSymLinks
RewriteEngine on
#OUR ABOVE CODE

RewriteRule site-(.*)\.html$ site.php?id=$1


thanks
 
you didn't even ask a question?

...be more specific on what exactly you need help with. You just said you have a website and posted some bits of code without saying what your trying to do.
 
i have a script sites dir arabic

in .htaccess

#SWITCH mod_rewrite ON
Options +FollowSymLinks
RewriteEngine on
#OUR ABOVE CODE

RewriteRule site-(.*)\.html$ site.php?id=$1


now it's show site-id 1 or 2

i want show site name in link
 
Reading between the lines I think he is trying to setup folders as subdomains

if so i also believe bakry will need his host to help with this
 
Back
Top