#12513 closed defect (bug) (invalid)
404 Error After Installation - /%category%/%postname%.html
Reported by: | bvandrunen | Owned by: | dd32 |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 2.9.1 |
Component: | Upgrade/Install | Keywords: | |
Focuses: | Cc: |
Description
In our environment we have the field "permalink_structure" set up automatically on installation due to our many wordpress installations. Around 25-30 a day. The bug arrives because everything installs correctly but when you select any page besides the home page you are met with a 404 error. However if you go to the "permalinks" tab in the wordpress interface and then go back to your site...the site works correctly.
Therefore the fix is just to visit the "permalinks" tab. You don't even have to click save changes, only visit the page. Somehow our "custom structure" of "/%category%/%postname%.html" upon installation isn't activated until we actually visit the page. This is a problem...because our blog is set up automatically with database scripts and we don't have time to manually go to each wordpress installation and click on the "permalinks" tab. Thanks
Change History (6)
#4
@
14 years ago
- Keywords permalinks permalink settings custom structure /%category%/%postname%.html upgrade.php removed
- Resolution fixed deleted
- Status changed from closed to reopened
Fixed would require some action by the commiters, therefore changing to "invalid".
If you have more information on this, feel free to re-open.
#6
@
14 years ago
Please see sample code on: http://codex.wordpress.org/User:Hakre/permafrost
Incorporating the flush with your install should do the trick w/o manually visiting a page.
I needed to change the .htaccess file...however still a bug