[wp-trac] [WordPress Trac] #56312: WordPress bug with rewrite rule

WordPress Trac noreply at wordpress.org
Sat Jul 30 10:45:09 UTC 2022


#56312: WordPress bug with rewrite rule
--------------------------+-----------------------------
 Reporter:  masimoti      |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 I found something strange
 I installed a WordPress then from setting . Reading I set a sample page as
 homepage
 And when I opened website it was ok and showed content of sample page but
 when I added query string “?name” it showed latest blog posts
 I tried everything as query string nothing did that and all showed sample
 page content and that was ok
 Just just with ?name query string showed different thing
 For ex localhost/site/?name show latest posts but
 Localhost/site/?everythingyoutype
 Was ok and show content of the page
 Why ?name query string is like that??? I want to remove it

 actually you must test it just on homepage of your site
 not another pages
 it hurts SEO if you show something else with query string on your site
 (specially on your homepage) instead of the main content
 basically as you said when you enter the url of homepage with /?name you
 should see the homepage and nothing should change because it’s just a
 query string
 I can show you an example
 see this : https://amepro.at/
 as you see everything is fine and homepage of website is ok
 but please see this one https://amepro.at/?name
 here you see the blog posts and it hurts SEO very bad
 I got too much errors on search console with these kind of urls

 Can you explan the logic behind it why should we show another thing like
 latest post when someone enter some parameter ?
 it’s not normal at all

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/56312>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list