On Oct 11, 5:08 pm, "bax...@gretschpages.com"
wrote:
> I'm sure this is simple and I'm just not constructing the URL
> properly. Basically, it used to be a drupal site, with the cruddy old
> Drupal every url is a querystring setup. What I want is pretty
> simple... all of those old URLs resolve to
> And failed most spectacularly. Do I need to be escaping something, or
> what am I missing?
Yes. Even for the raw regular expressions, the question mark at the
beginning must be escaped. Try a simple test case:
import sys
import re
s = r'\?q=taxonomy/term/[0-9]+$'
re_pattern = re.compile(s, re
I'm sure this is simple and I'm just not constructing the URL
properly. Basically, it used to be a drupal site, with the cruddy old
Drupal every url is a querystring setup. What I want is pretty
simple... all of those old URLs resolve to the home page and send a
301 to the spider.
I tried:
3 matches
Mail list logo