Make WordPress Core

Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#7490 closed defect (bug) (fixed)

Category/tag URL changed if the permalink structure has static strings

Reported by: lilyfan's profile lilyfan Owned by: markjaquith's profile markjaquith
Milestone: 2.6.1 Priority: high
Severity: normal Version: 2.6
Component: General Keywords: permalink
Focuses: Cc:

Description

The category/tag URL of WordPress 2.6 changed from 2.5.1 if the permalink structure has static string.

(Example)
Permalink structure is "/arc/%year%/%monthnum%/%day%/%postname%/", and WordPress is installed at http://example.com/

Category URL of WP 2.5.1: http://example.com/category/foobar/
Category URL of WP 2.6: http://example.com/arc/category/foobar/ (The static string "arc/" is added at URL)

There is no way to force "http://example.com/category/foobar/" at WordPress 2.6. This is unwanted behavior.
The category/tag URL is needed to keep same as long as the author wants, such as permalinks.

Please keep back the category/tag URL structure to WP 2.5 way.

Attachments (1)

7490_trunk.diff (1.2 KB) - added by markjaquith 16 years ago.
Patch for 2.7 (trunk)

Download all attachments as: .zip

Change History (7)

#1 @ryan
16 years ago

Perhaps related to [8366]. Have you tried 2.6.1 beta 1 to see if it fixes the problem?

#2 @lilyfan
16 years ago

I used 2.6.1 beta 1 and met the problem. I think that "2.6.1 beta 1" has the this problem yet.

#3 @markjaquith
16 years ago

  • Owner changed from anonymous to markjaquith
  • Status changed from new to assigned

Thank you for the report. I can reproduce this issue and am looking into a fix.

@markjaquith
16 years ago

Patch for 2.7 (trunk)

#4 @ryan
16 years ago

Testing with and without custom category and tag bases. Working well so far.

#5 @markjaquith
16 years ago

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

(In [8616]) Do not prepend /archives/ et al to category/tag URLs unless category/tag slug is missing. fixes #7490 for trunk

#6 @markjaquith
16 years ago

(In [8617]) Do not prepend /archives/ et al to category/tag URLs unless category/tag slug is missing. fixes #7490 for 2.6.1

Note: See TracTickets for help on using tickets.