Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2007-01-18 16:00:51
- ELewis
- New Member
- Registered: 2007-01-18
- Posts: 2
No sections, categories, comments - requested URL /about was not found
Hi,
I’m completely new to Text Pattern but so far I’m very impressed. I’ve managed to install all necessary files and my site is up and running. Posting articles works a treat.
The problem is none of the extra features seem to work? If I click on comments, http://www.domainname.com/article/1/first-post#comment I get the error:
‘The requested URL /article/1/first-post was not found on this server’
The same goes for the About page or Sections or Categories. FTP’ing to the server I can see none of these directories exist. I’m not sure if they’re supposed to or whether Text Pattern parses the URL for internal use?
I have searched around on these terms but had no luck, any help would be much appreciated.
Elliot.
Offline
Re: No sections, categories, comments - requested URL /about was not found
Read up on your “clean URLs” settings. TXP doesn’t actually create directories, but redirects certain messy urls (tld.com/index.php?s=mysection) to a clean one (tld.com/mysection).
Off the top of my head, I’m guessing your host does not currently support clean URLs and mod-rewrite. This is controlled through your .htaccess file.
Take a look at your diagnostics page under admin. And search the forums, where there’s a wealth of clean URL info.
Hope this helps.
Offline
#3 2007-01-19 09:43:13
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: No sections, categories, comments - requested URL /about was not found
- FAQ: Clean URLs don’t work
- FAQ: Clean URL Test Failed
Offline
#4 2007-01-19 17:45:44
- ELewis
- New Member
- Registered: 2007-01-18
- Posts: 2
Re: No sections, categories, comments - requested URL /about was not found
Many thanks mrdale and Mary. Problem now solved.
I didn’t realise I should have been searching for clean urls! Indeed the .htaccess file wasn’t working. I have a dedicated server with Rackspace and by default they configure the server to ignore .htaccess files as a security.
For anyone that stumbles across this thread later, here’s my fix. The server is running Apache, to allow .htaccess for just a single site change the httpd.conf file to include AllowOverride All as part of the virtual server for the domain.
Thanks again.
Offline