Webmaster Blog

Webmaster Resources

WinSCP: Define a shell - sudo

One of the tools I recommend to edit the files on your server (instead of editing them directly via SSH) is WinSCP.
A necessary step if you set the crucial setting “PermitRootLogin = yes” in your ssh.conf is to switch to a specific user while loggin on. To do that you can define a shell with the following command:

 

sudo su - "user"

 

I’m going to post a screenshot of this if it requires a detailed explanation, but you should be able to find the option in the advanced menu.

Wordpress: Importing large XML files

In order to import large XML files you will have to make sure that the following settings are set in your PHP.ini :

max_filesize_upload Default : 2M -> increase to 10M or larger

That is the size that is displayed close to the submit button on the import page.
In order to get it running you should also check your settings for memory_limit and max_execution_time. The first one is the setting for the amount of memory a script can handle and the latter one the maximum time for transactions. If the import takes too long it might get cancel’d because of that setting.

IE wont send referrer via javascript

Bug: IE won’t send the referrer if you use javascript to open a new window, firefox will.

Solution:
Nathanm.com

Trailing Slash and SEO URL’s

I noticed that there is a small bug in Wordpress 2.3 if you are using seo friendly url’s.
The “Trackback” and “Subscribe to the comments feed” links on the single.php have two slashs at the end and return a 404 page.
If you want to fix that open: /wp-includes/link-template.php
Find “get_post_comments_feed_link” and remove “trailingslashit(” as well as the closing round bracket after “($post_id)”.

Position:absolute different in FirefoX and IE?

Well a lot of people don’t know that the body tag has different values in each browser.
That’s why sometimes absolute objects have different positions in IE and Firefox.
To fix it simply add margin:0; padding:0; to your body tag via CSS.

Website Loading Speed Optimization

If you want to optimize your website loading speed I can recommend you the following
site: Websiteoptimization.com
Analyzing your site will help you to understand why certain parts might load slowly.

Page 1 of 41234»