Opened 10 years ago
Closed 7 years ago
#29655 closed defect (bug) (duplicate)
Duplicate content when using front-page.php template
Reported by: | henry.wright | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 4.0 |
Component: | Canonical | Keywords: | |
Focuses: | Cc: |
Description
Steps to reproduce:
- Set "Front page displays" to "A static page"
- Set "Front page" to a page you have created via Pages > Add new
- Set "Posts page" to a page you created via Pages > Add new
- Add a front-page.php template file to your theme
- 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.
Change History (4)
Note: See
TracTickets for help on using
tickets.
#29587 was marked as a duplicate.