Change title based on custom parameter
-
In my site, I have a custom gallery script I wrote, where I have pages of galleries that need more than one set to call a custom parameter, mdgpage, which functions like the page parameter built in to WordPress only it allows for gallery pages to be loaded. What I’d like to setup is the page number for any beyond the first page to be added within the title tag as well as the title on the visual page itself. I have successfully completed the latter, however the title tag contents don’t change. I expected to see the mdgpage number appended to the current title, though I know I’d like to see this in the middle ideally, such as “Page title – Page # | Site name”. Is this something that I can do with this plugin? My concern is the multiple pages with the same title possibly conflicting when being indexed by Google. I’m still learning better SEO practices, so if this is something I shouldn’t be concerned about, then I won’t worry about it.
I’m sorry if this is worded weird since it seems like an odd question. If there’s a better way I can explain I can try. Any advice or assistance to get me in the right direction would be greatly appreciated. Thanks in advance!
- The topic ‘Change title based on custom parameter’ is closed to new replies.