Jump to content

2 rewrite rulls, one for subdomains and one on domain


dakasadaka

Recommended Posts

Hier is what I have on httacces if I do the first it works, but only for subdomains not even the mainpage www.adriacro.net !

And I have two rewiters, so How can I get them work both?

Options -MultiViews

 

<IfModule mod_rewrite.c>

RewriteEngine on

 

#RewriteCond %{HTTP_HOST} ^(^.*)\.adriacro.net

#RewriteRule (.*)  owners.php?username=%1

 

RewriteRule ^([A-Za-z0-9_-]+)$ articles.php?page=$1 [QSA,L]

</IfModule>

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.