Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialartsdev
11,124 PointsDuplicate Homepage content
Hi to everyone! I would like to know whether duplicating the content of the home page, in order to create a more semantic url with some keywords included, would be a bad practice
For example:
Can I create two pages with the same content, one www.mysite.com and the other www.mysite.com/keyword ? The second page is the one I would indicate as canonical and would be accessible via the "home" link included in the menu site.
Is that a bad practice to avoid doing?
Thank you
1 Answer
Sage Elliott
30,003 PointsIf you're just hardcoding it with html/css its not bad practice! If you're using templates that's something can usually be inherited(such as templating in flask, rails, etc).
I hope that helps you out!