Cannot get a url to redirect
-
tomkeen
-
Topic Author
-
Visitor
-
11 years 3 months ago #1993
by tomkeen
We are trying to redirect a 404 error from page (our domain)/white_papers.cfm . This is a page from an old cold fusion website. We can successfully redirect to a target page from (our domain)/white_papers but not from (our domain)/white_papers.cfm . We are using the following syntax in the ReDJ module (from url) field: /white_papers which works OK for redirecting (our domain)/white_papers . We then used the following syntax for /white_papers.cfm for redirecting (our domain)/white_papers.cfm which does not work. We have read your user guide regarding using regular expressions and tried a number or regular expression options but still can’t get it to redirect. Can you point us in the right direction?
Many Thanks
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
11 years 3 months ago #1996
by admin
Hi,
I think the only problem is that your web server manages this kind of pages itself. To avoid this and let Joomla (ReDJ) to manage, you just need to add this at the end of your .htacces file:
After this you should be able to catch and redirect any error page. If you still get troubles, just advise.
Kind regards,
Luigi
Please Log in or Create an account to join the conversation.
Time to create page: 0.120 seconds