[wp-trac] [WordPress Trac] #60330: redirect that working incorrectly!

WordPress Trac noreply at wordpress.org
Thu Feb 1 11:18:39 UTC 2024


#60330: redirect that working incorrectly!
---------------------------+------------------------------
 Reporter:  markuscode     |       Owner:  (none)
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Rewrite Rules  |     Version:
 Severity:  normal         |  Resolution:
 Keywords:                 |     Focuses:
---------------------------+------------------------------

Comment (by deepakvijayan):

 I gave it a go myself, and I'm seeing the same behaviour as you reported.
 URLs like https://example.com/example-page-slug/1000/ are redirecting to
 https://example.com/example-page-slug/ instead of showing a 404 page. That
 301 redirects isn't doing our SEO any favours.



 === Environment
 - WordPress: 6.4.3
 - PHP: 7.4.33
 - Server: Apache/2.4.54 (Unix) OpenSSL/1.0.2u PHP/7.4.33 mod_wsgi/3.5
 Python/2.7.18 mod_fastcgi/mod_fastcgi-SNAP-0910052141 mod_perl/2.0.11
 Perl/v5.30.1
 - Database: mysqli (Server: 5.7.39 / Client: mysqlnd 7.4.33)
 - Browser: Chrome 121.0.0.0 (macOS)
 - Theme: Twenty Twenty-Four 1.0
 - MU-Plugins: None activated
 - Plugins:
   * WordPress Beta Tester 3.5.5

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


More information about the wp-trac mailing list