[Phpwm] Mod rewrite question
Mike Tipping
mike at etuna.co.uk
Tue Apr 1 11:56:18 BST 2008
If I put a redirect .httaccess in the root and not in the ebooks directory
the ebook directory still redirects.
The stuff that I¹ve read suggests I can add a .httaccess to the root with
something like
!(admin|ebook)
i.e. do this for everything that isn¹t the admin and the ebooks directory
but I can¹t get this to work or find any examples to copy.
On 1/4/08 11:48, "Phil Burrows" <phil at tektlab.co.uk> wrote:
> You need to put .htaccess files in each directory that you want to redirect.
> The mod rewrite should point to a new php file on your system that will
> redirect them to an external page.
>
> On 01/04/2008, Mike Tipping <mike at etuna.co.uk> wrote:
>> I have a client who because most of their site is out of date wants to
>> redirect all english and french pages to one external site, all german pages
>> to another external site but still allow people to access the admin pages
>> and a specific campaign section called ebook.
>>
>> The site is structured like:
>>
>> /en/...
>> /fr/...
>> /de/...
>> /admin/...
>> /ebook/...
>> /other/..
>> /etc/
>> /etc2/
>>
>> I presume this is possible with Mod rewrite but everything I try gets the
>> whole site to redirect rather than leaving the admin and ebook links
>> working.
>>
>> Any help appreciated.
>>
>> Cheers
>>
>> Mike
>>
>>
>>
>> _______________________________________________
>> Phpwm mailing list
>> Phpwm at mailman.lug.org.uk
>> https://mailman.lug.org.uk/mailman/listinfo/phpwm
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.lug.org.uk/pipermail/phpwm/attachments/20080401/4fabe57a/attachment.html
More information about the Phpwm
mailing list