Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Tarunjit 103 posts 146 karma points
    Jul 19, 2014 @ 06:03
    Tarunjit
    0

    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 

     

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Jul 19, 2014 @ 10:22
    Dennis Aaen
    0

    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

  • Tarunjit 103 posts 146 karma points
    Jul 21, 2014 @ 11:46
    Tarunjit
    0

    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

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Jul 21, 2014 @ 12:30
    Dennis Aaen
    0

    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

  • Tarunjit 103 posts 146 karma points
    Jul 21, 2014 @ 13:19
    Tarunjit
    0

    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



     

  • Tarunjit 103 posts 146 karma points
    Jul 21, 2014 @ 14:21
    Tarunjit
    0

    Hi Dennis,

    Please help me in my last comments added 1 hour before.

    Regards

    Tarunjit Singh

     

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Jul 21, 2014 @ 14:24
    Dennis Aaen
    0

    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

  • Tarunjit 103 posts 146 karma points
    Jul 21, 2014 @ 14:33
    Tarunjit
    0

    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

  • Robert Foster 459 posts 1820 karma points MVP 3x admin c-trib
    Jul 21, 2014 @ 14:45
    Robert Foster
    0

    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.

     

  • thirtydrums 1 post 71 karma points
    Feb 02, 2016 @ 04:56
    thirtydrums
    0

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

Please Sign in or register to post replies

Write your reply to:

Draft