Professional SEO Logo

 

>> Client Login

Email:
Password:
Home Services Contact Us Portfolio Mission Search Site Blog  
                 

April 26, 2012

Improving Word Press page load speed

Filed under: SEO and SEM,Wordpress Tips and Tricks — rossm @ 1:35 pm

With each new Google ranking algorithm update - it's becoming increasingly important to optimize websites for page load times.  Wordpress websites, especially pages using a lot of plugins, can be notoriously slow.  Luckily, there's a few tweaks you can do to help speed things up.

To improve the Page Loading metric, especially on Word Press sites, sometimes the "Keep-Alive" setting should be enabled or improved.

In the php.ini configuration file you can change the following to improve the "Keep-Alive" connections.

increase word press page loading

Change:

; Default timeout for socket based streams (seconds)
default_socket_timeout = 60

to:

; Default timeout for socket based streams (seconds)
default_socket_timeout = 600

Instead of changing the default settings of the php.ini file, one can also use the ini_set() function which can be defined within the PHP page code. All you do is change it to a really long amount of seconds, at least 600 seconds and the connection will not close, when trying web page send/recv commands.

ini_set( 'default_socket_timeout', 600);

April 25, 2012

Restricting WordPress Plugins Access Levels

Filed under: Wordpress Tips and Tricks — Eric @ 9:46 pm
If you are handing off your wordpress sites to clients and giving access as an editor login, you might want to think about restricting access to some of your plugins and plugin settings. One such plugin called 'Hana Code' has overly lacks security and potentially allows a client to change code entries or worse inject new PHP code into the site. If the client doesn't know what they are doing this could be devastating to the site.
So for example the Hana Code plugin could be modified so it would not be accessible to logins below an administrator level.
Change line 109 of 'hana-code-insert.php' file.

add_options_page($this->admin_setting_title,$this->admin_setting_menu, 1, __FILE__,array(&$this,'hana_code_options_page'));

To:

add_options_page($this->admin_setting_title,$this->admin_setting_menu, 8, __FILE__,array(&$this,'hana_code_options_page'));

Note the only change would raising the access level number from '1' to '8'.
You can potentially make this modification on other WordPress plugins as well. We did a simple content search of our wordpress files for the string "add_options_page(". Below are some of the results we found.
Then in the array line of code you could look for the following ", <a number>, __FILE__,"
If you see something like ", 1, __FILE__," you might want to change the 1 to an 8 which would only allow Admistrators or higher access to the Plugin settings.
Hope this was helpful for everyone.

April 19, 2012

WordPress Visual Editor Not Working?

Filed under: Wordpress Tips and Tricks — rossm @ 1:40 pm

The more time you spend with WordPress, the more likely it is that you'll run into an instance of the visual editor not working.  While it's possible to make all the necessary changes to your page in the html editor - the fix is easy enough there isn't any reason not to do it.

If you're looking to restore functionality to the visual editor, just follow these steps:

  • Connect to your ftp
  • Download (and backup) your wp-config.php and add this line of code at the bottom of the file before the “require_once” line.
    define('CONCATENATE_SCRIPTS', false );
  • Save. Upload the new wp-config.php to your ftp. Now refresh your wordpress page and you should see the Visual Editor now.