As per requirement we need some urls to be more SEO friendly that is accessible from some folder structure. Here is an example which will make this more clear
You need to to allow child documentypes, to be able to create pages under need the root page. If you go do the setting section and the Document Type folder, click under a document type, you can take the structure tab.
In that tab you define which pages that should be possible to create, and by doing that you can make a content structure, so you e.g only can creates news items under the news overview page, and so on.
If you´re new to Umbraco I would definitely recommend you to take a look at Umbraco TV, there are some free videos, that shows the basic about how Umbraco works,
We are successfully able to create tree structure of pages in Umbraco. For example we created a "Buying" page which appears as top node and in that node we created a page named "First Time Home Buyer" which appears under "Buying" node.
Have you trying republish the site after creating the new content structure, just to make sure that Umbraco has the lastest XML published.
You can republish the entire site by going to the content and click then choose do something else, and there is the option publish entire site, or you could try just publish the buying node where you include the children.
I have made a screenshot where you can see how you can publish the entire site
I just replublished my site, and it still doesn't work. Here are the steps i followed from creating "Buying" and "First Home Time Buyer" pages :-
a. Created new document type named "Buying", and select "Create matching Template".
b. Created new document type named "First Time Home Buyer", and select "Create matching Template"
c. Navigate to "Structure" tab of "Buying" document type, and check the checkbox labeled "First Home Time Buyer" for "Allowed child node types" and click "Save" button.
d. Go to content section and try to create a new page, now select "Buying" document type for Create an Item under Content.
e. Name the new page as "Buying".
f. Now try to create a new page under "Buying" by click "..." on Buying page, and select "First Home Time Buyer" document type for Create an Item under Buying.
g. Name the page as "First Home Time Buyer", and click "Save and publish" button.
Can you please let us know where i am wrong in these steps as "First Time Home Buyer" page is still accessible as "http://umbraco.local/first-time-home-buyer" where as it should have been accessible as "http://umbraco.local/buying/first-time-home-buyer".
Did you have a Frontpage and from there bulding up your content structure like this or?
-Frontpage
--Level 1 page
--Level 1 page
----Level 2 page
--Level 1 page
Or did you have your content structure without a Frontpage "wrapper" but just
-Level 1 page
-Level 1 page
-Level 1 page
----Level 2 page
-Level 1 page.
If your content structure looks like this second picture I would recommend you to make it looks like the first picture, by doing this you can work with levels when you are written your razor code.
You can change the way URLs are generated by editing the web.config file and changing the umbracoHideTopLevelNodeFromPath value to false in the AppSettings section.
This will then make the urls render the way you're wanting them to. You'll need to re-publish your nodes though.
SEO Friendly URL is more preferable in Internet Marketing World because it provides user continence it including [SEO benefits][1]. If a user feel easy to remember a url then he can easily access any website. It also provide benefit in SEO point of view because if a url have keywords for our business then it will help in increasing SERP.For More..
Creating SEO Friendly Urls For Umbraco Pages
Hi All,
We need to have SEO firendly urls for pages created in Umbraco. At present we are able to create pages only in root.
For example at present all pages that we are creating now in Umbraco CMS are accessible only at root url. Here is the url as an example
http://umbraco.local/index.aspx
As per requirement we need some urls to be more SEO friendly that is accessible from some folder structure. Here is an example which will make this more clear
http://umbraco.local/first-time-home-buyer/articles.aspx
http://umbraco.local/buyers/new-homes.aspx
Can any one please help us on this.
Regards
Tarunjit Singh
Hi Tarunjit,
You need to to allow child documentypes, to be able to create pages under need the root page. If you go do the setting section and the Document Type folder, click under a document type, you can take the structure tab.
In that tab you define which pages that should be possible to create, and by doing that you can make a content structure, so you e.g only can creates news items under the news overview page, and so on.
Take a look at this video from Umbraco TV, that explains working with Allowed chid node type.http://umbraco.tv/videos/umbraco-v7/implementor/fundamentals/document-types/allowed-child-nodetypes/
If you´re new to Umbraco I would definitely recommend you to take a look at Umbraco TV, there are some free videos, that shows the basic about how Umbraco works,
http://umbraco.tv/videos/umbraco-v7/implementor/
Hope this helps,
/Dennis
Hi Dennis,
Thanks for the answer.
We are successfully able to create tree structure of pages in Umbraco. For example we created a "Buying" page which appears as top node and in that node we created a page named "First Time Home Buyer" which appears under "Buying" node.
But even after that my problem remain the same i want to access my page "First Time Home Buyer" as http://umbraco.local/buying/first-time-home-buyer (i.e. under "buying" folder), where as still the url is showing like http://umbraco.local/first-time-home-buyer.
Can you please tell me the step which i am missing.
Regards
Tarunjit Singh
Hi Tarunjit,
Have you trying republish the site after creating the new content structure, just to make sure that Umbraco has the lastest XML published.
You can republish the entire site by going to the content and click then choose do something else, and there is the option publish entire site, or you could try just publish the buying node where you include the children.
I have made a screenshot where you can see how you can publish the entire site
Hope this makes the difference
/Dennis
Hi Dennis,
Thanks for the quick reply.
I just replublished my site, and it still doesn't work. Here are the steps i followed from creating "Buying" and "First Home Time Buyer" pages :-
a. Created new document type named "Buying", and select "Create matching Template".
b. Created new document type named "First Time Home Buyer", and select "Create matching Template"
c. Navigate to "Structure" tab of "Buying" document type, and check the checkbox labeled "First Home Time Buyer" for "Allowed child node types" and click "Save" button.
d. Go to content section and try to create a new page, now select "Buying" document type for Create an Item under Content.
e. Name the new page as "Buying".
f. Now try to create a new page under "Buying" by click "..." on Buying page, and select "First Home Time Buyer" document type for Create an Item under Buying.
g. Name the page as "First Home Time Buyer", and click "Save and publish" button.
Can you please let us know where i am wrong in these steps as "First Time Home Buyer" page is still accessible as "http://umbraco.local/first-time-home-buyer" where as it should have been accessible as "http://umbraco.local/buying/first-time-home-buyer".
Regards
Tarunjit Singh
Hi Dennis,
Please help me in my last comments added 1 hour before.
Regards
Tarunjit Singh
Hi Tarunjit,
Okay, How did your content structure looks like?
Did you have a Frontpage and from there bulding up your content structure like this or?
-Frontpage
--Level 1 page
--Level 1 page
----Level 2 page
--Level 1 page
Or did you have your content structure without a Frontpage "wrapper" but just
-Level 1 page
-Level 1 page
-Level 1 page
----Level 2 page
-Level 1 page.
If your content structure looks like this second picture I would recommend you to make it looks like the first picture, by doing this you can work with levels when you are written your razor code.
Hope this can be helpful.
/Dennis
Hi Dennis,
Thanks for the answer. My structure is as shown below :-
- Home
-Buying
- First Time Home Buyer
Note :- I am using classic ASP.Net features like master page and i am not using razor code. Not sure where i am going wrong.
Regards
Tarunjit Singh
Hi Tarunjit,
You can change the way URLs are generated by editing the web.config file and changing the umbracoHideTopLevelNodeFromPath value to false in the AppSettings section.
This will then make the urls render the way you're wanting them to. You'll need to re-publish your nodes though.
- Rob.
SEO Friendly URL is more preferable in Internet Marketing World because it provides user continence it including [SEO benefits][1]. If a user feel easy to remember a url then he can easily access any website. It also provide benefit in SEO point of view because if a url have keywords for our business then it will help in increasing SERP.For More..
is working on a reply...