Kai

Bad Blog URL Editor in MT5.01

Vote 0 Votes

I was noticing all the URLs within my site only had one slash after 'http:/' - my browser (Safari) doesn't seem to care, but everything automated does. For example, you can't share a link with one slash after the 'http' on Facebook or Digg (you'll get an error).

The first place I looked to resolve this problem is Settings > General for the blog itself. Here I was shocked to find that the blog URL had a hardcoded prefix of "http:///" three slashes. See this screenshot: http://yfrog.com/32afsp

How can I fix this?

For reference, my blog URL is http://fastfoodnyc.com - You'll notice every internal URL reads http:/fastfoodnyc.com/whatever (one slash after the "http:")

MT Version 5.01.

Reported on Movable Type 5

6 Replies

| Add a Reply
  • Hi Kai,

    The fix is as simple as changing the blog URL from 3 slashes into just 2 ;)

    Do it inside:

    Settings -> General

    Happy blogging,
    Mihai Bocsaru

  • Hi Mihai,

    The problem was I couldn't edit the beginning of the blog URL. In settings it looked like this:

    http:///>

    > being the text edit field.

    I just found the problem: The site URL (a concept introduced in MT5) was simply "http:///" because I wasn't using it. I had to change this to my blog URL.

    Problem then was that I couldn't just leave the blog URL blank, it wanted something after the site URL. I fixed this by manually editing the DB value.

    The site / blog relationship in MT5 can become a little confusing. At least all is well now!

  • Sorry but there is a bug that you cannot leave the blog URL blank. The fix itself has been made and will be included at the next MT5.x release.

    http://bugs.movabletype.org/default.asp?103496

  • Today i upgraded to MT5. It's late night here and my site is corrupted because of this "http:///"

    In settings, where you define url of the blog/site and root, url starts with "http:///" that is hardcoded into the page. I can only type the url but not edit "http:///"

    Then it happens that the site is generate with "http:///" links in the site: css, images, links etc. are like "http:///www.domain.com"

    I did a search using notepad+++ in mt5 whole folder and subfolders, looking for "http:///" to fix it. Nothing.

    Then i searched in mysql via phpmyadmin. I only find vlaues containing "http:///"

    How do i fix it? I have other sites on this MT5 and i am scred to even touch them!

    Kai, how did you fix this?

  • Thank's a lot for the answer, that's exactly what i was looking for

Add a Reply

If you need to share template code, replace all the "<" signs with "&lt;" or use this utility.

Forum Groups

1774 6167

Last Topic: Template modules by Zielun on Feb 16, 2012

86 302

Last Topic: website entries by masoud on Oct 26, 2011

1434 5088

Last Topic: Maintenance announcement by Nick on Feb 17, 2012

695 2912

Last Topic: Insert Image / File Fails by Russ Miller on Feb 10, 2012

84 291

Last Topic: How to have some other characters in entry basename automatically written by Afshin Haghighatnia on Dec 22, 2011

174 740

Last Topic: Captcha images rendering slowly by ScottM on Feb 12, 2012

190 568

Last Topic: Analytics Reporting by michael webster on Feb 5, 2012

48 210

Last Topic: An idea and also a request by Afshin Haghighatnia on Jun 29, 2011

64 246

Last Topic: jQuery in MT 5.1 still at 1.4 - why? by perlmonkey on May 25, 2011

code.sixapart.com

137 478

Last Topic: Getting a thumbnail with xpath by Peter on Mar 13, 2011

222 720

Last Topic: Custom Field for Asset Not Appearing by android on Feb 9, 2012