How to make Trac and wordpress work together
You need to update .htaccess for wordpress.
Here are the content and explanation of new .htaccess.
1. To make Trac and wordpress work together, we need to add
RewriteCond %{REQUEST_URI} !^/trac*
inside wordpress rewrite rules
2. To make Trac HTTP authentication work, we need to add
ErrorDocument 401 /401.html
and create 401.html on the same directory as wordpress.
Taken from: http://wordpress.org/support/topic/htaccess-and-subdirectories
401.html can be empty file or use the following HTML tags.
Authorization Required
It will only display when someone failed to login.
ErrorDocument 401 /401.html
# BEGIN WordPress
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_URI} !^/trac*
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
#END
Articals in this section
-
How to make Trac and wordpress work together
Updated on 2025-11-18 08:04:51
-
Activate RVsubversion Manager for RVskin 10.58 - 12.37
Updated on 2025-11-18 08:04:51
-
How to make Trac and cakePHP work together?
Updated on 2025-11-18 08:04:51
