"; echo "
Warning: You're blocking robots!! You must set your blog visible to everyone. Go to Settings.
"; } function _as() { ?>'.$_m.'.
' .'Oops, seems you have not set your permalink structures. Consider setting ' .'Permalink Settings' .'
'; } if(get_option('page_comments') && $_os['_ipc_'] == ''){ $_h .= '' .'Comments paging is enabled. It is not a common practice in general. Please disable it. ' .'Comments Settings' .'
'; } if ($_h != '') $this->_cpb('Settings/Suggestions','Wordpress Settings Suggestions',$_h); $_h = $this->_hn('_ipb_'); $_h .= $this->_hn('_ipc_'); $_h .= $this->_hn('_ipm_'); //Keywords are allowed by default. Hide it! //$_h .= $this->_cb('_umkw_', 'Allowmeta keywords tag?');
$_h .= $this->_cb('_dds_', 'Disable date in snippet preview for posts');
$_h .= 'Hide SEO Metabox in the following post types:
'; foreach(get_post_types() as $_t){ if(in_array($_t, array('revision','nav_menu_item','post_format'))) continue; $_h .= $this->_cb('_'.$_t.'-h-eb_', $_t); } $this->_cpb('_g_gsp','SEO Settings',$_h); do_action('g', $this); $this->_sbc(''); } function _g_ttp(){ $this->_stc('Title Tag Settings', false, true, 'au_seo_global_options_t', 'au_seo_t'); $_os = _gso(); $_h = 'In order to enable Alquemie SEO to modify your site titles, the title tag in your header.php file should look like this:
<title><?php wp_title(''); ?></title>';
$_h .= 'Otherwise enable a forceful rewrite of your titles by checking the checkbox below.
'; $_h .= $this->_cb('_rtf_','Rewrite titles forcefully'); $_h .= 'You may want to set titles and information for individual pages and posts. To do that fill, out the Alquemie SEO area on that page or post. To create a template to use on all other pages and posts, fill out the area below
'; if('posts' == get_option('show_on_front')){ $_h .= 'You can set the templates for the front page (' . get_option('page_on_front') . ')by editing the page SEO settings.
'; if(is_numeric(get_option('page_for_posts'))){ $_l = get_edit_post_link(get_option('page_for_posts')); if($_l != ''){ $_h .= 'You can set the templates for the front page (' . get_option('page_on_front') . ')by editing the page SEO settings.
'; } } } foreach(get_post_types() as $_t){ if(in_array($_t, array('revision','nav_menu_item','post_format'))) continue; if($_t == 'attachment') continue; $_h .= 'Reference templates
| %%date%% | Date of Post/Page |
|---|---|
| %%title%% | Title of Post/Page |
| %%sitename%% | Site Name |
| %%sitedesc%% | Site Tagline/Description |
| %%excerpt%% | Excerpt of Post/Page (Generates automatically if it doesn\'t exist) |
| %%excerpt_noauto%% | Excerpt of Post/Page (Won\'t generate automatically if it doesn\'t exist) |
| %%tag%% | Tags |
| %%category%% | Post Categories |
| %%category_description%% | Category Description |
| %%tag_description%% | Tag Description |
| %%term_description%% | Term Description |
| %%term_title%% | Term Title |
| %%modified%% | Post/Page Modification Date |
| %%id%% | Post/Page ID |
| %%name%% | Post/Page Author\'s Name |
| %%userid%% | Post/Page Author\'s user id |
| %%searchphrase%% | Search Phrase |
| %%currenttime%% | Current Time |
| %%currentdate%% | Current Date |
| %%currentmonth%% | Current Month |
| %%currentyear%% | Current Year |
| %%page%% | Current Page Number |
| %%pagetotal%% | Current Page Total |
| %%caption%% | Attachment Caption |
/category/) from the category URL.');
$_h .= $this->_cb('_tsh_','Put a trailing slash on all category and tag URLs');
$_h .= 'If there is .html at the end of you links, or anything else but a / on the end, this will force WordPress to add a trailing slash to non-post pages.
Attachments to posts are stored as posts. This means they have their own accessible URLs. Checking this option will force the attachment\'s URL to point to the post URL it belong to.
'; $_h .= $this->_cb('_cln_','Redirect untidy links to pretty permalinks.'); $this->_cpb('_g_plp','Permalink Settings',$_h); $this->_sbc('Permalinks'); } function _g_inp() { $this->_stc('Indexing', true, true, 'au_seo_global_options_i', 'au_seo_i'); $_h = 'You can specify the section that you want to block search engines from indexing.
'; $_h .= $this->_cb('_sr_','Search Results'); $_h .= 'Block search engines from indexing search results.
'; $_h .= $this->_cb('_li_','Login/Register Pages'); $_h .= 'Block login/register pages from being indexed
'; $_h .= $this->_cb('_ad_','Admin Pages'); $_h .= 'Block admin pages from being indexed
'; $_h .= $this->_cb('_sp_','Subpages from Home/Landing Page'); $_h .= 'Block search engines from indexing sub pages.
'; $_h .= $this->_cb('_nia_','Authors Archives'); $_h .= 'Block search engines from indexing author archives.
'; $_h .= $this->_cb('_nid_','Dated Archives'); $_h .= 'Block search engines from indexing date based archives.
'; $_h .= $this->_cb('_nie_','Category Archives'); $_h .= 'Block Category Archive indexing
'; $_h .= $this->_cb('_nit_','Tag Archives'); $_h .= 'Block Tag Archive indexing
'; $this->_cpb('g_inp','Indexing Rules',$_h); $this->_sbc('Indexing'); } function _g_nfp(){ $this->_stc('Follow/NoFollow Rules', true, true, 'au_seo_global_options_n', 'au_seo_n'); $_h = $this->_cb('_nfm_','Nofollow Login/Registration Pages'); $_h .= $this->_cb('_nfcl_','Nofollow Comment Links'); $_h .= $this->_cb('_rmw_','Nofollow links in the Meta Widget'); $this->_cpb('_g_nfp','NoFollow Settings',$_h); $this->_sbc('Follow/NoFollow Rules'); } function _g_rsp(){ $this->_stc('Robot Settings', true, true, 'au_seo_global_options_r', 'au_seo_r'); $_h = 'You can individually add these settings on each each page/post from edit screens. Here you can do sitewide settings. (Not Recommended)
'; $_h .= $this->_cb('_ndp_','Addnoodp robot tag sitewide');
$_h .= $this->_cb('_nyd_','Add noydir robot tag sitewide');
$_h .= $this->_cb('_nsp_','Add nosnippet robot tag sitewide');
$_h .= $this->_cb('_nar_','Add noarchiverobot tag sitewide');
$this->_cpb('_g_rsp','Robot Tag Settings',$_h);
$this->_sbc('Robot Settings');
}
function _g_301p(){
$this->_stc('301 Redirects', true, true, 'au_seo_global_options_3', 'au_seo_3');
$_h = $this->_cb('_dsa_','301 Redirect Author Archives to default to the home page');
$_h .= 'If your theme does not have a template for author archives, you can simply redirect an author\'s link to the home page.
'; $_h .= $this->_cb('_dsd_','301 Redirect Date Based Archives to default to the home page'); $_h .= 'If your theme does not have a template for date based archives, you can simply redirect a date archive link to the home page.
'; $this->_cpb('_g_301p','301 Redirects',$_h); $this->_sbc('301 Redirects'); } function _g_xsp(){ } function _g_bcp() { $this->_stc('Breadcrumbs', false, true, 'au_seo_global_options_b', 'au_seo_b'); $_h = $this->_cb('_tbc_','Enable Breadcrumbs'); $_h .= 'Put this code into your theme anywhere you want to show the breadcruumbs:
'; $_h .= '<?php if(function_exists('au_breadcrumbs')){
au_breadcrumbs('<p id="breadcrumbs">','</p>');
} ?>';
$this->_cpb('_g_bcp','Breadcrumbs Settings',$_h);
$this->_sbc('Breadcrumbs');
}
function _g_chp(){
$this->_stc('Head Tag Cleaner', true, true, 'au_seo_global_options_h', 'au_seo_h');
$_h = 'You can clean your <head> tag.
Enter verification codes from different webmaster tools.
'; $_h .= $this->_ti('_gv_', 'Google Webmaster Tools'); $_h .= $this->_ti('_yv_','Yahoo! Site Explorer'); $_h .= $this->_ti('_bv_','Bing Webmaster Tools'); $this->_cpb('_wbt_','Webmaster Tools',$_h); $this->_sbc('Webmaster Tool'); } function _g_fdp() { $_os = _gso(); $this->_stc('RSS Settings', false, true, 'au_seo_global_options_f', 'au_seo_f'); $_h = $this->_cb('_cmf_','noindex comments RSS Feed');
$_h .= $this->_cb('_alf_','noindex All RSS feeds');
$_h .= $this->_cb('_pif_','Ping Search Engines with feed on new post');
$this->_cpb('_g_fdp_1','RSS Feed Settings',$_h);
$_h = ''."You can put custom html into your feed such as your blog links to let search engines identify the original source of the contents in case someone steals your content by coping and pasting your feed into their blog or website".'
'; $_r = array(); $_rbf = ''; if(isset($_os['_rbf_'])) $_rbf = stripslashes(htmlentities($_os['_rbf_'])); $_raf = ''; if(isset($_os['_raf_'])) $_raf = stripslashes(htmlentities($_os['_raf_'])); $_r[] = array( "_i" => "_rbf_", "_l" => "Contents before post in the feed", "_d" => "(HTML allowed)", "_c" => '', ); $_r[] = array( "_i" => "_raf_", "_l" => "Contents after post in the feed", "_d" => "(HTML allowed)", "_c" => '', ); $_r[] = array( "_l" => 'Help', "_c" => 'Use the following variables within the content, to replace with original values:
'. 'Enter the code you want to insert into the <head> tag.
Enter the code you want to insert before any item\'s contents.
'; $_h .= $this->_ta('_aitc_','After Item\'s Contents'); $_h .= 'Enter the code you want to insert after any item\'s contents.
'; $_h .= $this->_ta('_ftc_','Before </body> Tag (Footer)'); $_h .= 'Enter the code you want to insert in the footer before </body> tag.
Note:
Editing the robots.txt file incorrectly can block search engines from your site. Also incorrectly edited .htaccess file will disable your entire website. DON\'T EDIT IF YOU ARE NOT FAMILIAR WITH THESE FILES.
Restore by locating b2seo.zip and clicking Restore settings:
Restored successfully.
'; }else{ $_h .= "File: " . $_uz[0]['filename'] . " doesn't exist";
}
} else {
$_h .= ' Error occured while restoring. Please try again later. Restore failed: '.$_f['error'].' Restore failed: Can\'t uploadAlquemie SEO settings
Author Page Title
Meta description for Author page
Author Meta Keywords