Copied to clipboard

Flag this post as spam?

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


  • Thomas 5 posts 25 karma points
    Dec 05, 2012 @ 12:37
    Thomas
    0

    Hi guys,

    I installed the blog4umbraco and got everything working except that every post I create is my site root / post title

    example: http://www.example.com/title of post

    I want it like this: http://www.example.com/blog/title of post

    Been searching for a long time, but how and especially where do I change this?

     

    Thanks a lot

  • Tim 1193 posts 2675 karma points MVP 4x c-trib
    Dec 07, 2012 @ 12:16
    Tim
    0

    It sounds like your blog is the root of the site? Is that correct? If so, Add a new root node, and move the blog node underneath that. That should move everything under the /blog folder (assuming your blog4Umbraco node is called "blog").

    Hope that helps!

  • Thomas 5 posts 25 karma points
    Dec 08, 2012 @ 17:03
    Thomas
    0

    Yes the blog is directly under the /content/. If I move it under a root node the blog stops working. Is there a way to not place it under a site root and still have it appear as /blog in the url?

     

    Thanks!

  • Thomas 5 posts 25 karma points
    Dec 08, 2012 @ 22:18
    Thomas
    0

    I found out that I can put the blog anywhere but I cant have the parent of the posts called "blog" in the url, else the blog wont load the post but the frontpage of blog (which is a list of last 10 blogs)

     

    Any ideas why every name works except for blog?

     

    blog123/post-name works

    blog/post-name does not work

    I search the media for other content names blog but there are no duplicates..

  • Thomas 5 posts 25 karma points
    Dec 08, 2012 @ 22:30
    Thomas
    0

    hmm found something that might help. umbraco debug info:

    this is the debug info on the page when the page is /blog1/testing123 (testing123 is the name of the post)

    aspx.page Begin PreInit    
    umbracoInit handling request 3.6138417366196E-05 0.000036
    request handler current url '/blog1/testing123/'

    this is the debug info on the page when the page is published as /blog/testing123 (testing123 is the name of the post)

    aspx.page Begin PreInit    
    umbracoInit handling request 0.000181896700743187 0.000182
    request handler current url '/blog'

    what could be wrong?

  • Thomas 5 posts 25 karma points
    Dec 08, 2012 @ 22:36
    Thomas
    0

    Apprently an old blog module used urlrewriting, didnt think of looking there before comparing the debug info's.

     

    SOLVED

     

    Thanks!

Please Sign in or register to post replies

Write your reply to:

Draft