Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
Clean URLS in a subdirectory
Hi, I’m currently working on developing a site with Textpattern (4.01), and I would really like clean URLS. However, I’m developing it in a subdirectory of another domain, so perhaps this is the problem.
It’s hosted on Textdrive. dosdev.familycreative.com is the url, and it actually sits in the directory www.familycreative.com/dosdev
If you click on any of those sub menu items such as “Musical History,” it gives a Not Found error even though it works in messy mode.
I believe I have the correct .htaccess file, it’s:
#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>#php_value register_globals 0
Any suggestions would be highly appreciated! Thanks!
Last edited by The Safety Inspector (2005-11-04 22:35:01)
Offline
Re: Clean URLS in a subdirectory
Try these suggestions:
http://textpattern.com/weblog/20/clean-urls-on-different-hosts
Also please post your diagnostics. And I would recommend upgrading to 4.0.2 (independant of this issue).
Offline
#3 2005-11-04 23:45:04
- KurtRaschke
- Plugin Author
- Registered: 2004-05-16
- Posts: 275
Re: Clean URLS in a subdirectory
You need a RewriteBase directive in your .htaccess file.
-Kurt
Last edited by KurtRaschke (2005-11-04 23:45:23)
kurt@kurtraschke.com
Offline
Re: Clean URLS in a subdirectory
Thanks, the RewriteBase seems to have done the trick!
Offline
Pages: 1