Tag Archive for remove /node page from druapl site

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. Read more

Sharing is cool...Share on Facebook
Facebook
Tweet about this on Twitter
Twitter
Share on LinkedIn
Linkedin
2,199 views