Home Blog Page 2

Remove wordpress tag from admin panel

0
Remove wordpress tag from admin panel

Remove wordpress tag from admin panel

Following functions remove wordpress from admin panel

 

Remove wordpress tag from admin panel |To remove the links you just need to add the following function to your functions.php file and add a new action into the wp_before_admin_bar_render function.
function remove_admin_bar_links() {
global $wp_admin_bar;
$wp_admin_bar->remove_menu(‘wp-logo’); // Remove the WordPress logo
$wp_admin_bar->remove_menu(‘about’); // Remove the about WordPress link
$wp_admin_bar->remove_menu(‘wporg’); // Remove the WordPress.org link
$wp_admin_bar->remove_menu(‘documentation’); // Remove the WordPress documentation link
$wp_admin_bar->remove_menu(‘support-forums’); // Remove the support forums link
$wp_admin_bar->remove_menu(‘feedback’); // Remove the feedback link
$wp_admin_bar->remove_menu(‘site-name’); // Remove the site name menu
$wp_admin_bar->remove_menu(‘view-site’); // Remove the view site link
$wp_admin_bar->remove_menu(‘updates’); // Remove the updates link
$wp_admin_bar->remove_menu(‘comments’); // Remove the comments link
$wp_admin_bar->remove_menu(‘new-content’); // Remove the content link
$wp_admin_bar->remove_menu(‘w3tc’); // If you use w3 total cache remove the performance link
$wp_admin_bar->remove_menu(‘my-account’); // Remove the user details tab
}
add_action( ‘wp_before_admin_bar_render’, ‘remove_admin_bar_links’ );
To enhance this function more you can add some logic in to only remove certain links to different user roles.

The follow will remove the updates, comments, new content and performance links from the admin bar if the user isn’t the admin user.
function remove_admin_bar_links() {
global $wp_admin_bar, $current_user;
if ($current_user->ID != 1) {
$wp_admin_bar->remove_menu(‘updates’); // Remove the updates link
$wp_admin_bar->remove_menu(‘comments’); // Remove the comments link
$wp_admin_bar->remove_menu(‘new-content’); // Remove the content link
$wp_admin_bar->remove_menu(‘w3tc’); // If you use w3 total cache remove the performance link
$wp_admin_bar->remove_menu(‘my-account’); // Remove the user details tab
}
}
add_action( ‘wp_before_admin_bar_render’, ‘remove_admin_bar_links’ );

 

Read about Google Seo Factors

php form submission code

0
php form submission code

php form submission code

Html and php code for form submission

HMTL CODE FOR FORM SUBMISSION

<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<html xmlns=”http://www.w3.org/1999/xhtml”>
<head>
<meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″ />
<title>Untitled Document</title>
</head>

<body>
<form name=”contactform” method=”post” action=”send_form_email.php”>
<table width=”450px”>
<tr>
<td valign=”top”>
<label for=”first_name”>First Name *</label>
</td>
<td valign=”top”>
<input type=”text” name=”first_name” maxlength=”50″ size=”30″>
</td>
</tr>
<tr>
<td valign=”top””>
<label for=”last_name”>Last Name *</label>
</td>
<td valign=”top”>
<input type=”text” name=”last_name” maxlength=”50″ size=”30″>
</td>
</tr>
<tr>
<td valign=”top”>
<label for=”email”>Email Address *</label>
</td>
<td valign=”top”>
<input type=”text” name=”email” maxlength=”80″ size=”30″>
</td>
</tr>
<tr>
<td valign=”top”>
<label for=”telephone”>Telephone Number</label>
</td>
<td valign=”top”>
<input type=”text” name=”telephone” maxlength=”30″ size=”30″>
</td>
</tr>
<tr>
<td valign=”top”>
<label for=”comments”>Comments *</label>
</td>
<td valign=”top”>
<textarea name=”comments” maxlength=”1000″ cols=”25″ rows=”6″></textarea>
</td>
</tr>
<tr>
<td colspan=”2″ style=”text-align:center”>
<input type=”submit” value=”Submit”> <a href=”http://www.yourwebsite.com/submitform.php”>Email Form</a>
</td>
</tr>
</table>
</form>
</body>
</html>

