<?php get_archives(‘type’, ‘limit’, ‘format’, ‘before’, ‘after’, show_post_count); ?>
<?php get_archives(‘monthly’, ”, ‘html’, ”, ”, TRUE); ?>
You can get learn other parameters for that tag here http://codex.wordpress.org/Template_Tags/get_archives
I dont think that makes html files? Can it?
I installed it and I get this:
http://www.cherez.com/haber_arsivi/
I have permalinks but the archive weekly links are dynamic pages…
http://www.thesuperficial.com/archives.php
This page has it in html not even directory…
PS: Is there a way to disable comments for pages only so that visitors can only comment on posts?
To prevent comments pop up in page, delete the <?php comments_template(); ?> in your page.php.
Regarding your archives problem, what plugin did you use to generate it?
I just used
<?php get_archives(‘weekly’, ”, ‘html’, ”, ”, TRUE); ?>
Never mind. My reply doesn’t make much sense in this issue (I guess).
[ignore] Everything in WP is dynamic. You can “fool” the visitors (and search bots) with rewrite rules (to append a .html or .php at the end), which I can’t help you with but there are threads on it in these forums.
The so-called archives are really just “filters”, or different views of all posts. You can tell WP to show only posts from April or category Cats, for example, and it filters out everything else. [/ignore]
Oh, that one? He just changed the permalinks to /%year%_%monthnum%_%day%_%postname%.html
Go to options then permalinks and change the structure. Don’t forget to update the .htacces file after. WordPress will show you the rewrite rules at the bottom of the page after you update the structure. It will only work if you have mod_rewrite enabled on apache.
I changed my directory type permalinks to .html type for better G results.
Howerver the archive page hasnot changed. It still gives dynamic url.
Why not write another page and name it archives2 for instance and see if your permalink structure is directory type or query string type.
that didnt change ne thing. I guess that page is using a plugin to do that
I changed my directory type permalinks to .html by following directions from this page now my adsense won’t show on any of my pages, I’m using an adsense deluxe plugin.
I’m not sure why this is happening, any suggestions?
Thanks
Issy