Forums

Skip Navigation LinksHome / Developer Network / Forums / Sitefinity 3.x: Developing with Sitefinity > Where did my search-engine friendly Blog URLs go?

Where did my search-engine friendly Blog URLs go?

  • Posted on Apr 10, 2008 (permalink)

    I am still continuing my quest to upgrade to 3.2.

    I was provided with SQL that enabled me to get my existing blog posts to re-appear.  I was still having problems with my Archive, Category & Tag links though.  It was suggested that I recreate my blog page since the blog controls have changed.

    This suggestion fixed my problems.  However, I now note my blog URLs have changed from:

    http://localhost/blog/08-04-03/creating_an_rss_feed_usercontrol_in_sitefinity.aspx

    - to -

    http://localhost/blog.aspx?BlogProv=Blogs&BlogItem=1bd0cb97-355e-4979-9c4a-8ce98a490d9b&ReturnURL=%2fblog.aspx

    Where did my beautiful search-engine friendly URLs go? 

    Gabe Sumner
    http://www.goondocks.com/



    Reply

  • Georgi Georgi admin's avatar

    Posted on Apr 15, 2008 (permalink)

    Hi Gabe Sumner,

    It seems that the URL rewriting for your blogs is not working, or you haven't updated your web.config file properly. This could only happen if your settings in the web.config look like this :

    <cmsEngine defaultProvider="Generic_Content"
          <providers> 
            <clear /> 
            <add name="Blogs"  
             urlRewriteFormat="" 
             urlDateTimeFormat="yy-MM-dd" urlWhitespaceChar="_"  
             visible="False" defaultMetaField="Title"  
             applicationName="/Blogs" allowVersioning="True" 
             allowLocalization="False" localizationProviderName=""  
             allowWorkflow="False" securityProviderName=""  
             versioningProviderName=""  
             connectionStringName="GenericContentConnection" 
             type="Telerik.Blogs.Data.DefaultBlogProvider,
             Telerik.Blogs.Data"
     /> 

    or highlighted part is entirely missing.
     
    You could fix it by setting :
    urlRewriteFormat="[Publication_Date]/[Title].aspx"  


    You will probably notice that since version 3.2 we have moved the Generic Content providers to this section. We believe that the organization of the web.config file is clearer this way. Perhaps, we should be more strict to the changes in the web.config.

    I really hope you find my answer helpful.

    All the best,
    Georgi
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center

    Reply

  • Posted on Apr 17, 2008 (permalink)

    Damn, due to the timeout on this form, I just lost a very detailed reply to this post.

    /sigh

    Let's try again...    The scenario you detail above wasn't the problem.

    The problem is that I'm importing 3.1 blog data.  URL rewriting fails to work with 3.1 blog data.  This is a continuation of the issues found in this thread:

    http://www.sitefinity.com/support/forums/support-forum-thread/b1043S-bckhge.aspx

    Brand new 3.2 blogs with brand new posts work fine.  If I go through and re-save each 3.1 blog post, it corrects the problem.  This is a really bad upgrade path though.

    My original reply had way more details but this is all I'm retyping.  Upgrading to 3.2 has been pretty challenging.   :(

    Gabe Sumner
    http://www.goondocks.com/

    Reply

  • Erik avatar

    Posted on Apr 21, 2008 (permalink)

    Georgi, You are darn right that you need to be more strict to the changes in the web.config file.  This should be a priority of all releases of the product:

    a DETAILED list of changes to the web.config.  It's almost completely impossible for an end user to know what changes to make unless they are explicitly outlined.

    If you could please make this a priority for future releases that will help tremendously.  Simple page re-dos here and there that need to happen to use newer versions of controls are one thing, but having to muck around that config file is something that should be done carefully and specifically.

    Reply

  • Nikifor Nikifor admin's avatar

    Posted on Apr 23, 2008 (permalink)

    Hello Erik and Gabe

    Erik - We have already planned to include a specific topic in the documentation that provides detailed information about the web.config file.

    Gabe - Could you please send us the most recent web.config file of your project. We would have to investigate the situation locally as we are not able to tell what may be causing this problem.

    Sincerely yours,
    Nikifor
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center

    Reply

  • Register for webinar
Skip Navigation LinksHome / Developer Network / Forums / Sitefinity 3.x: Developing with Sitefinity > Where did my search-engine friendly Blog URLs go?