
http://www.domain.ru/сообщество/topic/Смешные-темы
http://www.domain.ru/сообщество/тема/Смешные-темы

http://www.domain.ru/сообщество/тема/Смешные-темыhttp://www.domain.ru/сообщество/viewtopic.php?t=40965http://www.domain.ru/сообщество/тема/Смешные-темы
http://www.domain.ru/сообщество/topic/Смешные-темы
http://www.domain.ru/сообщество/主題/Смешные-темы
http://www.domain.ru/сообщество/หัวข้อ/Смешные-темы
http://www.domain.ru/сообщество/موضوع/Смешные-темы
http://www.domain.ru/сообщество/θέμα/Смешные-темыhttp://www.domain.ru/сообщество/viewtopic.php?t=40965<?php
// ...
function lookup($url) {
// Connect to DB, SELECT forum_id, topic_id FROM phpbb_lookuptable WHERE url=$url;
// Result with $arr.
return $arr;
}
if (!isset($_GET['f']))
{
$q = $_GET['q']; // Assuming that ?q=$1 is the rewrite parameter...
$r = lookup($q);
$_GET['f'] = $r['forum_id'];
$_GET['t'] = $r['topic_id'];
}
// ..CREATE TABLE phpbb_lookup (
url varchar(150) UNIQUE,
forum_id INT NOT NULL,
topic_id INT NOT NULL,
flags INT DEFAULT 0
);
http://www.phpbb.com/community/viewtopic.php?f=64&t=2100309http://www.phpbb.com/community/viewtopic.php?f=64&t=2100309&title=SEF_SEO_URLshttp://www.phpbb.com/community/viewtopic.php?title=SEF_SEO_URLshttp://area51.phpbb.com/phpBB?post-title=RFC_Human_Readable_URLs_A_Simple_Proposal"Humans" might enter URLs with literals as topic identification now and then, which might be filed under "okay". But what about crawlers? I smell a search flood there, not to speak of performance issues. It's a nice idea, but I discourage everyone from associating an identification lookup by text alone.Pony99CA wrote:call the search engine for those words
http://www.phpbb.com/community/viewtopic.php?f=64&t=2100309&title=Pony99CA_behaves_oddly_lets_ban_himit's karma
its karmaUsers browsing this forum: callumacrae and 12 guests