Archive
extension for AA SEO Verify
After writing previous post about mod_rewrite I have discovered that google webmaster tools stoped veryfing my domain www.niczsoft.com. After investigation I sadly have discovered that Ask Apache Search Engine Verify plugin neither Add Meta Tags can display meta tags on my page. short reading allowed me to find the right place to correct this behavior:
- go to your’s installation directory of search-engine-verify,
- edit file search-engine-verify.php at line 191 change
if(is_home() && !is_paged()){
with:
if((is_home() && !is_paged()) || is_page()){
With this two steps all pages will contain veryfication tags, so you can redirect as many pages as you wan’t.
Wordpress themes compatibility with php
As preparing blog for one of clients I have found problems with get it running, after some web research I have found that Hemingway theme uses old syntax … instead of downgrading my server or allowing old syntax I have wrote script that converts old syntax to current working one.
This is the script:
grep -rl "<?" . | grep "\.php$" | xargs sed -i "s/<?\([^=^p]\)/<?php\1/g;s/<?\($\)/<?php\1/g;s/<?=/<?php echo /g"
Navigate to Your theme dir and call it there, it will repair all php files:
- replace <? markers to <?php
- replace <= markers to <?php echo
For me this solved problems with Hemingway theme.





