Make WordPress Core

Opened 17 years ago

Closed 17 years ago

#12383 closed defect (bug) (fixed)

Permalinks Fail After Adding New User

Reported by: shodezignz Owned by: ryan
Priority: normal Milestone: 3.0
Component: Permalinks Version: 2.9.1
Severity: normal Keywords:
Cc: Focuses: multisite

Description

2.9.1 - MU

Have Main Blog and 9 other sub blogs
Using Plug In - WordPress MU Sitewide Tags Pages - to pull posts to main blog
To make problem
Go to Site Admin panel
Users - Add new user on main blog
Go to Blogs under Site Admin Panel
Add user as author to each blog
Check Website and see that posts no longer link back to post

The way i have to fix it is go to each blog and save permalinks (not changing or even clicking anything just clicking save permalinks) and links on site work again.

Write up on forum
​http://mu.wordpress.org/forums/topic/16979?replies=5#post-95297

Change History (10)

#1 @shodezignz
17 years ago

  • Component General → Administration
  • Keywords permalinks add user permalinks fail added
  • Milestone Unassigned → 3.0

#2 @dd32
17 years ago

  • Component Administration → Permalinks
  • Keywords multisite added; permalinks add user permalinks fail removed
  • Owner set to ryan

#3 @wpmuguru
17 years ago

Testing shows that the Sitewide Tags plugin isn't a factor in this.

Adding a new user through the network admin and then adding the user as an author a the second blog causes the permalinks to fail on the second blog.

#4 @wpmuguru
17 years ago

(In [13509]) dont flush rewrite rules while in switch_to_blog, see #12383

#5 @wpmuguru
17 years ago

(In [13511]) use delete_option vs update_option, see #12383

#6 follow-up: @Denis-de-Bernardy
17 years ago

Just to confirm I'm reading this write: does this bit of code mean that inserting or updating a new blog in a MS installation will fire a .htaccess file update?

#7 in reply to: ↑ 6 ; follow-up: @wpmuguru
17 years ago

Replying to Denis-de-Bernardy:

Just to confirm I'm reading this write: does this bit of code mean that inserting or updating a new blog in a MS installation will fire a .htaccess file update?

No, WP_Rewrite rewrite rules are stored in the options table.

#8 in reply to: ↑ 7 ; follow-up: @Denis-de-Bernardy
17 years ago

Replying to wpmuguru:

Replying to Denis-de-Bernardy:

Just to confirm I'm reading this write: does this bit of code mean that inserting or updating a new blog in a MS installation will fire a .htaccess file update?

No, WP_Rewrite rewrite rules are stored in the options table.

of course. but if memory serves, the .htaccess file gets refreshed whenever they're generated unless it's a soft refresh, or something like that.

#9 in reply to: ↑ 8 @wpmuguru
17 years ago

Replying to Denis-de-Bernardy:

of course. but if memory serves, the .htaccess file gets refreshed whenever they're generated unless it's a soft refresh, or something like that.

The .htaccess rewrite rules are written once during the network install. They aren't refreshed from individual site/blog settings.

#10 @wpmuguru
17 years ago

  • Resolution → fixed
  • Status new → closed

Closing pending another issue with this.

Note: See TracTickets for help on using tickets.