Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2011-12-24 03:08:27

Defmetalhead
Member
Registered: 2011-12-12
Posts: 24

Re: Textpattern paths not working?

I do get “Clean URL test failed” when i run a diagnostic

Offline

#14 2011-12-24 04:59:56

jstubbs
Moderator
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: Textpattern paths not working?

The clean url test failed message is usually caused by .htaccess missing or corrupted. Do you have .htaccess placed in the root folder of your Textpattern installation?

Offline

#15 2011-12-24 05:17:49

Defmetalhead
Member
Registered: 2011-12-12
Posts: 24

Re: Textpattern paths not working?

yea its in the root folder. The .htaccess folder may be corrupted … if i delete it I can get to the homepage without adding index.php at the end.

Offline

#16 2011-12-24 06:04:27

Defmetalhead
Member
Registered: 2011-12-12
Posts: 24

Re: Textpattern paths not working?

Ok im sure it has to do with the host, server may not allow clean urls. The code works with my other host.

Offline

#17 2011-12-24 06:37:24

milosevic
Member
From: Madrid, Spain
Registered: 2005-09-19
Posts: 390

Re: Textpattern paths not working?

Go to the site preferences. At “Permanent link mode” try the first option “?=dirty.

Go to the diagnosys tab (have you deleted the “setup” folder?) and paste the diagnosys information here at the forum. That info will help people to figure out what is your problem.


<txp:rocks/>

Offline

#18 2011-12-24 07:56:03

jstubbs
Moderator
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: Textpattern paths not working?

Yes that would make sense. The .htaccess file works on most hosts, but yours may have some issues. Best check with support.

Offline

#19 2011-12-24 09:38:58

Dragondz
Moderator
From: Algérie
Registered: 2005-06-12
Posts: 1,529
Website GitHub Twitter

Re: Textpattern paths not working?

Hi

but textpattern works without htaccess you can delete it if it not works, but go to admin/pref and set url scheme to messy and you can have all links working.

It s better ti fix the problem with your host because using clean url is better than messy url for SEO

Cheers

Online

#20 2011-12-24 13:40:51

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

Re: Textpattern paths not working?

Defmetalhead, I merged your other topic about this same issue with this one.

Offline

#21 2011-12-26 16:31:35

Defmetalhead
Member
Registered: 2011-12-12
Posts: 24

Re: Textpattern paths not working?

Hello all, I did change the “permenant link mode” to messy and that didnt seem to work. And yes i did delete the setup folder. If I change the “perm link mode” to messy though, I pass all diagnostics tests and the blog would still fail to reach its links. When I deleted the .htaccess file the homepage will load, but links to “about” and “ articles” fail.

Offline

#22 2011-12-26 22:09:40

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

Re: Textpattern paths not working?

What tags are used to link to the ‘about’ and ‘articles’ sections? If the links are hardcoded as clean URL’s they won’t work in messy mode. You can use one of these to make them work regardless of the permanent link mode you are using:

<txp:section name="about" link="1" title="1" />

or

<txp:section name="about">About</txp:section>

Offline

Board footer

Powered by FluxBB