Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2013-08-20 05:26:12

thaicares
Member
Registered: 2013-08-20
Posts: 14

[solved] Navigation not working!

ok so I need help getting past the home page! I have the navigation setup just like it came, <txp:section_list> I think the links are working fine. But the locations are absent! “The requested URL /WEBSITE/articles/ was not found on this server.” for example will popup when I click on articles nav-link. There is no /articles/ folder either in the root directory. Is this a common problem? Am I just doing something wrong? What is going on? Any help would be greatly appreciated.

Last edited by thaicares (2013-08-24 13:01:52)

Offline

#2 2013-08-20 06:12:45

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,172
Website GitHub Mastodon Twitter

Re: [solved] Navigation not working!

Hi and welcome to txp,

It looks like your server does not support clean urls. What happens if you go to Admin>preferences and change the Permanent link mode to messy?


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#3 2013-08-20 06:46:04

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,564
Website GitHub Mastodon

Re: [solved] Navigation not working!

Also, go to the diagnostics page in the admin side and let us know if it’s reporting any errors/problems.

Offline

#4 2013-08-20 10:31:06

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,315

Re: [solved] Navigation not working!

Additionally worth checking: Have you uploaded the .htaccess file? Systems like the Mac OS hide files whose names start with a dot, so drag’n‘drop installations (as opposed to FTP syncing) don’t create a fully working Textpattern folder.


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#5 2013-08-20 14:58:14

thaicares
Member
Registered: 2013-08-20
Posts: 14

Re: [solved] Navigation not working!

uli yea I need to get htaccess looking good that might be the whole issue if anyone has a suggestion for a tutorial on setting up htaccess for txp THAT WOULD BE GREAT.

Offline

#6 2013-08-20 14:59:12

thaicares
Member
Registered: 2013-08-20
Posts: 14

Re: [solved] Navigation not working!

PRE-FLIGHT CHECK

Apache module mod_rewrite is not installed ?

C:\wamp\www\WEBSITE\textpattern\setup\ still exists ?

Clean URL test failed.

Offline

#7 2013-08-20 15:02:02

thaicares
Member
Registered: 2013-08-20
Posts: 14

Re: [solved] Navigation not working!

the Clean URL WAS THE ISSUE so as I asked earlier any tutorial suggestions I will probably Google it next opportunity I get! Thank you all.

Offline

#8 2013-08-20 16:12:33

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,172
Website GitHub Mastodon Twitter

Re: [solved] Navigation not working!

thaicares wrote:

uli yea I need to get htaccess looking good that might be the whole issue if anyone has a suggestion for a tutorial on setting up htaccess for txp THAT WOULD BE GREAT.

You just need to include the file which comes with it in the root folder. You can create it yourself and name it .htaccess. Its contents is

#DirectoryIndex index.php index.html

#Options +FollowSymLinks
#Options -Indexes
#ErrorDocument 403 default

<IfModule mod_rewrite.c>
	RewriteEngine On
	#RewriteBase /relative/web/path/

	RewriteCond %{REQUEST_FILENAME} -f [OR]
	RewriteCond %{REQUEST_FILENAME} -d
	RewriteRule ^(.+) - [PT,L]

	RewriteCond %{REQUEST_URI} !=/favicon.ico
	RewriteRule ^(.*) index.php

	RewriteCond %{HTTP:Authorization}  !^$
	RewriteRule .* - [E=REMOTE_USER:%{HTTP:Authorization}]
</IfModule>

#php_value register_globals 0

# SVG
AddType image/svg+xml  svg svgz
AddEncoding gzip       svgz

Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#9 2013-08-21 18:08:18

thaicares
Member
Registered: 2013-08-20
Posts: 14

Re: [solved] Navigation not working!

colak your suggestion for the replacment of .htaccess did not allow me to use clean URL all I did was replace the current .htaccess content with what you suggested. I just used MS notepad to do it? If that is the issue… I don’t know. Any help for that would be much appreciated!

Offline

#10 2013-08-21 20:54:21

etc
Developer
Registered: 2010-11-11
Posts: 5,397
Website GitHub

Re: [solved] Navigation not working!

thaicares wrote:

PRE-FLIGHT CHECK
Apache module mod_rewrite is not installed ?

The issue may be here, run <txp:php>phpinfo();</txp:php> to be sure. Ask your admin to enable mod_rewrite if necessary.

Offline

#11 2013-08-22 05:04:31

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,172
Website GitHub Mastodon Twitter

Re: [solved] Navigation not working!

thaicares wrote:

colak your suggestion for the replacment of .htaccess did not allow me to use clean URL all I did was replace the current .htaccess content with what you suggested. I just used MS notepad to do it? If that is the issue… I don’t know. Any help for that would be much appreciated!

Hi, My suggestion was the default htaccess scripts which come with txp. I only provided it here just in case you were using a mac and couldn’t view the file. Do replace the actual file with the one which came with txp as notepad might have not saved it properly.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

Board footer

Powered by FluxBB