ReDJ - unable to 301 urls that contain "?"
-
Joogleweb
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 2
-
Thank you received: 0
-
-
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
12 years 8 months ago #3
by admin
Hi,
you should consider that the rule is a regular expression so the question mark is a special char. To specify a literal ? you must escape it, so replace any "?" with "\?".
Kind regards,
Luigi
P.S. You are the first user on this new forum, congratulations...
Please Log in or Create an account to join the conversation.
-
Joogleweb
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 2
-
Thank you received: 0
-
-
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
12 years 8 months ago #5
by admin
Hi,
about the encoded chars (with %) consider that the URL on the server is normally decodec first (if not specified as in Tag Meta). So you should create the rule using the decoded chars. I mean use a space if there's a %20.
On the second question:
URL: joogleweb.com/~taw/?page_id=7
Configured as: ~taw/\?page_id=7
Use this rule:
From URL: ^/~taw/\?page_id=7$
If this doesn't work, maybe there's another item that matches with a lowest order. In this case, check all your rules. If the problem persists, send me a dump of ReDJ table at info(at)selfget.com.
Kind regards,
Luigi
Please Log in or Create an account to join the conversation.
Time to create page: 0.136 seconds