I used the below:
<div class="navigation">
<div class="alignleft"><?php next_posts_link('<div class="PrevArrow">Older Entries</div>') ?></div>
<div class="alignright"><?php previous_posts_link('<div class="NextArrow">Newer Entries</div>') ?></div>
</div>
but it generates http://mysite.com/blog/blog/Index.php?paged=2. It should be http://mysite.com/blog/Index.php?paged=2. I do not use "query_post" and blog template is from kubrick. What am I doing wrong?
Try:
<div class="navigation">
<div class="alignleft"><?php posts_nav_link('', '', '<div class="PrevArrow">Older Entries</div>') ?></div>
<div class="alignright"><?php posts_nav_link('', '<div class="NextArrow">Newer Entries</div>', '') ?></div>
</div>
Note that nesting a <div> tag inside a <a> leads to invalid HTML.
I have replaced it using "posts_nav_link" and yet the results are the same. Searched everywhere for 2 days and yet could not seemed to find a solution. Please help