Hi David,
I have two questions if you don't mind...
q1. On each of my product pages I use keywords in my url such as http://www.mydomain.com/keyword/, however, if I enter text on this page for seo purposes it will create duplicated content on the rest of the dynamically created pages http://www.mydomain.com/keyword/?page=2 etc... Is there a way therefore only to insert text onto the initial page without it been duplicated on subsequent pages?
q2. I have a shop by brand and by store pages, though when you view results there is no way of knowing which store or brand one is shopping, is there a way to have the value on the query (ie store/brnad) included as h2 tag or something at the top of each page?
Thanks for any help you can give
Regards
Paul
Hi David,
Thanks for your quick response, works a treat!
Cheers
Paul
Hi Paul,
Re q1;
This should be a straight forward check if the $_GET["page"] super-global is less than 2, and only display your additional content if it is not. If the point at which you have entered your text is HTML rather than PHP mode, simply do the following:
<?php if($_GET["page"] < 2): ?>
...HTML content for page 1 only here...
<?php endif; ?>
Re q2;
The query can certainly be displayed if required - the $q variable will contain either "merchant:Merchant Name" or "category:Category Name", so can either be displayed "as-is", or altered accordingly to improve the presentation. If you want to email me your existing external.php I'll add a crafted H2 tag at an appropriate point to see what you think...
Cheers,
David.