× Here you can get community support related to ReDJ.

Cannot get a url to redirect

  • tomkeen
  • Topic Author
  • Visitor
  • Visitor
10 years 4 months ago #1993 by tomkeen
Cannot get a url to redirect was created 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.

More
10 years 4 months ago #1996 by admin
Replied by admin on topic Cannot get a url to redirect
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:
ErrorDocument 404 /

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.144 seconds