Problem with redirect when .asp?
-
alebo
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 7
-
Thank you received: 0
-
-
10 years 2 months ago #3010
by alebo
Hi there,
I have been using RedJ for almost a year now with no issues. However something has come up today that I can't figure out.
I have this old page
mysite.com/cmb/directory/details.asp?id=3803
I want to catch all traffic going to this old 'cmb/directory' so I set up a rule like this. The new directory is at
mysite.com/cmb/faculty-research
FROM: ^/cmb/directory
TO: /cmb/faculty-research
For some reason this is not working when a user goes to
mysite.com/cmb/directory/details.asp?id=3803
But if I remove the '.' part of the url the redirect works. It seems like the period is causing issues, how can I fix this?
Thank you for your time.
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
10 years 2 months ago #3014
by admin
Try this:
From URL: ^/cmb/directory/
To URL: {scheme}://{siteurl}/cmb/faculty-research
Request only: true (checked)
Let me know...
Please Log in or Create an account to join the conversation.
-
alebo
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 7
-
Thank you received: 0
-
-
10 years 2 months ago #3026
by alebo
Sorry for my delayed response, I didn't realize someone had responded. Your solution is unfortunately is giving the same results. It doesn't work with there is a period. If I remove the period the redirect works as expected.
Thank you again for your time.
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
10 years 2 months ago #3027
by admin
I suspect that the issue is related to a missing ErrorDocument option. To manage any requests (included .asp pages)you need to add this at the end of .htaccess file:
Can you check this?
The following user(s) said Thank You: alebo
Please Log in or Create an account to join the conversation.
-
alebo
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 7
-
Thank you received: 0
-
-
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
Time to create page: 0.193 seconds