Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2011-02-24 23:39:48

newnoise
Member
Registered: 2011-02-24
Posts: 35

Section links ending in 404 error!

Hi,

I just installed textpattern and applied a nice theme for it. http://newnoise.ne.funpic.de/pu-test/

I had to delete the .htaccess-file from that folder in order to make the browser open the index.php. Before it just worked by opening …/pu-test/index.php!

BUT still all my links are leading to 404-errors. They are in the header-form via:

<txp:section link=“1” title=“1” name=“articles” /> <txp:section link=“1” title=“1” name=“kuenstler” />

etc. The names are definitely right! And actually its not suprising that they are leading tot 404 as the article link leads to:
http://newnoise.ne.funpic.de/pu-test/articles/

which is a folder that does not exist …

what did i do wrong?

thanks!
noise

Offline

#2 2011-02-25 00:00:49

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

Re: Section links ending in 404 error!

If you deleted .htaccess you need to set ‘Permanent link mode’ (in Admin > Preferences) to ‘messy’.

http://newnoise.ne.funpic.de/pu-test/articles/

which is a folder that does not exist …

That is how clean URL mode (.htaccess needed) generates URLs: /section-name/(id/)article-title.

Last edited by els (2011-02-25 00:05:31)

Offline

#3 2011-02-25 08:16:26

newnoise
Member
Registered: 2011-02-24
Posts: 35

Re: Section links ending in 404 error!

ah perfect. thanks.

otherwise the section-name/article structure is much nicer, why is index.php not automatically openend when I had the standard .htaccess in root directory?

thanks

Offline

#4 2011-02-25 17:21:56

MattD
Plugin Author
From: Monterey, California
Registered: 2008-03-21
Posts: 1,254
Website

Re: Section links ending in 404 error!

It should be, maybe it wasn’t the same as the standard version. If it is the same you may need to uncomment (remove the #) the first line:

#DirectoryIndex index.php index.html

Last edited by MattD (2011-02-25 17:22:43)


My Plugins

Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker

Offline

Board footer

Powered by FluxBB