Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2006-01-20 20:06:59
- animoller
- Member
- Registered: 2004-04-19
- Posts: 22
Can't get all clean URLs to work
I’m with a webserver at The Planet and I can get clean URLs to work, but not ALL of them.
Because I have the latest version of Textpattern installed and I can’t seem to get /year/month/day/title URL mode to work, but all the other clean URL modes work. Funny thing is, I have 4.0.1 installed on the same server using /year/month/day/title but that .htaccess file doesn’t work with 4.0.3. Argh!
Any suggestions?
Last edited by animoller (2006-01-20 21:04:03)
Offline
#2 2006-01-20 20:52:50
- KurtRaschke
- Plugin Author
- Registered: 2004-05-16
- Posts: 275
Offline
#3 2006-01-20 20:54:19
- tal
- New Member
- Registered: 2005-04-15
- Posts: 6
Re: Can't get all clean URLs to work
I added the /$1 to this line in my htaccess file and it helped with my clean url’s. You might want to give it a try.
RewriteRule ^(.*) index.php/$1Offline
#4 2006-01-20 21:02:50
- animoller
- Member
- Registered: 2004-04-19
- Posts: 22
Re: Can't get all clean URLs to work
<code>Textpattern version: 4.0.3 (r1188)
last_update: 2006-01-15 22:17:48/2005-12-26 17:49:56
Document root: /var/www/journal.animoller.com/htdocs
$path_to_site: /var/www/journal.animoller.com/htdocs
Textpattern path: /var/www/journal.animoller.com/htdocs/textpattern
Permanent link mode: section_id_title
Temp folder:
Site URL: journal.animoller.com
PHP version: 4.4.0-4
Register globals: 1
server_time: 2006-01-21 10:02:09
MySQL: 4.1.14-Debian_3-log
Locale: C
Server: Apache/1.3.33 (Debian GNU/Linux) PHP/4.4.0-4
Apache version: Apache/1.3.33 (Debian GNU/Linux) PHP/4.4.0-4
php_sapi_mode: apache
os_version: Linux 2.4.26-1-686
Pre-flight check:
————————————
Image directory is not writable: /var/www/journal.animoller.com/htdocs/images
File Upload Path is not writable: /var/www/journal.animoller.com/htdocs/files
Temp folder is not writable:
/var/www/journal.animoller.com/htdocs/textpattern/setup/ still exists
no_temp_dir
————————————
.htaccess file contents:
————————————
#DirectoryIndex index.php index.html
#Options +FollowSymLinks
#RewriteBase /relative/web/path/
#<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.+) – [PT,L]
RewriteRule ^(.*) index.php
#</IfModule>
————————————</code>
Last edited by animoller (2006-01-20 21:03:38)
Offline
Re: Can't get all clean URLs to work
> tal wrote:
> I added the /$1 to this line in my htaccess file and it helped with my clean url’s. You might want to give it a try.
> RewriteRule ^(.*) index.php/$1
Hi,
I have the same problem with /year/month/day/title (but only with this!)
Hi, I tried this, but if I go the my site url I always get 404 error. But if I type the index.php after site url, It works fine… how can I fix this (my diag. log is almost the same – except the version of the php and I have tmp folder)?
thx
Last edited by powerwade (2006-01-21 17:59:10)
Offline
Pages: 1