On Oct 4, 5:29 am, Jim Gay <[email protected]> wrote:
> On Mon, Oct 3, 2011 at 10:08 PM, JT <[email protected]> wrote:
> > Hi all,
>
> > Two questions related to the Vapor extension...
>
> > 1 - If I manually add an entry to the flow_meters table in my MySQL
> > database, how come that redirect does not take effect on my site? Even
> > restarting radiant doesn't seem to get the redirect to take effect.
>
> It should. Is the format correct? Have you verified that your regular
> expressions are correct?
>
> If you are using regular expressions, Vapor will gather them all, sort
> them, reverse them, and then loop through the collection. The
> collection is sorted and reversed so that it will attempt to match the
> more specific regular expressions first.

This may have been user error.

I programatically inserted a large number of records into the
flow_meters table, and then restarted radiant. However, the catch URLs
were of the format:

/my-parent-page#some-anchor
/my-parent-page#some-other-anchor

I was trying to have it identify and redirect based on the anchor
name, which I presume is not possible.

I was not using regular expressions.

> > 2 - Is there a maximum number of redirects I can have? I have a
> > radiant installation that's got a lot of redirects set up (240 at the
> > moment), and most of the latest entries are not redirecting. The
> > database design and the UI seem to imply I can have an unlimited
> > number of redirects set up.
>
> There is no explicit maximum.

The problem here seems to have been local browser cache, as the
redirects are working nicely now.

Thanks,

JT

Reply via email to