PHP FORM SUBMISSION CODE

SAVE THIS FILE AS SUMBITFORM.PHP IN YOUR SERVER

<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<html xmlns=”http://www.w3.org/1999/xhtml”>
<head>
<meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″ />
<title>Untitled Document</title>
</head>

<body>
<?php
if(isset($_POST[’email’])) {

// EDIT THE 2 LINES BELOW AS REQUIRED
$email_to = “you@yourdomain.com”;
$email_subject = “Your email subject line”;

function died($error) {
// your error code can go here
echo “We are very sorry, but there were error(s) found with the form you submitted. “;
echo “These errors appear below.<br /><br />”;
echo $error.”<br /><br />”;
echo “Please go back and fix these errors.<br /><br />”;
die();
}

// validation expected data exists
if(!isset($_POST[‘first_name’]) ||
!isset($_POST[‘last_name’]) ||
!isset($_POST[’email’]) ||
!isset($_POST[‘telephone’]) ||
!isset($_POST[‘comments’])) {
died(‘We are sorry, but there appears to be a problem with the form you submitted.’);
}

$first_name = $_POST[‘first_name’]; // required
$last_name = $_POST[‘last_name’]; // required
$email_from = $_POST[’email’]; // required
$telephone = $_POST[‘telephone’]; // not required
$comments = $_POST[‘comments’]; // required

$error_message = “”;
$email_exp = ‘/^[A-Za-z0-9._%-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,4}$/’;
if(!preg_match($email_exp,$email_from)) {
$error_message .= ‘The Email Address you entered does not appear to be valid.<br />’;
}
$string_exp = “/^[A-Za-z .’-]+$/”;
if(!preg_match($string_exp,$first_name)) {
$error_message .= ‘The First Name you entered does not appear to be valid.<br />’;
}
if(!preg_match($string_exp,$last_name)) {
$error_message .= ‘The Last Name you entered does not appear to be valid.<br />’;
}
if(strlen($comments) < 2) {
$error_message .= ‘The Comments you entered do not appear to be valid.<br />’;
}
if(strlen($error_message) > 0) {
died($error_message);
}
$email_message = “Form details below.\n\n”;

function clean_string($string) {
$bad = array(“content-type”,”bcc:”,”to:”,”cc:”,”href”);
return str_replace($bad,””,$string);
}

$email_message .= “First Name: “.clean_string($first_name).”\n”;
$email_message .= “Last Name: “.clean_string($last_name).”\n”;
$email_message .= “Email: “.clean_string($email_from).”\n”;
$email_message .= “Telephone: “.clean_string($telephone).”\n”;
$email_message .= “Comments: “.clean_string($comments).”\n”;

// create email headers
$headers = ‘From: ‘.$email_from.”\r\n”.
‘Reply-To: ‘.$email_from.”\r\n” .
‘X-Mailer: PHP/’ . phpversion();
@mail($email_to, $email_subject, $email_message, $headers);
?>

<!– include your own success html here –>

Thank you for contacting us. We will be in touch with you very soon.

<?php
}
?>
</body>
</html>

HOW TO INSTALL VISUAL BASIC

GZIP PHP MODULE EXTENTION ENABLED SOURCE CODE

0
GZIP PHP MODULE EXTENTION ENABLED SOURCE CODE

GZIP PHP MODULE EXTENTION ENABLED SOURCE CODE

GZIP PHP MODULE EXTENTION ENABLED SOURCE CODE | When we want to enable php module in our htaccess file, the following code is used.

<ifmodule mod_deflate.c>
addOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript text/javascript
</ifmodule>
#End Gzip1

HOW TO SUBMIT PHP FORM CODE

SEO RANK CHECKING WEBSITES

0
SEO RANK CHECKING WEBSITES

SEO RANK CHECKING WEBSITES

Websites for seo rank checking

SEO RANK CHECKING WEBSITES |There are many tools over internet , for checking website domain authority ,page authority and external links etc.

There are given below some websites links for getting website analysis.

