Google Search

Google Search

HTML/JavaScript

Thursday, September 1, 2011

htaccess for three folder act as differ domain


//outer files act as domain
//(folder monnocode act as another domain)

//(folder voucher act as another one new domain)



Options +FollowSymlinks
RewriteEngine on
RewriteRule ^/?meingutschein(/(.*))?$ http://meingutscheincodes.de/$2 [R=301,L]

ErrorDocument 500 /error_page.php
ErrorDocument 404 /error_page.php
ErrorDocument 401 /error_page.php
ErrorDocument 403 /error_page.php
RewriteRule ^merchantpage/([0-9]+)/([0-9]+)/([a-zA-Z0-9_-]+)\.html$ merchantpage.php?id=$2
RewriteRule ^index.html index.php
RewriteRule ^aboutus.html aboutus.php
RewriteRule ^merchantpagelistbyletter.html merchantpagelistbyletter.php
RewriteRule ^contactus.html contactus.php
RewriteRule ^terms.html terms.php
RewriteRule ^goclick.html goclick.php

No comments:

Post a Comment