I created a view and set it as the front page; its path is /front.

The front page is accessible as https://example.com/ and https://example.com/front. Is there a way to prevent this?

1 Answer 1


It's normal Drupal behavior to have front page accessible by it's original path.

What I would recommend in the case is installing the Global Redirect module and configuring it to 301 redirect from /front to /.

  • Global redirect module is good for this however it requires no configuration to do what the OP needs. Just enable the module and you're good to go.
    – rooby
    Nov 11, 2014 at 14:17
  • Also, with this solution there is no need to add the front page to robots.txt
    – rooby
    Nov 11, 2014 at 14:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.