Log in

View Full Version : Archive as Sitemap


Kusadasi-Guy
07-04-2005, 05:38 PM
i would like to use archive file as sitemap.

instead of link to SE optimized page, i would like to use these links to original thread.
for example;
http://www.maxiturkey.com/archive/index.php/t-10.html
"Message Editing Hierarchy" not link to -> https://vborg.vbsupport.ru/archive/index.php/t-82599.html

just link to -> https://vborg.vbsupport.ru/showthread.php?t=82599

:o :o :o

should not be hard but i couldnt do it.

Asterik
07-05-2005, 02:57 AM
Good thing you posted this in the How-To's rather than the Questions forum >_<.

Marco van Herwaarden
07-05-2005, 12:38 PM
Good thing you posted this in the How-To's rather than the Questions forum >_<.Good thing you decided to give an ironic answer, rather then just report the post or nicely point him to his mistake.

Thread moved.

Kusadasi-Guy
07-05-2005, 04:00 PM
Okey, i found my answer;

i found this line on "archive/index.php" file:
//echo "\t<li><a href=\"" . (!SLASH_METHOD ? 'index.php?' : '') . "t-$thread[threadid].html\">$thread[title]</a>" . iif($pda, " <i>(" . construct_phrase($vbphrase['x_replies'], $thread['replycount']) . ")</i>") . "</li>\n";

then change to:

echo "\t<li><a href=\"" . (!SLASH_METHOD ? 'index.php?' : '') . "http://www.mydomain.com/showthread.php?t=$thread[threadid]\">$thread[title]</a>" . iif($pda, " <i>(" . construct_phrase($vbphrase['x_replies'], $thread['replycount']) . ")</i>") . "</li>\n";


(Sorry for wrong forum category, i didnt do it on purpose)