Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2010-08-29 10:44:42
- freakwent
- New Member
- Registered: 2010-08-29
- Posts: 3
Noob problems -- /about/ and /articles/ are both 404
Also, where do I put a privacy policy?
Brief guidance on the architecture (eg what is supposed to happen when someone hits /about/) would be very welcome!
As far as I can tell, everything else works — the about section is married to the /about/ page, which is defined under Presentation —> Pages, but apache logs a 404.
I’ve erased everything and started all over again, but I still get the same behaviour.
Diagnostics says “All checks passed!”.
I’m relatively new at CMS stuff, but I am an IT guy so feel free to get as technical as you like. I’m suspecting that the .htaccess is suspect, I have :
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.+) – [PT,L]
RewriteRule ^(.*) index.php
Um….
Apache/2.0.52
PHP 4.3.9
MySQL 4.1.22
If any of that’s important.
Any ideas? I’m hoping that this is either by design, or a common newbie mistake.
Last edited by freakwent (2010-08-29 10:45:01)
Offline
#2 2010-08-29 11:10:57
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: Noob problems -- /about/ and /articles/ are both 404
What is the permanent link mode set to (in Admin > Preferences)? Does site.com/?s=about work?
This wiki page might help as well: Managing Clean URLs.
Offline
#3 2010-08-29 11:54:22
- freakwent
- New Member
- Registered: 2010-08-29
- Posts: 3
Re: Noob problems -- /about/ and /articles/ are both 404
Ooh! Thanks for a quick response!
/?s=about takes me to the apache root (index.html) which is the same thing you get with http://site.com/, and doesn’t involve textpattern at all, it’s just a static page.
permanent link mode is /section/id/title.
Switching to messy (and saving!) makes no difference.
I’ll follow up with “managing clean URLs”, thanks for the signpost!
Offline
Re: Noob problems -- /about/ and /articles/ are both 404
freakwent wrote:
/?s=about takes me to the apache root (index.html) which is the same thing you get with http://site.com/, and doesn’t involve textpattern at all, it’s just a static page.
Not sure what you’re saying: is Txp installed in a subdirectory of site.com? Or is it installed at root level but you’re not seeing any Txp output even on the home page?
Even in a clean URL mode (such as /section/id/title) messy URLs should still work. That is, /?s=about should still get you the “about” section front page.
Code is topiary
Offline
#5 2010-08-30 04:56:23
- freakwent
- New Member
- Registered: 2010-08-29
- Posts: 3
Re: Noob problems -- /about/ and /articles/ are both 404
Well thanks for your help!
The index.htm that was there before I installed textpattern was interfering; I expect apache seeks that before it looks for .php.
This was fine at the top level, I could type “index.php” as part of the URL and it worked. However, /?s=anything would still get me that index.htm file.
I moved that, and now it’s all lovely. Thank you!
Offline