[wp-trac] [WordPress Trac] #12456: Canonical URL redirect issue with post_id/postname permalink structure

WordPress Trac noreply at wordpress.org
Thu Oct 20 09:44:44 UTC 2016


#12456: Canonical URL redirect issue with post_id/postname permalink structure
------------------------------------------+-----------------------------
 Reporter:  Frank.Prendergast             |       Owner:  dd32
     Type:  defect (bug)                  |      Status:  reopened
 Priority:  normal                        |   Milestone:  Future Release
Component:  Canonical                     |     Version:  2.9.2
 Severity:  normal                        |  Resolution:
 Keywords:  tested 3.3-early needs-patch  |     Focuses:
------------------------------------------+-----------------------------

Comment (by calvin_ngan):

 Replying to [comment:24 Niresh12495]:
 > @calvin_ngan this solution relatively works for all domains simply add
 this to your .htaccess, i have been using this on my blog
 [http://www.niresh.guru] since a long time but Wordpress must fix this
 with PHP so im reopening this ticket
 >
 > {{{
 > RedirectMatch 301 ^/(\d+)/$ /?p=$1
 > }}}

 1. Nobody gave him a temporary solution, thus, I posted one.
 2. After 7 years, it is still not taken care of, I doubt they see this as
 bug. Probably will never be resolve.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/12456#comment:25>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list