Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
[Solved] Use URL rewrite parameters for page titles?
Evening guys :¬)
I’m using ob1_pagination, and it adds a URL rewrite condition for each page, i.e.
http://www.rossharveyweddings.com/weddings?pg=2
Any TXP wizards know how I can grab that ‘2’ and use it in a template?
Google SEO bots don’t like pages with the same title, and this plugin doesn’t help that. Can you do something like this?
1. If section is weddings
2. Check if 'pg' attribute exists
3. If so, grab it and dump in <title> tag
I’m lost with step 2 – fingers crossed it can be done!
Last edited by rossharvey (2012-02-09 00:29:17)
Offline
Re: [Solved] Use URL rewrite parameters for page titles?
Does this help?
Offline
Re: [Solved] Use URL rewrite parameters for page titles?
joebaich wrote:
Does this help?
Works a treat – thank you!
Last edited by rossharvey (2012-02-09 00:29:05)
Offline