Make WordPress Core

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#12513 closed defect (bug) (invalid)

404 Error After Installation - /%category%/%postname%.html

Reported by: bvandrunen's profile bvandrunen Owned by: dd32's profile 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)

#1 @bvandrunen
14 years ago

  • Version changed from 2.8.6 to 2.9.1

#2 @bvandrunen
14 years ago

  • Resolution set to fixed
  • Status changed from new to closed

#3 @bvandrunen
14 years ago

I needed to change the .htaccess file...however still a bug

#4 @TobiasBg
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.

#5 @TobiasBg
14 years ago

  • Resolution set to invalid
  • Status changed from reopened to closed

#6 @hakre
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.

Note: See TracTickets for help on using tickets.