× Here you can get community support related to ReDJ.

New Install Redirect not working as expected

  • gletech
  • Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 2 months ago #5931 by gletech
HI
Here is the page I want to redirect
www.gletech.com/cms_viewer.cgi?page=5

I have a From URL of
^/cms_viewer.cgi?page=5$ (tried with and without

with a To URL of
/software-menu/control-panel-menu

Case sensitive is off. Request and Decode are on

It has never matched, but it is in the Error tracking. I put a redirect in that area and it works.

Any help Appreciated
Thanks
Mike

Please Log in or Create an account to join the conversation.

More
7 years 2 months ago #5933 by admin
Hi Mike,
you need to escape the question mark:
^/cms_viewer\.cgi\?page=5$

Kind regards,
Luigi

Please Log in or Create an account to join the conversation.

  • gletech
  • Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 2 months ago #5934 by gletech
Replied by gletech on topic New Install Redirect not working as expected
Thanks Luigi

This now seems to work
www.gletech.com/cms_viewer.cgi?page=79

but www.gletech.com/cms_viewer.cgi?page=79/whatever

does not.

I thought the $ at the end would catch anything else

thoughts?
Mike

Please Log in or Create an account to join the conversation.

More
7 years 2 months ago #5935 by admin
Hi Mike,
no the dollar means "end with" and it means exactly the opposite. If you need to match any other chars too, just remove the dollar (rule can match the URL partially).

More info on mysql regexp here:
dev.mysql.com/doc/refman/5.7/en/regexp.html

Kind regards,
Luigi
The following user(s) said Thank You: gletech

Please Log in or Create an account to join the conversation.

Time to create page: 0.109 seconds