Recent Topics

1 Feb 04, 2012 23:34    

I'd like to create a single standalone page for a certain given category/tag.

For example for posts under "chrome bikes" category in a bike blog, i would like to have chrome-bikes.php which would only show posts from that category of that blog.

Goal is seo-wise.

2 Mar 07, 2012 07:31

Add $cat = 44; in chrome-bikes.php stub file, where 44 is category ID.
If that doesn't work, try this

$GLOBALS['cat'] = 44;


or

$_GET['cat'] = 44;

3 Mar 07, 2012 13:29

sam2kb wrote:

Add $cat = 44; in chrome-bikes.php stub file, where 44 is category ID.
If that doesn't work, try this

$GLOBALS['cat'] = 44;


or

$_GET['cat'] = 44;

yay, the first worked ! If i can do this for tags as well, i will dominate Google : D

4 Mar 07, 2012 15:04

Try same methods, replace 'cat' with 'tag' ;)

5 Mar 08, 2012 00:01

sam2kb wrote:

Try same methods, replace 'cat' with 'tag' ;)

Cool.

But these created stub pages are not included in the sitemap.It would take days/weeks, if not months for google to find and index them.Especially if you have a low PR site.

Can think of sth to include them in the sitemap (assuming all are in the same subfolder ) ?


Form is loading...