SEO Tools List |SEO RANK CHECKING WEBSITES

SimilarWeb |SEO RANK CHECKING WEBSITES
http://similarweb.com
Moz |SEO RANK CHECKING WEBSITES
http://moz.com
SpyFu|SEO RANK CHECKING WEBSITES
http://spyfu.com
SEOBook Keyword Density Analyzer|SEO RANK CHECKING WEBSITES
http://tools.seobook.com/general/keyword-density
Ahrefs|SEO RANK CHECKING WEBSITES
http://ahrefs.com
Exadium Analyze Metadata Tool|SEO RANK CHECKING WEBSITES
http://exadium.com
Pingdom Website Speed Test|SEO RANK CHECKING WEBSITES
http://tools.pingdom.com
SeoSiteCheckup: A Sitemap Checkup Tool|SEO RANK CHECKING WEBSITES
http://seositecheckup.com

Google Alerts|SEO RANK CHECKING WEBSITES
http://google.com/alerts

 

HOW TO BOOST YOUR WEBSITE

WEB SPAM FACTORS AND TOOLS ANALYSIS

0
WEB SPAM FACTORS AND TOOLS ANALYSIS

WEB SPAM FACTORS AND TOOLS ANALYSIS

ON SITE WEB SPAM FACTORS

WEB SPAM FACTORS AND TOOLS ANALYSIS|Google has dynamic seo algorithm has been changing over time to time as Google has always priority to give content to its user “the best quality content”. That’s why Google gives penalty to those websites which boost themselves by spam factors.There is given below some analysis of spam factor tools.

Panda PenaltyWEB SPAM FACTORS AND TOOLS ANALYSIS
Sites with low-quality content (particularly content farms) are less visible in search after getting hit with a Panda penalty.
Links to Bad Neighborhoods
Linking out to “bad neighborhoods”, like pharmacy or payday loan sites, may hurt your search visibility.

RedirectsWEB SPAM FACTORS AND TOOLS ANALYSIS
Sneaky redirects are a big no-no. If caught, it can get a site not just penalized, but deindexed.
Popups or Distracting Ads The official Google Rater Guidelines Document says that pop-ups and distracting ads is a sign of a low-quality site.

Site Over-Optimization| WEB SPAM FACTORS AND TOOLS ANALYSIS
Includes on-page factors like keyword stuffing, header tag stuffing, excessive keyword
decoration.

Page Over-Optimization| WEB SPAM FACTORS AND TOOLS ANALYSIS
Many people report that, unlike Panda, Penguin targets individual page (and even then just for certain keywords).

Ads Above the Fold| WEB SPAM FACTORS AND TOOLS ANALYSIS
The “Page Layout Algorithm” penalizes sites with lots of ads (and not much content) above the fold.

Hiding Affiliate Links| WEB SPAM FACTORS AND TOOLS ANALYSIS
Going too far when trying to hide affiliate links (especially with cloaking) can bring on a penalty.

Affiliate Sites| WEB SPAM FACTORS AND TOOLS ANALYSIS
It’s no secret that Google isn’t the biggest fan of affiliates. And many think that sites that monetize with affiliate links are put under extra scrutiny.

Autogenerated Content| WEB SPAM FACTORS AND TOOLS ANALYSIS
Google isn’t a big fan of auto-generated content. If they suspect that your site’s pumping out computer-generated content, it could result in a penalty or de-indexing.

Excess PageRank Sculpting| WEB SPAM FACTORS AND TOOLS ANALYSIS
Going too far with PageRank sculpting — by not following all outbound links or most internal links — may be a sign of gaming the system.

IP Address Flagged as Spam| WEB SPAM FACTORS AND TOOLS ANALYSIS
If your server’s IP address get flagged for spam, it may hurt all of the sites on that server.

Meta Tag Spamming| WEB SPAM FACTORS AND TOOLS ANALYSIS
Keyword stuffing can also happen in meta tags. If Google thinks you’re adding keywords to your meta tags to game the algorithm, they may hit your site with a penalty.

OFF PAGE WEB SPAM FACTORS IN SEO

