[wp-trac] [WordPress Trac] #29655: Duplicate content when using front-page.php template
WordPress Trac
noreply at wordpress.org
Sat Sep 13 10:31:55 UTC 2014
#29655: Duplicate content when using front-page.php template
--------------------------+-----------------------------
Reporter: henry.wright | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 4.0
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
Steps to reproduce:
1. Set "Front page displays" to "A static page"
2. Set "Front page" to a page you have created via Pages > Add new
3. Set "Posts page" to a page you created via Pages > Add new
4. Add a front-page.php template file to your theme
5. Visit your website's homepage {{{http://example.com}}}
Then try visiting:
{{{
http://example.com/page1
http://example.com/page3
http://example.com/page37262
http://example.com/page/1
http://example.com/page/2
http://example.com/page/37262
}}}
... etc.
I would have expected a 404 page not found when visiting each of these
links but the homepage content is displayed each time.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29655>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list