Hi,

thats a start, can this be done relative to the domain name as well?

Kind Regards,

Jochen Daum

Chief Automation Officer
Automatem Ltd

Phone: 09 630 3425
Mobile: 021 567 853
Email: [email protected]
Skype: jochendaum
Website: www.automatem.co.nz



On Tue, Jun 16, 2009 at 11:22 AM, S.Mohammed
Alsharaf<[email protected]> wrote:
>
>  Hi
>
> Try this in /.htaccess
>
> redirectMatch 301 ^/shop/us/ http://domain.com/page.html
>
> hope this helps
>
> Mohammed Alsharaf
> http://www.safitech.com
>
>
>> Date: Tue, 16 Jun 2009 10:42:02 +1200
>> Subject: [phpug] multiple rewrite rules in .htaccess, where to put
>> additional rule
>> From: [email protected]
>> To: [email protected]
>>
>>
>> Hi,
>>
>> I got two CMS/E-Commerce systems used here on a site
>>
>> /.htaccess has a rewrite rule and a couple of Conds for /index.php
>>
>>
>> /shop/us/.htaccess has the same for another system
>>
>> I want to redirect /shop/us/ to a specific page.
>>
>> Which file do I put this specific rule and how
>>
>>
>> I tried:
>>
>> /.htaccess : RewriteRule ^/shop/us/$ /page.html [R]
>>
>> /shop/us/.htaccess : RewriteRule ^/shop/us/$ /page.html [R]
>> /shop/us/.htaccess : RewriteRule ^/$ /page.html [R]
>>
>>
>> Any help appreciated.
>>
>>
>>
>>
>> Kind Regards,
>>
>> Jochen Daum
>>
>> Chief Automation Officer
>> Automatem Ltd
>>
>> Phone: 09 630 3425
>> Mobile: 021 567 853
>> Email: [email protected]
>> Skype: jochendaum
>> Website: www.automatem.co.nz
>>
>> >
>

--~--~---------~--~----~------------~-------~--~----~
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[email protected]
-~----------~----~----~----~------~----~------~--~---

Reply via email to