Unnatural Influx of Links
A sudden (and unnatural) influx of links is a sure-fire sign of phony links.
Penguin Penalty Sites that were hit by Google Penguin are significantly less visible in search. Link Profile with High % of Low-Quality Links Lots of links from sources commonly used by black hat SEOs (like blog comments and forum profiles) may be a sign of gaming the system.

Linking Domain Relevancy
The famous analysis byMicroSiteMasters.com found that sites with an unnaturally high amount of links from unrelated sites were more susceptible to Penguin.

Unnatural Links Warning
Google sent out thousands of “Google Webmaster Tools notice of detected unnatural links” messages. This usually precedes a ranking drop, although not 100% of the time.
Links from the Same Class C IP
Getting an unnatural amount of links from sites on the same server IP may be a sign of blog network link building.
“Poison” Anchor Text
Having “poison” anchor text (especially pharmacy keywords) pointed to your site may be a sign of spam or a hacked site. Either way, it can hurt your site’s ranking.

Google Dance
The Google Dance can temporarily shake up rankings. According to a Google Patent, this may be a way for them to determine whether or not a site is trying to game the algorithm.

Disavow Tool
Use of the Disavow Tool may remove a manual or algorithmic penalty for sites that were the victims of negative SEO.

Reconsideration Request
A successful reconsideration request can lift a penalty.
Temporary Link Schemes
Google has (apparently) caught onto people that create, and quickly remove, spammy links. Also, know as a temporary link scheme.

Manual Penalty
Google has been known to hand out manual penalties, like in the well-publicized Interflora fiasco.

Selling Links
Selling links can impact toolbar PageRank and may hurt your search visibility.

Google Sandbox
New sites that get a sudden influx of links are sometimes put in the Google Sandbox, which temporarily limits search visibility.

READ ARTICLE ABOUT SEO BOOST STRATEGY

 

ROLE OF BRANDS IN SEO RANKING

0
ROLE OF BRANDS IN SEO RANKING

ROLE OF BRANDS IN SEO RANKING

ROLE OF BRANDS IN SEO RANKING |Brand Name Anchor Text Branded anchor text is a simple, but strong, brand signal.
Branded Searches | ROLE OF BRANDS IN SEO RANKING
It’s simple: people search for brands. If people search for your site in Google (i.e.,. “Backlinko twitter”, Backlinko + “ranking factors”), Google likely takes this into consideration when determining a brand. Site Has Facebook Page and Likes Brands tend to have Facebook pages with lots of likes. Site has Twitter Profile with Followers Twitter profiles with a lot of followers signal a popular brand.
Official Linkedin Company Page | ROLE OF BRANDS IN SEO RANKING
Most real businesses have company Linkedin pages which help rankings.
Employees Listed at Linkedin | ROLE OF BRANDS IN SEO RANKING
Linkedin profiles may work for your company is a brand signal.
Legitimacy of Social Media Accounts | ROLE OF BRANDS IN SEO RANKING
A social media account with 10,000 followers and two posts are probably interpreted a lot differently than another 10,000-follower strong account with lots of interaction.
Brand Mentions on News Sites | ROLE OF BRANDS IN SEO RANKING
Really big brands get mentioned on Google News sites all the time. In fact, some brands even have their own Google News feed on the first page:
Co-Citations | ROLE OF BRANDS IN SEO RANKING
Brands get mentioned without getting linked into Google likely looks at non-hyperlinked brand mentions as a brand signal.
Number of RSS Subscribers | ROLE OF BRANDS IN SEO RANKING
Considering that Google owns the popular Feedburner RSS service, it makes sense that they would look at RSS Subscriber data as a popularity/brand signal. Brick and Mortar Location With Google+ Local Listing Real businesses have offices. It’s possible that Google fishes for location data to determine whether or not a site belongs to a big brand.
Website is Tax Paying Business
Google may look at whether or not a site associated with a tax-paying business.

READ ABOUT BEST SEO HERO ARTICLE

0FansLike
137FollowersFollow
0FollowersFollow
3,798SubscribersSubscribe

Latest Posts