Hackviking He killed Chuck Norris, he ruled dancing so he took up a new hobby…

9Jan/150

Webmatrix 3: Access dev site from other device

Webmatrix 3 Loggo

Webmatrix 3 is a free tool by Microsoft for web development. It supports a range of languages, frameworks and CMS like WordPress for instance. It automates the process of installing frameworks, compilers and database backends. It will quickly setup a development environment on your computer so you can start develop. Lately I have been using it to create a new responsive theme for this website. It works out of the box for testing on localhost but not everybody is running 1080p monitors and I need to test on my phone, tablet and laptop as well. Out of the box it doesn't support this but here is how you set it up.
Continue reading...

25Nov/140

WordPress Download Manager 2.7.3 problems

I have been using WordPress Download Manager for a long while. I have never been happy with it but the latest update just makes me cry! If you haven't upgraded yet, don't do it! If you already upgraded you probably ran into the same problems I did.

All downloads gone - You have to go into the "Settings" page and migrate all your download packages.

All download icons are gone -Nothing more to do then go into each and every package and select a new icon.

Short codes like [wpdm_tree] doesn't work anymore - From now on you have to use a plugin, WPDM Extended Short-codes, for this. It isn't available in the plugin repository. You have to download it and install it manually.

All the links to your download list generated by [wpdm_tree] returns 404 Not found - This is true for both migrated downloads as well as new ones. This is probably because the new version uses custom post type instead of linking to the actual file. It works fine in preview but doesn't work live. This probebly has to do with permalink structures and so on, obviously not tested properly before release. I figures out that I had a regular post for each download with the link at the bottom so I just edited the permalink for each download to the same slug as that page. The result is that the user is sent to the post with the download link at the bottom that actually works.

I have been thinking about founding a new solution for my downloads for a while and now that time table was just pushed up! I hope some of this information helps you get through some of the problems.

4Nov/142

Unable to connect Jetpack – SSL error

Your website needs to be publicly accessible to use Jetpack: site_inaccessible
Error Details: The Jetpack server was unable to communicate with your site https://www.hackviking.com [IXR -32300: transport error: http_request_failed SSL certificate problem: unable to get local issuer certificate]

If you receive the error message above when trying to connect jetpack for you WordPress site there is a small problem with your SSL certificate. This is because the wordpress.com server are unable to verify your SSL certificate chain. Your certificate is signed with an intermediate certificate from your supplier. Your server should supply that intermediate  certificate but if it doesn't your browser already have the mayor intermediate certificates and can solve this issue it self. However wordpress.com can not take care of this if your server doesn't supply the intermediate certificate package.

To solve this you should install the intermediate certificate package supplied by your CA on the server. If you don't have that kind of access to the server there is a work around to get jetpack up and running.

In your wp-config.php find

define('FORCE_SSL_ADMIN', true);

and replace it with

define('FORCE_SSL_ADMIN', false);

Make sure you log in to the /wp-admin without https and then connect jetpack to wordpress.com. Now you can change the FORCE_SSL_ADMIN line back to true and it will all work.

23Sep/143

Pros and cons with WordPress on Google App Engine

Running WordPress on Google App Engine is possible but different from any other hosting you ever used. Stability and performance are really great but it comes at the price of flexibility. In return you get a highly scalable and robust solution for your website. After running a few months on Google App Engine platform I switched again and in this article I will tell you why.

Continue reading...

22Sep/140

SEO impacted by structured data

Structured data helps Google Bot and other web crawlers to understand and interpret your data. By tagging your data with structured data tags like MicroFormats h-entry Google can index all relevant information. The tags also affects your search appearance, i.e. what your site looks like in the Google search results. You can also be sure that this will effect your page rank!

Continue reading...

30Jun/140

Migrate WordPress to Google App Engine

Wordpress on Google App Engine

Why not run WordPress on Google App Engine? You will get performance and stability while only paying for the resources you actually use. Reading the official Google tutorial "Running WordPress in App Engine" it gives you a fare idea what you are in for. But if you want to migrate a currently running site then you have to do some tweaking. So here is a run down on how to do it!

Continue reading...