Opened 18 years ago
Closed 18 years ago
#8062 closed defect (bug) (fixed)
.htaccess Issues
| Reported by: | covert215 | Owned by: | markjaquith |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.7 |
| Component: | Permalinks | Version: | |
| Severity: | major | Keywords: | |
| Cc: | Focuses: |
Description
I just updated to the newest version in the trunk (9515). The whole site is now returning a 500 error. I traced this to the .htaccess file, which now reads:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase Array
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . Arrayindex.php [L]
</IfModule>
# END WordPress
I cleared the file, but when I tried to reset my permalinks, it reverted to the broken version.
Somewhere along the line, an array is being returned where a single variable is expected.
Change History (5)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Tracing the issue a bit further, $home_root in /wp-includes/rewrite.php is the unexpected array.
$home_root = parse_url(get_option('home')); $home_root = trailingslashit($home_root['path']);Could this be related to a setting on my site or is it a bug in the code?