I want to disable the default front page, that is showing a list of nodes. I use another front page but it is still displayed at the url example.com/node
. Either restricting access or redirecting to the front page would be fine.
My homepage is currently set to /home
(which gets nicely rewritten to example.com/
). Now I have already tried a few different things.
- Under
/admin/config/search/path
, I have set an alias fromnode
tohome
.
Unfortunately this just resulted in redirecting bothexample.com
andexample.com/node
toexample.com/home
, showing the node list - not my front page. - I tried with an alias from
node
to<front>
(I don't know if that is even valid there). This almost worked,/home
and/node
both redirect toexample.com
showing the right page. But now the node list is available at/<front>
... - I also tried with panels, creating a variant of node template. Returning a status code when the path was equals
node
did not work, I guess because the page is only triggered on/node/
, with a slash. It won't let me create a panel just for the node path as the path is already in use of course. - There doesn't seem to be any permission for setting access to this list.
So, how can I disable the page at example.com/node
?
I guess my problem is I don't even know what kind of page this node list is. I have the feeling it's some unique page type, buried deep down in the core and can't be easily disabled.