Auto-generate SEO friendly titles for game profile pages #2
Labels
No labels
component: admin dashboard
component: api
component: backend
component: badges
component: blogs
component: content management
component: external notifications
component: faqs
component: friends
component: game reviews
component: game search engine
component: games
component: genres
component: internal notifications
component: lists
component: payments
component: platforms
component: profiles
component: security
component: site notifications
component: web design
dependencies
php
priority: high
priority: low
priority: medium
status: awaiting feedback
status: done
status: in progress
status: in queue
status: in review
status: needs investigation
status: wontfix
type: bug
type: documentation
type: feature
type: improvement
type: regression
type: task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: MyVideoGameList/myvideogamelist.com#2
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally posted by josh87
I was just looking at the way the tiles appear across the site and they are almost always the same.
For example, look at this game profile page for The Last of Us on Playstation 3: http://myvideogamelist.com/gameprofile/1096/The_Last_of_Us
That's not very descriptive for search engines like Google and Bing. Having keywords in the page title is very important for users to be able to find the site in search.Imagine if someone went to Google and typed in "the last of us playstation 3" as a search query. Gamestop shows up with a page on their site that has the same keywords in the title.
We should be able to do the same thing relatively easy across thousands of pages on the site by simply altering the code in the
header.php
file so it can generate dynamic page titles. Then, we could set the page tiles dynamically for every game by using the game name and platform.For example, some variable like
$page_title
could be set beforeheader.php
is loaded:Then, inside
header.php
we can check for the$page_title
and use that, while also falling back to a default if no title is set:Originally posted by josh87
Looks like
$page_title
could be used for this actually. I'm not seeing it being used anywhere else: