marcus
Joined: 23 Oct 2005 Posts: 17
|
Posted: Mon Oct 31, 2005 11:50 am Post subject: Broken links on topics |
|
|
In case that after installation your topics or forums links are broken check .htaccess file in your web root directory.
It should look like:
| Code: | RewriteEngine On
RewriteRule ^search.cgi search.html [L,NC]
RewriteRule ^index.html index.php [L,NC]
RewriteRule ^.*_t([0-9]*).html about.html$1 [L,NC]
RewriteRule ^.*_tref([0-9]*).html(.*) viewtopic.php?p=$1#$2 [L,NC]
RewriteRule ^forums.* index.php [L,NC]
RewriteRule ^post-([0-9]*).html&highlight=([a-zA-Z0-9]*) viewtopic.php?p=$1&highlight=$2 [L,NC]
RewriteRule ^.*_lp([0-9]*).* viewtopic.php?p=$1 [L,NC]
RewriteRule ^view-poll([0-9]*)-([0-9]*)-([a-zA-Z]*).* about.html$1&postdays=$2&postorder=$3&vote=viewresult [L,NC]
RewriteRule ^about([0-9]*).html&highlight=([a-zA-Z0-9]*) about.html$1&highlight=$2 [L,NC]
RewriteRule ^about([0-9]*).html&view=newest about.html$1&view=newest [L,NC]
#RewriteRule ^about([0-9]*)-([0-9]*)-([a-zA-Z]*)-([0-9]*).* about.html$1&postdays=$2&postorder=$3&start=$4 [L,NC]
RewriteRule ^.*-t([0-9]*)-([0-9]*)-([a-zA-Z]*)-([0-9]*).html about.html$1&postdays=$2&postorder=$3&start=$4 [L,NC]
RewriteRule ^.*_t([0-9]*)_st([0-9]*).* about.html$1&start=$2 [L,NC]
RewriteRule ^about([0-9]*).* about.html$1 [L,NC]
RewriteRule ^about([0-9]*).html about.html$1&start=$2&postdays=$3&postorder=$4&highlight=$5 [L,NC]
RewriteRule ^.*-mark([0-9]*).html* viewforum.php?f=$1&mark=topics [L,NC]
RewriteRule ^updates-topic([0-9]*).html* about.html$1&watch=topic [L,NC]
RewriteRule ^stop-updates-topic([0-9]*).html* about.html$1&unwatch=topic [L,NC]
RewriteRule ^.*-f([0-9]*).html viewforum.php?f=$1 [L,NC]
RewriteRule ^forum-([0-9]*).* viewforum.php?f=$1 [L,NC]
RewriteRule ^.*-f([0-9]*)-([0-9]*)-([0-9]*).* viewforum.php?f=$1&topicdays=$2&start=$3 [L,NC]
RewriteRule ^ptopic([0-9]*).* about.html$1&view=previous [L,NC]
RewriteRule ^ntopic([0-9]*).* about.html$1&view=next [L,NC]
RewriteRule ^.*_t([0-9]*)-ts([0-9]*) about.html$1&tease=$2 [L,NC] |
If there's no .htaccess file in your web root directory then you should create one with above code. |
|