How to make Sitemap using Archives
No sitemap = Supplemental results = deep link = deep indexing = …
Create sitemap using wordpress.
- First Download CQS (Custom Query String). Upload and activate the plugin.
- Login to Dashboard, Option - CQS, than add rule is_category setting -1 at pull-down menu Post. See image below:

- Than open Presentation - Themes Editor. edit template Archive (archive.php).
- Find code below
<?php if (have_post()) : ?>And add code below
<?php $ctr = 1; ?>
<?php $cd = “”; ?>
- Then Find again code:
<?php while (have_posts()) : the_post(); ?>After that, delete the scripts before code:
<?php endwhile; endif; ?> or <?php endwhile; ?>
- Insert code below to replace the code that have deleted
<?php
$curd = get_the_time(’F j, Y’);
if ($curd != $cd) {
if ($cd != “”) { ?>
</div>
</div>
<?php }
$cd = $curd;
?>
<div class=”post”">
<h2><?php echo $cd; ?></h2>
<div class=”entry”>
<?php } ?>
<a href=”<?php the_permalink() ?>” rel=”bookmark” title=”Permanent Link to <?php the_title(); ?>”><?php the_title(); ?></a> (<a href=”<?php comments_link(); ?>”><?php comments_number(’No Comments’,'1 Comment’,'% Comments’); ?></a>)<br />
<?php $ctr++; ?>
Ok, now refresh page and see the change in your archieve ![]()



Comments (2 comments)
Nice tips, it’s the one i’m looking for… thanks!
DomainOptimize / March 5th, 2008, 9:02 am
[…] Site Reviews. Just wait on it and be patient while learn how to Protect your site using wallpaper, How to make Sitemap using Archives , and other last month […]
Money Test | Adsense tutorials and bloggers guide / March 5th, 2008, 10:31 am
What do you think?