Blogger: Page Navigation with WP-PageNavi style

If you use WordPress, you might have heard about WP-PageNavi, the famous page navigation plugin. But in Blogger (blogspot) there is no such “plugin”. Blogger provides only Previous Post, Next Post links, and they cannot satisfy us. In this post, I will show you some code to make beautiful page navigation with WP-PageNavi style. … Continue reading →

URL structure doesn’t affect PageRank

In an answer of a question on GoogleWebmaster channel on Youtube, MattCutts explains that Google doesn't use URL structure as a PageRank factor. Google doesn't worry very much about how deep a set of directories is. If a page with deep URL structure, and is linked by another page, it still gets pagerank from that page. … Continue reading →

SEO: The right way to use H1 tag

The heading tags H1, H2, … are used to emphasize content and by this way improve SEO strength of website. The H1 tag, the most important tag, is usually used for main topic of the web page. It is recommended that we should use only one H1 tag on per page. This causes some different ways of position H1 tag, its implementation in the header of … Continue reading →

Make rel=publisher Passed W3 Validator

rel=publisher is a HTML piece that makes Google recognize (by rich snippet parser) the publisher of current page in search result. Unfortunately, the common implementation of rel=publisher by <link> tag is not validated by W3 Validator. Although W3 validator is just a guide and we don't have to follow 100%, but we should if we can. This post … Continue reading →

Get URL of any PHP file in WordPress

Getting URL of current page or current PHP file is a very common task. And that is not exceptional in WordPress. For example: when you include a plugin in a theme, or using LESS PHP compiler. There're some available techniques, but I found that all of them are not good enough to work in all situation, so I hope what I write in this post is a better … Continue reading →

Add more placeholder tags to WordPress SEO plugin

WordPress SEO plugin is the best SEO plugin for WordPress. It's very flexible in customizing meta title using placeholder tags like %%title%%, %%sitename%%. The problem is the list of placeholder tags are fixed and sometimes not satisfy our needs. For example, we can't show value of a custom field (post meta) in the title! In this post I'll show … Continue reading →