Umbraco created home page called 1088.aspx instead of default.aspx
Somehow when I setup my Umbraco site locally, it created a home page with the name "1088.aspx" instead of default, even though on the properties tab the "Link to Document" field shows "/" -- which should be the "default.aspx" page. How do I change my homepage to actually point back to "default.aspx" instead of 1088? I have to manually key it into the URL to get there.
I am on umbraco v 4.6.1. I just downloaded Umbraco the other day, created a Homepage called "Home" off of the root "Content" node. I did have to delete the first Homepage page I created, and then I re-created it again. Could this be the problem?
All nodes in Umbraco is created with a unique id. You can see the id by holding the mouse over the node and look in the lower left corner of the browser window to see the id of the created page.
What is happening is that you for some reason get the (id).aspx (1088) instead of the (nodename).aspx (Home).
I just can't figure out why it's happening and I must admit that I can't remember what setting you should check to see if it has been set correctly. I will keep you posted if I remember. Otherwise there's probably some other bright chap in here who can tell us :-)
Once you have created an XSLT based macro you can insert it in your template in the "settings" section under the "template" folder where you can see all of your templates.
You need to make sure that you have not just created an XSLT file but that there has also been created a macro referencing the XSLT file.
Ok. I created a new macro "TopNav", but I had to point it to the umbTopNavigation.xslt since there were no other navigation files. Then in my template settings I pointed the main menu to pull the macro "TopNav", but I'm still getting the same issue--I'm guessing because it's still pointing to that XSLT file. Isn't it the XSLT file that's causing the issue, or is it something else? I'm new to Umbraco, so I'm still learning this stuff. Any help is greatly appreciated!
The problem will not go away by creating a new macro referencing the same XSLT file...that's for sure :-)
Let's take it from the top. What I meant for you to try was to start completely from scratch.
1) Go to the developer section
2) Right click on the XSLT folder
3) Choose "Create" and enter "Navigation prototype" in the field that appears, and from the dropdown select "Navigation prototype". Make sure the "Create macro" checkbox IS checked. Then choose to create.
4) Insert the newly created macro into your master template in the "settings" section under "templates".
5) How does this macro behave?
I hope the above steps clarify things and makes sense to you. Otherwise just say so :-)
Ok, so I created a new XSLT file. And then replaced the macro in the master template for navigation with the new macro. Refreshed the page, and the "Home" button is gone from the navigation now. As well, it's still not creating my "HomePage" as default.aspx or any of the other default pages, rather 1088.aspx. Any more ideas? This is insightful, and I feel like I'm getting closer, but still not quite there.
Umbraco created home page called 1088.aspx instead of default.aspx
Somehow when I setup my Umbraco site locally, it created a home page with the name "1088.aspx" instead of default, even though on the properties tab the "Link to Document" field shows "/" -- which should be the "default.aspx" page. How do I change my homepage to actually point back to "default.aspx" instead of 1088? I have to manually key it into the URL to get there.
Hi Jon
What version of Umbraco are you running and what steps did you take in setting up Umbraco?
/Jan
I am on umbraco v 4.6.1. I just downloaded Umbraco the other day, created a Homepage called "Home" off of the root "Content" node. I did have to delete the first Homepage page I created, and then I re-created it again. Could this be the problem?
Hi Jon
No that should not be a problem.
All nodes in Umbraco is created with a unique id. You can see the id by holding the mouse over the node and look in the lower left corner of the browser window to see the id of the created page.
What is happening is that you for some reason get the (id).aspx (1088) instead of the (nodename).aspx (Home).
I just can't figure out why it's happening and I must admit that I can't remember what setting you should check to see if it has been set correctly. I will keep you posted if I remember. Otherwise there's probably some other bright chap in here who can tell us :-)
/Jan
Interesting. All my other pages are named by the page title. I wonder if I screwed up a config setting on the homepage document type. Can anyone help?
Have you based the installation on a starter kit or a package or anything like that?
Could you perhaps post a screendump of the node and the possible settings on it?
/Jan
Here are the 2 screenshots--one of the content section, one for the document type. Thoughts?
Also, if I remember correctly, it was the "Business Starter Kit."
If I create a new macro called "TopNav" and select the "umbTopNavigation.xslt", what do I do with that after it's created?
Hi Jon
Once you have created an XSLT based macro you can insert it in your template in the "settings" section under the "template" folder where you can see all of your templates.
You need to make sure that you have not just created an XSLT file but that there has also been created a macro referencing the XSLT file.
I hope this makes sense?
/Jan
Ok. I created a new macro "TopNav", but I had to point it to the umbTopNavigation.xslt since there were no other navigation files. Then in my template settings I pointed the main menu to pull the macro "TopNav", but I'm still getting the same issue--I'm guessing because it's still pointing to that XSLT file. Isn't it the XSLT file that's causing the issue, or is it something else? I'm new to Umbraco, so I'm still learning this stuff. Any help is greatly appreciated!
Hi Jon
Ok...I think I have explained this badly.
The problem will not go away by creating a new macro referencing the same XSLT file...that's for sure :-)
Let's take it from the top. What I meant for you to try was to start completely from scratch.
1) Go to the developer section
2) Right click on the XSLT folder
3) Choose "Create" and enter "Navigation prototype" in the field that appears, and from the dropdown select "Navigation prototype". Make sure the "Create macro" checkbox IS checked. Then choose to create.
4) Insert the newly created macro into your master template in the "settings" section under "templates".
5) How does this macro behave?
I hope the above steps clarify things and makes sense to you. Otherwise just say so :-)
/Jan
Ok, so I created a new XSLT file. And then replaced the macro in the master template for navigation with the new macro. Refreshed the page, and the "Home" button is gone from the navigation now. As well, it's still not creating my "HomePage" as default.aspx or any of the other default pages, rather 1088.aspx. Any more ideas? This is insightful, and I feel like I'm getting closer, but still not quite there.
is working on a reply...