parked domains to folders

Using a single web hosting account to host multiple sites

Postby richardk » Sat Sep 12, 2009 2:52 pm

Try
Code: Select all
Options +FollowSymLinks

<IfModule mod_rewrite.c>
  RewriteEngine On

  # Rewrite add-on domains.
  RewriteCond %{ENV:REDIRECT_STATUS} ^$
  RewriteCond %{HTTP_HOST} ^(www\.)?(jobswap\.co\.uk)$ [NC]
  RewriteRule .* /index.php?p=108 [QSA,L]

  RewriteCond %{SCRIPT_FILENAME} !-f
  RewriteCond %{SCRIPT_FILENAME} !-d
  RewriteRule . /index.php [L]
</IfModule>
richardk
 
Posts: 8800
Joined: Wed Dec 21, 2005 7:50 am

Previous

Return to Domain Handling

Who is online

Users browsing this forum: No registered users and 25 guests

cron