Help - Search - Members - Calendar
Full Version: Link Issue
Movable Type Community Forum > Installing and Upgrading > Importing and Exporting
haisoft
After reinstalling MT 4.1 and importing the blog in it, everything looks nice except the links to read the full articles. Instead of a well formed link, the article name is not translated. I have
CODE
.../blog-4/%3C$MTEntryTitle%20dirify=%221%22$%3E.html

instead of
CODE
.../blog-4/myarticlename.html

which obvoiously leads me to a fatal

QUOTE
Sorry - the page you were looking for can't be found at IBS Tales. Please return to the homepage.


What's going wrong ?
OtherNiceMan
What is your entry mapping?
haisoft
What do you mean ?
OtherNiceMan
At the moment the link that is being produced contains an unprocessed mt tag. Which makes it look like a possible problem with the predefined path used to create new entries.

If you go to Design > Templates and from the quick filter select archive templates > Entry you will see down the bottom the archive mapping.

Another place to look is the Archive Index template and check that the code is correct for the links. It maybe if something was copy and pasted that the < and > around the tag were made 'safe' so that it displays like a tag, but is not treated as one.
haisoft
Thanks.
This happens first on the home page. So i had a look at the Index Templates > Main Index and have found no difference with the old blog that runs well.

The matter seems to come from the transaltion of permalink to the real url. I have had a look at the settings (Preferences) and have noticed no difference with the old blog.
CODE
<h3 id="a<$MTEntryID pad="1"$>"><a href="<$MTEntryPermalink$>"><$MTEntryTitle$></a></h3>

is translated into
CODE
<h3 id="a000156"><a href="http://www.domain.name/blog-4/<$MTEntryTitle dirify="1"$>.html">Last article title</a></h3>


How to set up this translation process or where is it done so i can figure out what's going wrong ?


More, if i try to go to the page with the url as it should be, copied from previous blog version and rewritten to fit to this one, i get
QUOTE
Sorry - the page you were looking for can't be found at IBS Tales. Please return to the homepage.


I have publish an re-publish the site several times; does it mean i don't have the correct static setup ?
haisoft
Trying to fix this, i get more and more in trouble:

- unticking "Publish archives outside of Site Root" i am now unable to enable it again, i get
QUOTE
Archive URL must be an absolute URL.

at the same time the two extra url have disappeared (anyway, they became suddenly unlockable a few time earlier)

- javascript menu went off

- i changed the publishing method from "all templates statically" to "all templates dynamically" which turned off the site wich may be understandable, but after turning it back to first value, and republish again the site, it stays in the same state. That's going on !?

Should i enable write permission on the mt-config.cgi file even if it is not said in the installation documentation ? Is there any setting in the database to change, even if any changes i have made are useless ?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.