Project:CustomError
Version:6.x-1.1
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

I have custom error installed on my Drupal 6.12 site. The custom 404 page is working great, I have some PHP code in there to redirect to the correct page based on language.

I just tried to add a redirect, but it doesn't seem to be working. For example, I tried putting in;

muffin

But when I go to mysite.com/muffin it just gives me the 404 page.

Am I doing something wrong, or is there something interfering with how it works?

Thanks!

Comments

#1

I had the same issue. First you need to put 2 links per line (old-link new-link), seperated by a space. I also found the module is coded to return w/o redirecting if you had less than 2 redirects in the list.

You can change line 225 of customerror.module from

if (count($list) <= 1) {

to
if (count($list) < 1) {

Scott