Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-09-28 14:03:34

davvi
Member
Registered: 2007-07-28
Posts: 24

navigation problems

I just have never experienced that my links does not work. Now, the ususal; <li><a href=”/news/”> News</a></li> does not work. What can be wrong? Installation?

Then I installed this plugin and neither does this work for the links ( the meny looks fine)
plugin: rss_article_edit
<div id=“navi-main”>
<ul>
<txp:section_list break=“li” active_class=“here” include_default=“1” default_title=“Home” exclude=“article” />
<li><a href=”<txp:site_url />rss”>RSS</a>/<a href=”<txp:site_url />atom”>Atom</a></li> </ul>
</div>

<li><a href=”/news/”> News</a></li>

Offline

#2 2007-09-28 14:17:28

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: navigation problems

  1. Tag trace?
  2. Site URL?

Cheers!

Offline

#3 2007-09-28 16:38:09

davvi
Member
Registered: 2007-07-28
Posts: 24

Re: navigation problems

TAG trace, what do you mean?

Last edited by davvi (2007-11-22 22:12:37)

Offline

#4 2007-09-28 16:52:40

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: navigation problems

http://www.mamasara.org/?s=news does work, so clean url’s don’t work. What is in preferences for ‘Permanent link mode’?

Offline

#5 2007-09-28 16:57:18

davvi
Member
Registered: 2007-07-28
Posts: 24

Re: navigation problems

Permanent link mode’, where shall I look for it?

Offline

#6 2007-09-28 16:58:51

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: navigation problems

Admin > Preferences

Offline

#7 2007-09-28 17:00:06

davvi
Member
Registered: 2007-07-28
Posts: 24

Re: navigation problems

oh, that is: seksjon/id/tittel

Offline

#8 2007-09-28 17:02:21

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: navigation problems

So it is set to clean url’s, but they don’t seem to work. Can you post the diagnostics? (Admin > Diagnostics)

Offline

#9 2007-09-28 17:42:26

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: navigation problems

.htaccess-filens innhold: 
------------------------
# -FrontPage-

IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*

<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>

------------------------

That is not the .htaccess that comes with the Textpattern installation. If you replace it with the right one, your problem might well be solved.

This is what it should look like:

#DirectoryIndex index.php index.html
#Options +FollowSymLinks
#RewriteBase /path/to/site/

<IfModule mod_rewrite.c>
 RewriteEngine On
 RewriteCond %{REQUEST_FILENAME} -f [OR]
 RewriteCond %{REQUEST_FILENAME} -d
 RewriteRule ^(.+) - [PT,L]

 RewriteRule ^(.*) index.php

</IfModule>

# php_value register_globals 0

Last edited by els (2007-09-28 17:45:14)

Offline

#10 2007-09-29 09:12:59

davvi
Member
Registered: 2007-07-28
Posts: 24

Re: navigation problems

THANKS, now I understand that .htaccess file. I am feeling much better, even thought I had to reinstall the whole page.
Thank again !!

Offline

Board footer

Powered by FluxBB