Shivendra
Shivendra

Reputation: 11

Drupal Bad url redirection

If the user types a bad URL they will be taken to our homepage. for example: www.pardee.du.edu/badURL will take the user to http://pardee.du.edu.

can anyone plz help me out for that thanks in advance.

Upvotes: 0

Views: 61

Answers (2)

Nocturnalknight
Nocturnalknight

Reputation: 11

This can be done in many ways.

1, Use a custom .htacess file and redirect 404s to home page. 2, Use a Contrib Drupal module for redirection.

Upvotes: 1

candle
candle

Reputation: 2193

Go to http://pardee.du.edu/admin/config/system/site-information. There on the "Default 403 (access denied) page" and "Default 404 (not found) page" type "node". This will take you to front page.

Upvotes: 1

Related Questions