× Here you can get community support related to ReDJ.

Redirect all old pages

  • coptechs
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 2 months ago #255 by coptechs
Redirect all old pages was created by coptechs
I just upgraded one of my sites from J 1.5 to 2.5 and am looking for a way to redirect all old pages to the new homepage. Is there a simple way to do this?

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

More
12 years 2 months ago #256 by admin
Replied by admin on topic Re: Redirect all old pages
Maybe you want to redirect all old non-existing page to the homepage.
This can be done in many ways. One of these is to enable the ReDJ plugin option that allows to redirect any error page on the homepage.

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

  • coptechs
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 2 months ago #257 by coptechs
Replied by coptechs on topic Re: Redirect all old pages
That is exactly what I'd like to do. For example, right now clicking on a search result in Google gives a 404 error page. I'd like all requests to the old, non-existent pages to be redirected to the homepage. Can you please tell me details on how best to do this?

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

More
12 years 2 months ago #258 by admin
Replied by admin on topic Re: Redirect all old pages
As I sayed, try to use ReDJ.

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

  • coptechs
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 2 months ago #263 by coptechs
Replied by coptechs on topic Re: Redirect all old pages

As I sayed, try to use ReDJ.


I understand, what I am asking is how to do it on ReDJ? I can see how to redirect specific pages but I would like some direction on redirecting pages that give this result:

Not Found

The requested URL /sports/futsal-soccer.html was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

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

More
12 years 2 months ago #264 by admin
Replied by admin on topic Re: Redirect all old pages
This seems to be the web server standard error page. so you need to enable the .htaccess file, and add this line at the end:
ErrorDocument 404 /

Kind regards,
Luigi

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

Time to create page: 0.157 seconds