1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Where did my search-engine friendly Blog URLs go?

Where did my search-engine friendly Blog URLs go?

5 posts, 0 answered
  1. Gabe Sumner
    Gabe Sumner avatar
    440 posts
    Registered:
    09 Sep 2007
    10 Apr 2008
    Link to this post
    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/



  2. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    15 Apr 2008
    Link to this post
    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
  3. Gabe Sumner
    Gabe Sumner avatar
    440 posts
    Registered:
    09 Sep 2007
    17 Apr 2008
    Link to this post
    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/
  4. Erik
    Erik avatar
    34 posts
    Registered:
    06 Dec 2007
    21 Apr 2008
    Link to this post
    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.
  5. Nikifor
    Nikifor avatar
    232 posts
    Registered:
    18 May 2013
    23 Apr 2008
    Link to this post
    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
Register for webinar
5 posts, 0 answered