Add the below given code in your .htaccess file
RewriteEngine on
# Options +FollowSymlinks
RewriteCond %{HTTP_REFERER} referer_domain.com [NC]
RewriteRule .* – [F]
Note : Make sure that you have enabled the module “mod_rewrite” in your server
Add the below given code in your .htaccess file
RewriteEngine on
# Options +FollowSymlinks
RewriteCond %{HTTP_REFERER} referer_domain.com [NC]
RewriteRule .* – [F]
Note : Make sure that you have enabled the module “mod_rewrite” in your server
Add the below given code in your .htaccess file
order allow,deny
deny from 112.1.11.22
allow from all
Create .htaccess file and paste the below given code into it .
AuthName “Member’s Area Name”
AuthUserFile /path/to/password/file/.htpasswd // Dont for got give a valid path of .htpasswd file
AuthType Basic
require valid-user
Create .htpasswd and gienterve the user name and encrypted password separated with ‘:’. The text would look like as follows
username:encryptedpassword
phpcodez:60h5w63DqQfls
NOTE : You can create the password using the link “http://www.4webhelp.net/us/password.php”
Paste the below given code in the wp-config.php
define(‘WP_MEMORY_LIMIT’, ’32M’);
Paste the below code in the functions.php
add_filter(‘wp_default_editor’, create_function(”, ‘return “html”;’));
Paste the below given code into functions.php
add_action( ‘admin_head-post.php’, ‘phpcodez_editor_font’ );
add_action( ‘admin_head-post-new.php’, ‘phpcodez_editor_font’ );
function phpcodez_editor_font() { ?>
<style type=”text/css”>#editorcontainer #content, #wp_mce_fullscreen { font-family: “Times New Roman”, Verdana, }</style>
<?php }
global $wp_query;
if(“entry_value”== get_post_type($wp_query->post->ID))
echo “Its a custom post type”
Paste the following code in your .htaccess file
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_METHOD} POST
RewriteCond %{REQUEST_URI} .wp-comments-post.php*
RewriteCond %{HTTP_REFERER} !.*phpcodez.* [OR] // please add your domain name
RewriteCond %{HTTP_USER_AGENT} ^$
RewriteRule (.*) ^http://%{REMOTE_ADDR}/$ [R=301,L]
</IfModule>
Paste the following code in functions.php
add_action(“wp_head”, “my_copyright_meta”);
function my_copyright_meta() {
if(is_singular()){
echo “<meta name=”copyright” content=”© phpcodez.com 2011″>”;
}
}
Paste the following code in functions.php
add_action('admin_head', 'excerpt_textarea_height');
function excerpt_textarea_height() {
echo'
<style type="text/css">
#excerpt{ height:500px; }
</style>
';
}