Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
htaccess troubles with 4.0.6
Hi All,
I have several working 4.0.5 sites hosted on godaddy with the following htaccess file:
.htaccess file contents:
------------------------
DirectoryIndex index.php index.htm
#Options +FollowSymLinks
RewriteBase /
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.+) - [PT,L]
RewriteRule ^(.*) index.php
</IfModule>
#php_value register_globals 0
I have just started a new site, with 4.0.6, and that htaccess doesn’t seem to be working…Could the cause lie with the new Textpattern version or should I look elsewhere for the problem? Any help appreciated.
Thanks
Offline
Re: htaccess troubles with 4.0.6
Update – When I replaced 4.0.6 files with the 4.0.5 installation, clean urls do work. So it seems there are changes to the htaccess files that are required for 4.0.6? Apologies for my ignorance – my knowledge of htaccess and server inner-workings is basic at best.
Offline
Re: htaccess troubles with 4.0.6
You can use a 4.0.5 .htaccess file in TXP 4.0.6 just fine. When upgrading, you don’t have to upgrade .htaccess and config.php, although I’m surprised the changes in .htaccess caused your clean urls to break.
Offline
Re: htaccess troubles with 4.0.6
Hi Ruud,
Thanks for your reply. It actually isn’t just that the new htaccess file bundled with 4.0.6 didn’t work, it is that my old htaccess file, which is working on several 4.0.5 sites on the same host (godaddy.com), also didn’t work with 4.0.6. Totally mysterious to me. I guess I will try the upgrade up to 4.0.6 again, and see if it wasn’t some other error I made.
Offline
Pages: 1