block proxy servers to access wordpress

WordPress is always very target for hackers. Hackers always use the proxy servers to access the wordpress websites. Hackers attack the wordpress sites using the proxy IP addresses and servers. Here Using small trick you can prevent the proxy server attack. This is very easy trick which can be used in every wordpress project.

block proxy servers to access wordpress

All proxy visits are not bad requests so First check the site access logs. If you are thinking Your site attacked by Hackers and proxy servers then only use the following code.

 

You just need to add following code into your .htaccess file. You can open your .htaccess apache configuration file from wordpress root folder.

# BLOCK PROXY VISITS
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{HTTP:VIA}                 !^$ [OR]
RewriteCond %{HTTP:FORWARDED}           !^$ [OR]
RewriteCond %{HTTP:USERAGENT_VIA}       !^$ [OR]
RewriteCond %{HTTP:X_FORWARDED_FOR}     !^$ [OR]
RewriteCond %{HTTP:PROXY_CONNECTION}    !^$ [OR]
RewriteCond %{HTTP:XPROXY_CONNECTION}   !^$ [OR]
RewriteCond %{HTTP:HTTP_PC_REMOTE_ADDR} !^$ [OR]
RewriteCond %{HTTP:HTTP_CLIENT_IP}      !^$
RewriteRule .* - [F]
</IfModule>

After adding above code you must check your wordpress site. Check the your every pages of your site. Check your sites pages on atleast on three PCs so you will sure about your site and above code.

Open your header.php file which you find in your wordpress theme folder.

Take backup header.php file first.

<?php if(@fsockopen($_SERVER['REMOTE_ADDR'], 80, $errstr, $errno, 1)) die("Proxy access not allowed"); ?>

Put above code in header.php file and check your site is working fine. There are so many articles written on same topic so you can check those also before making any changes.

block proxy servers to access wordpress
block proxy servers to access wordpress

best hosting providers for wordpress for themes

WordPress is highly used CMS in the world. When you want to create the website then you need to hosting. Many people are searching for wordpress hosting. Which is the most used and comfortable wordpress hosting providers. Here I created the Most popular hosting theme or wordpress hosting providers.

There are some hosting providers are really leader in hosting. They are having many many sites hosted to them and they have millions of satisfied customer. There are too many hosting service providers in the world. It is very hard too choose the correct hosting provider for wordpress.

Best Hosting providers for WordPress

Hostgator

Best Hosting providers for WordPress
Best Hosting providers for WordPress

HostGator is a leading provider of web hosting, reseller hosting, vps hosting, and dedicated servers. Over 8,000,000 websites trust HostGator for their web hosting needs.

Godaddy

best hosting providers for wordpress
best hosting providers for wordpress

The simplicity of WordPress meets the power of GoDaddy.

While WordPress makes it easy to create an amazing blog or website, our world-class Web hosting makes it just as easy to get the most out of your site. WordPress Hosting from GoDaddy keeps your site running smoothly, even when your latest post goes viral, by automatically spreading traffic spikes across multiple servers. Plus, our advanced performance and security means your site is lightning-fast and your visitors are safe.

Bluehost

best hosting providers for wordpress
best hosting providers for wordpress

Highly Customizable
Although best known as a blogging tool, WordPress is also a fully functional CMS and can even be used in e-commerce sites.Easy To Use
With great default designs and a library of professional themes, it’s easy to get a beautiful website off the ground in no-time.
Don’t know much about code? No worries. WordPress outputs standards friendly code for optimal performance and SEO.
Because of it’s power and versatility, WordPress has a loyal community of developers and designers to help and inspire you.

Laughing Squid

ls-hosting-main-logo

Laughing Squid offers reliable, scalable and secure cloud hosting services using Rackspace’s state-of-the-art Cloud Sites hosting platform. Our hosting plans include control panel access, full-featured email services (POP, IMAP & webmail), PHP 5.3, MySQL 5.1 and many other great features.

If you are looking to setup a blog running WordPress you’ve come to the right place. We are one of the web hosting companies officially recommended by WordPress for hosting WordPress blogs.

IntoVPS

IntoVPS_ VPS hosting
IntoVPS provides reliable unmanaged VPS hosting at decent prices. VPS hosting packages are available in US and Europe. VPS hosting service with super-fast response. VPS hosting on premium hardware and network in London – UK, Amsterdam – Netherlands, Bucharest – Romania, Dallas – Texas, Fremont – California.

My Review

I personally used some of above hosting services for some time. I did not faced any with issue with above hosting providers. There support is nice and instant. WordPress installation and up-gradation is very easy with above hosting providers.

Earlier also I written about wordpress cheap hosting which is helpful to you.

https://purabtech.in/cheap-hosting-wordpress-blogs-sites/

Migration of Themes and Plugins bestowing amazing features

PHP has the plethora of frameworks which are painless to use by a developer. A developer can also freak out on while developing a website with various attractive features. Betwixt all the frameworks, WordPress is the most prominent one because of its outstanding features.

Migration of Themes and Plugins

When a new major version of WordPress released, namely, WordPress 2.1 or 2.2, you might have discovered that Themes or Plugins are no longer working in a way they used to do it earlier. The primary reason could be that they are entirely broken because there was something in WordPress that was subjected to get changed. At the same time, another possible reason might be that was very fundamental and got changed, although you can feel relished working with WordPress Development just by updati An outline of WordPress 2.7:ng a few settings.

An outline of WordPress 2.7:

Migration of Themes and Plugins
Migration of Themes and Plugins

WordPress 2.7 evolved with many revolutionary visages for getting an amazing website especially for bloggers. There are a few key features that are included in WordPress 2.7 such as Pages, plugins, Images and there are a few more. You can enjoy working on this by restraining blog part of the website with this version. You can flawlessly create static pages which are not the part of bookmark links, ongoing blog and others.

What is state-of-the-art about “Pages”?

Pages may look quite similar to the posts at first glance. However, they are actually not akin. Pages do not have timestamp, tags or categories. On the other hand, posts belong to the blogs that are meant to be the segment of enduring section of the website.

  • Adding a page
Add New Page
Add New Page

Just visit WP admin and navigate to different pages in order to add a new page. You will find drop-down menu in the grey menu fixed at the top and by clicking on the arrow; you can easily add a new page. Adding page can appear quite similar to the earlier process. But, there will be a new section that you will find, that is, Attributes.

Something about “Themes”:

  • Improved Comment Display – Threading, Paging and much more:
Pagination
Pagination

Comments emerged in WordPress 2.7 with various new features, including nesting, threading, paging and many more. They are built-in because of the fact that you theme will support it. Thus, you can enjoy various advantages of these new features to get the amazing websites.

  • Logout option:

In the version, WordPress 2.7, Template Tag wp_log_out_url was added. This was providing a nonce URL for logout process. If a theme is using a construct such as /wp-login.php?action=logout to provide a logout link to the user. Consequently, that code has to be updated with the use of wp_logout_url.

You may also experience a message – You are attempting to log out of example.com. Please try again, if the theme is not using wp_logout_url for the URL of logout.

  • Sticky posts excluded from custom queries:

You can easily designate a post as sticky under the WordPress 2.7 version. If you will follow to use a query posts loop, then those sticky posts will get back directly to the custom queries. In order to avoid the sticky notes from getting involved, you can simply add caller_get_posts=1 to the complete query string.

  • Post Classes:

WordPress 2.7 introduced a new function for post classes, which will allow the user to do the styling in a simple style. The function can be written as post_class( ).If you are willing to use the function, then simply add it to Loop in such a way that it can make complete sense. Most themes usually encapsulate each post within a DIV section.

Example:

&lt;div id = “post-&lt;?php the_Id( ); ?&gt;”  &lt;/div&gt;
&lt;?php post_class( ); ?&gt; &gt;

For a few special cases, if you want to add you own classes, post_class will support it too. This can be done as shown below:

&lt;?php post_class(‘special’);  ?&gt;

If you have to display the post outside the Loop or in any alternative Loop, the second parameter to this function can be the post Id. You can use the following format:

&lt;?php post_class(‘ ’, $post_id);  ?&gt;

Flexibility to display the sticky post class:
The very basic thing that you have to do is to find:

&lt;div class=“post” id=“post-&lt;?php the_id( );   ?&gt;”&gt;&lt;/div&gt;

Now add:

&lt;div class =“post” &lt;?php sticky_class( ); ?&gt;” id=“post-&lt;?php the_id( );  ?&gt;”&gt;&lt;/div&gt;

Always tie a knot of the point that it is not mandatory if you make use of the post_class( ) function, as discussed above. However, use of post_class( ) is preferred, but if you are doing it manually, then it will allow you to get the sticky status of the complete post.

A trivial change in Plugins:

You can also find some changes in Plugins too and some of the updated features are listed as follows:

  • Uninstall feature in Plugin API
  • Administrative Hooks introduced and removed
  • Admin Header
  • Settings API include
  • Admin header
  • Plugins list page
  • Plugins have to be registered

Thus, all these advanced features within the WordPress 2.7 have allowed the developers to work on web development and web customization with an ease. These advanced features will also help the website to inherit many innovative and creative features which can be user-friendly.

Best CDN Providers for improve your WordPress performance

Here we have List of Best CDN Providers for improve your WordPress performance. The goal of a CDN is to serve content to end-users with high availability.

Best CDN Providers for improve your WordPress performance

Many times we heard about CDN. So first thing what is CDN? What it do?

Once the server receives any single page request, it collect HTML, images, multimedia files and JavaScript files from server and send data to client’s machine.
Physical location of server will always affect the website loading speed. For speeding up your website you need to CDN.

A content delivery network or content distribution network (CDN) is a large distributed system of servers deployed in multiple data centers across the Internet. The goal of a CDN is to serve content to end-users with high availability and high performance.

Net and website speed is so much important is these days. CDN will help you to save bandwidth costs from your hosting provider and site will become insanely fast and tends.

Also it helps to website rank higher in search engines.

Here I collected Some Best CDN providers which will help you to choose the best CDN providers for your wordpress site.

Amazon Web Services

Best CDN Providers for improve your WordPress performance
Best CDN Providers for improve your WordPress performance

Amazon Offers two types of services, first is Amazons S3 and Cloudfront. Amazon S3, a budget-friendly storage solution. Amazon S3 can prove helpful for websites that receive majority of their traffic from USA. WordPress.com and wordpress.org is using this.

Amazon CloudFront for content delivery. CloudFront is one of the most reliable as well as most expensive CDN options out there, so you might consider opting for it if you need blazing fast CDN and pricing is not a barrier for you. Be warned though, Amazon CloudFront is basically meant for developers and enterprises and does not offer much 24×7 support for end users.

MaxCDN

MaxCDN-logo
MaxCDN is a most popular CDN service provider. MaxCDN powers the most of high traffic blog and website which are built in wordpress. It integrates well with most CMSs, such as Drupal and WordPress. MaxCDN is best paid CDN option, It is really used by many reputed and famous sites.

CloudFlare

cloudflare-cdn CDN Providers for improve your WordPress performance
CDN Providers for improve your WordPress performance

Unlike MaxCDN, CloudFlare offers both free and paid plans. The company has been around for over 15 years now and CloudFlare is a very popular choice when it comes to CDN providers. Once again, unlike most other CDN providers, CloudFlare does not charge you on the basis of bandwidth. Instead, it charges on a per website basis.

Rackspace

rackspace-logo CDN Providers for improve your WordPress performance
CDN Providers for improve your WordPress performance

Powered by the Akamai CDN, Rackspace Cloud Files is an online storage network for media files. Speaking of Akamai, they have over 82,000 servers across 70+ countries; naturally, Rackspace Cloud Files is a great choice for those who need top-notch CDN services (most likely businesses and enterprises). Rackspace also has a special setup guide for WordPress users.

Incapsula

Incapsula CDN Providers for improve your WordPress performance
CDN Providers for improve your WordPress performance

Incapsula has 10 servers around the globe- 4 in United States, 4 in Europe, 1 in Singapore and 1 in Tokyo.
The best feature of this tool is saving your account from Click bombing and hacking by blocking the hackers with IPs, IP range and country.

