This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Webmaster forum > July 2005 > Re: RedirectPermanent Problem





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: RedirectPermanent Problem
Roy Schestowitz

2005-07-29, 12:03 am

Mark Parnell wrote:

> Previously in alt.www.webmaster, Roy Schestowitz
> <newsgroups@schestowitz.com> said:
>
>
> I would say then that either your host doesn't allow you to use
> .htaccess to set that, or my syntax was wrong. I'm far from being an
> expert on .htaccess, so the latter is quite possible, but I did check
> with the docs and was sure I'd got it right, so it's more likely the
> former. Not much you can do about that other than talk to your host or
> change to a different host. :-)



I trust you, don't get me wrong. Perhaps it collided with existing
redirections, e.g. a dozen or so redirections I had set up for RSS feeds
(to compensate for 'round-the-clock errors and feeds services that are new
in the business and think that case does not matter).

Assuming that the order of elements does not matter, I inserted the lines
you suggested right before the large collection of RedirectMatch permanent
elements:

RedirectPermanent /weblog /Weblog

RedirectMatch permanent ^/weblog/index.php$
http://schestowitz.com/Weblog/index.php

RedirectMatch permanent ........

....

....

Whether the order makes a difference or not, I am not entirely sure.


Thanks again,

Roy
Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews