Permalink / sub-template issue

It is hard to tell exactly what you’ve done, and it sounds a bit messy, but I think you’ve created “Pages” using the child templates as the “Template” under page attributes. That, or you are linking to them directly with wp-content/theme/themename/templatename.php. You never want to link directly like that, but if that were the case … Read more

localization for Permalink

Under permalink settings you want to use Custom Structure you can then customise it using the structure tags see http://codex.wordpress.org/Using_Permalinks#Structure_Tags this would allow you to add post id and author to the permalink for example. /%year%/%monthnum%/%day%/%postname%/%postid%/%author%/ All depending on what you need if you can be more specific about what you mean by native numbers … Read more

Pretty links for PHP pages above WP /blog directory?

Go to your Admin Dashboard. Click on the Settings menu (or icon). Go to the General sub menu. The WordPress Address (URL) should match the Site Address (URL) Remove /blog form the Site Address (URL) Click the Save Changes button. Read Giving WordPress Its Own Directory for more details.

WordPress archive posts returns user to homepage

are you using archives widget? if not then which function you are calling to get archives. try to add this code (below) in your sidebar. <?php $archives = wp_get_archives(‘type=monthly&limit=10&echo=0’); if ($archives) { ?> <ul class=”archive-list”> <?php echo $archives; ?> </ul> <?php } ?> this will output as an unordered list of last 10 monthly archives, … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)