Mashable site similar look like free wordpress theme

As we know mashable.com is most powerful blog in IT industry. You can download Mashable site similar look mashable wordpress theme for free for now.. Some time before they changed there theme or UI and platform. Earlier they are using the wordpress platform for there blogging. Mashable started with wordpress platform. After huge traffic they changed there platform. Many people are searching mashable UI and theme. I found wordpress theme similar to mashable.com. I personally loved this wordpress theme. This theme is released on 30th September 2013. You can download similar to mashable wordpress theme for free for now.

MashThirteen

mashthitreen1-free-wordpress-theme
mashthitreen1-free-wordpress-theme

[viral-lock message=”Download and Demo Link is Hidden! It’s Visible for Users who Liked/Shared This article on Facebook or Twitter or Google+. Like or Tweet this article to reveal the content.”]

DEMO | DOWNLOAD

[/viral-lock]

Information about theme

WP MashThirteen is a Mashable (http://mashable.com/) inspired TwentyThirteen child theme powered by TwitterBootstrap 3.0. The theme doesn’t looks exactly as mashable design, some how you will feel like Mashable. The child theme will help any blogger to convert their blogs to a clean and beautiful design like Mashabe. The child theme only works with TwentyThirteen parent theme. Due to bootstrap power, admin can add a lot of creative works to its content. This is fully responsive theme, works perfectly with any mobile devices or tablet.

Review:

It is responsive wp theme. Nice look on all mobile devices.

It is magazine type premium wordpress theme which is free for downlod

It is based on twentythireen parent theme so compatible with wordpress latest version which is 3.6

It is fast and SEO friendly.

I tested this theme with theme check and It passed all the points.

Free for download premium wordpress theme

Fluid UI supported theme

theme-check-of-mashable-thirteen-wp-theme
theme-check-of-mashable-thirteen-wp-theme

Only following point is missing in this theme:
RECOMMENDED: No reference to add_theme_support( ‘custom-background’, $args ) was found in the theme. If the theme uses background images or solid colors for the background, then it is recommended that the theme implement this functionality.

But still above custom background is not required for this theme so this theme totally SEO friendly.

Cons:

Footer menu settings are missing.

Font color and Font setting are missing.

Should add additional setting like meta tags and meta description.

Extra widget support and management is missing.

Ad insert support is missing as we need to magazine wp theme

change wordpress permalink to post name without losing traffic

Earlier I used date and name permalink structure for my blogs. Recently I got information about SEO URL tricks and I made decision to change permalink structure to Post name.  Here we shown how to change wordpress permalink to post name without losing traffic.  redirect to 404. interlinked other posts. They will go to 404 page.

change wordpress permalink to post name without losing traffic

change wordpress permalink to post name without losing traffic
change wordpress permalink to post name without losing traffic

So I changed permalink from:

https://purabtech.in/%year%/%monthnum%/%day%/%postname%/

to:

https://purabtech.in/%postname%/

It was very simple to above changes through wp admin->settings->permalink.

But with this produced many issues. Like google search result will go to old site URLs and My blog links are posted on other multiple blogs. That links will be broken and redirect to 404. Also I interlinked my other posts with other posts. They will go to 404 page.

If your blog pages will not found then google site ranking will go down.

By default in wordpress links look like /index.php?p=1234 which are not very useful for visitors or search engines.

In this walkthrough we’ll guide you through changing that to something useful like /post-title/.

Here I will tell you without loosing trafic or SEO how can you change the wordpress permalink day and name to post name

First go to wp admin->settings->permalink section and change setting to post name

If you are using any caching plugin (w3-cache or wp super chache) then remove all cache from dashboard.

Last edit .htaccess file and put following code there. Change domain name to your site name.

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RedirectMatch permanent ^/[0-9]{4}/[0-9]{2}/[0-9]{2}/([a-z0-9-/]+) http://digcms.com/$1
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

When would you want to use the other permalink settings?

  • If you’re a news site, the Day and name or Month and name option lets visitors know when the content was published.
  • Google News requires you to have a minimum of 3 numbers in your article URLs. The date-based options achieve this.
  • If you have a lot of content on your website covering a wide range of topics, using categories in the URL can provide context. For example, /shows/big-bang-theory/ and /science/big-bang-theory/ are two very different things. This works best when you choose only 1 category for your posts.

Useful article

The perfect WordPress SEO permalink structure

change author url without wordpress plugin

wp user want to use other url for admin user. You can easily change using wordpress hook. you can change author url in wordpress without wordpress plugin. using code you can do this. wordpress developer can use this code.

change author url without wordpress plugin

There is default username in wordpress. admin is default username in wordpress but many times user want to use other wordpress user url for admin user. You can easily do this by using following wordpress hook.

You just need to place following code in functions.php file which is your theme folder.

add_action('init', 'change_wordpress_author_url');
function change_wordpress_author_url() {
global $wp_rewrite;
$author_slug = 'new_author_url';
$wp_rewrite->author_base = $author_slug;
}

You need to choose your author url. Just replace the “new_author_url” word and put in functions.php file.

change author url without wordpress plugin
how to change the author url in wordpress without wordpress plugin

how do i find my akismet api key for wordpress

Some wordpress developer asked me, how do i find my akismet api key for wordpress, For protect your site from spam comments you need the askimet api key. which is common for jetpack and akismet plugin. WordPress api key is very important for using the wordpress jetpack plugin. For hosted wordpress sites wordpress api key is very important.

how do i find my akismet api key for wordpress

Here I will show you how to get the new wordpress api key.

  • sign in with your WordPress.com credentials (if you not have  wordpress.org account yet then sign up to worpdpress.org
  • Then go to your wordpress site and allow Akismet to connect to your WordPress account
  • click “sign up for a subscription”
  • choose your price plan. Get free plan.
  • be greeted by an “All Done” page and your big API key at the top of the page

Copy your api key and put in your wordpress site for jetpack plugin.

how do i find my akismet api key for wordpress
how do i find my akismet api key for wordpress

best wordpress seo plugins ever which will increase site seo

Normally people searching for best wordpress seo plugins,  I shortlised best wordpress seo plugins which are really useful for every wordpress developers.

I am using wordpress since 2006 for my blogs and websites. Since I also written the wordpress plugins for SEO purpose. Still some wordpress plugins are really doing great work. SEO is very import facter for every website.

best wordpress seo plugins

I almost used every best wordpress seo plugins But I like following wordpress plugins due to some reasons. Personally I like the “WordPress SEO by Yoast” wordpress plugin for SEO purpose. It is simple to use. It is not impacting on your site performance. It takes less then 40% memory as compare the other seo plugins. Site performance is very for every website seo. Meta description and meta tags and seo title are equally important.

Smart WordPress SEO

Boost your wordpress SEO: Full SEO features Meta Tags, webmaster tools settings, Social AuthorShip for Facebook, Twitter and Google Plus and XML sitemap

You can enter your meta keywords and description for your homepage and each post and pages.

This plugin will add different Meta description for each individual post as your excerpt of your post.

This will help your blog to rank better in google. You can easily increase your blog traffic using this plugin.

Following are the features:

  1. Preview of Smart wordpress SEO – Home page Keywords and description
  2. WebMaster Tool Verification Setting
  3. Social Authorship for Google, Twitter and Facebook
  4. XML sitemap setting
  5. Image SEO setting
  6. Eash Post or Page SEO title, Description and Keywords setting

WordPress SEO by Yoast

best wordpress seo plugins ever which will increase site seo
best wordpress seo plugins ever which will increase site seo

Improve your WordPress SEO: Write better content and have a fully optimized WordPress site using the WordPress SEO plugin by Yoast.

Comments: This is very nice plugin for SEO. It takes less memory as compare to other best wordpress seo plugins. I personally using this plugin in my site. This plugin has not many features like other best wordpress seo plugins but this plugin is really fast. No memory leak issues with this plugin.

SEO Ultimate

SEO Ultimate,best wordpress seo plugins
SEO Ultimate,best wordpress seo plugins

This all-in-one SEO plugin gives you control over title tags, noindex, meta tags, Open Graph, slugs, canonical, autolinks, 404 errors, rich snippets,

Comments: I love this plugin. This plugins I used for years. If you have good hosting solution then you should go for this plugin for seo. This is best ever and great plugin for seo. But only bad part is It takes lot of memory of your site almost 30% of memory will consumed by this plugin while each page loading. Still I can recommend this plugin for SEO because It has really great result in SEO with wordpress.

All in One SEO Pack

All in One SEO Pack,best wordpress seo plugins
All in One SEO Pack,best wordpress seo plugins

WordPress SEO plugin to automatically optimize your WordPress blog for Search Engines.

Comments: This plugin is really oldest great seo tool for wordpress. This plugin I used for some time. It has great features. Helpful to SEO. Many bloggers are still loving this wordpress plugin and using it. This plugin also consume your server memory big time while each page loading. Performance is  very important when you are using any wordpress plugin.

My SEO Plugin

Seo Meta Tags

You can enter your meta keywords and description for your homepage. Same like best wordpress seo plugins, this is also great and simple and very light seo plugin which is written by me.
This plugin will add different Meta description for each individual post as your excerpt of your post. This will help your blog to rank better in google. You can easily increase your blog traffic using this plugin.

Comments: This plugin has minimal features for SEO but still most important seo features are present in this plugin. This plugin will not consume your site memory. This plugin is super fast. This plugin is very easy to use in your site. They looked for performance of site. Using this plugin you can increase the seo without effecting the site performance.

What People are doing for SEO

Normally people are searching for best wordpress seo plugins, install wordpress seo plugins,  all in one seo wordpress plugin, wordpress seo optimization, yoast seo, wp seo plugin, all in one seo vs yoast,  seo ultimate vs yoast. I shortlised the best ever wordpress seo plugin which are really useful for every wordpress developers. If you have doubts about wordpress SEO then you can write to me.

add wordpress plugin header image in WordPress Plugins listing

WordPress tutorial for plugin developers, add wordpress plugin header image in WordPress Plugins listing page. wordpress is allowing to add header image. This is very old thing still I am bringing up again. From Jan 2012 wordpress is allowing to add the wordpress plugin header image in wordpress plugin listing.

add wordpress plugin header image in WordPress Plugins listing

After adding image to assets folder to SVN root. Plugin image will appear after half hour.

To add your own header image to your plugins, follow http://make.wordpress.org/core/2011/12/21/been-giving-a-lot-of-thought-to-how/ Matt’s instructions on the dev blog. Images must be 772 by 250 pixel JPEG or PNG files. And no animated GIFs, kids.

As an experiment we’ve turned on custom hThis is very old thing still I am bringing up again. From Jan 2012 wordpress is allowing to add the wordpress plugin header image in wordpress plugin listing.

After adding image to assests folder to SVN root. Plugin image will appear after half hour.

To add your own header image to your plugins, follow http://make.wordpress.org/core/2011/12/21/been-giving-a-lot-of-thought-to-how/ Matt’s instructions on the dev blog. Images must be 772 by 250 pixel JPEG or PNG files. And no animated GIFs, kids.

As an experiment we’ve turned on custom headers for the plugin directory. If you’d like to try out this feature:

Make a 772×250 pixel jpeg or png. (No animated GIFs. 🙂 )
Check it in to your plugin’s SVN directory with the path assets/banner-772×250.(jpg|

png). Note that the assets directory is added to your plugin’s root directory, not trunk.
On the next plugin directory refresh (every 15 minutes or so) you should see your image start showing up on the page.

eaders for the plugin directory. If you’d like to try out this feature:

Make a 772×250 pixel jpeg or png. (No animated GIFs. 🙂 )
Check it in to your plugin’s SVN directory with the path assets/banner-772×250.(jpg|

png). Note that the assets directory is added to your plugin’s root directory, not trunk.
On the next plugin directory refresh (every 15 minutes or so) you should see your image start showing up on the page.
add wordpress plugin header image in WordPress Plugins listing
add wordpress plugin header image in WordPress Plugins listing