By liparo on
I'm a newbie. Help! I've deleted the front page, i.e. node/1 . How can I make another page into node/1 ?
The story:
I had a problem of having "ghost" content on front page. So I decided to make a new front page and "promoted" it to the top and demoted the old one. I haven't realized that didn't change the node #. When I looked at my site in google chrome I saw a different (old) front page.
Again, a question:
How can I rename the node/x to node/1?
The site is http://braindot2.com
llr
Comments
=-=
you can't. If you've deleted node 1, node 1 is now gone and that node# can't be reused. Simply create a new node and assign it as as the default front page in administer -> site information -> default front page
Thanks, Otherwise Drupal is Great!
llr
It looks the problem has fixed itself:
It looks the problem has fixed itself:
Node/24 has become the front page when I promoted it.
Still the question remains, is the node number editable?
llr
=-=
no. the node # is not editable.
node 24 cannot be changed to become node 1. The only way to do something of that sort would be to manually mess with the database and I don't suggest that.
Why aren't you using the default front page setting? it seems to me you are bypassing a UI setting when you don't have to.
?
Did you try using the "URL alias" module? It doesn't change the node # in the system but it changes the path you see in the address bar.
Follow up
Somehow during this ordeal I have lost all the image files. After I made node/24 into home page I lost the image files: all the links were there, but the image files got deleted from the file manager.
I have re-uploaded the images and it looked OK in the beginning.
A few hours later they were gone again.
I'm restoring the site from the backup now.
What I've done earlier that might have caused it:
1. I deleted node/1 -the home page
2. Made node/24 the home page through admin/../site information.
3. deleted a duplicate home page.
3. added a few modules that I didn't have earlier...)
4. run Update.PHP
Any ideas where I went wrong?
llr
=-=
It doesn't look to me like anything you did there would have affected images stored on your server. However, throwing new modules at a production site without first testing them on a test sever isn't a best practice.