How to get rid of drupals default “/node” page

Share

Do you want to get rid of drupals default “/node” page

We all know Drupal has a default front page which shows a view of nodes promoted to home page.

We might forget that we can still go to this page and user can see the content in the manner we dont want user to see.
Do you want to get rid of drupals default “/node” page?

We all know Drupal has a default front page which shows a view of nodes promoted to home page.

We might forget that we can still go to this page and user can see the content in the manner we dont want user to see.

A simple trick is we can make it “page not found”.

We can use Drupal’s the custom_url_rewrite_inbound function..

Open your settings.php file (located at /sites/default/settings.php)

And append following code in it.

This will make your /node “page not found”

Please feel free to login using google or facebook and create a forum topic to get your query answered in few hours here http://www.learn-drupal.in/forums/forum/drupal-forum-post-installation

Thanks

Follow me

Latest posts by Sachin Wable (see all)

Sharing is cool...Share on Facebook
Facebook
Tweet about this on Twitter
Twitter
Share on LinkedIn
Linkedin
affiliate_link

2,199 views

One comment

  1. Yeon says:

    Thanks for this help

Leave a Reply

Your email address will not be published. Required fields are marked *