<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Wordpress on Janik von Rotz</title>
    <link>https://janikvonrotz.ch/tags/wordpress/</link>
    <description>Recent content in Wordpress on Janik von Rotz</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Sun, 08 Jul 2018 09:11:28 +0000</lastBuildDate>
    <atom:link href="https://janikvonrotz.ch/tags/wordpress/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Another Wordpress to Hugo migration</title>
      <link>https://janikvonrotz.ch/2018/07/08/another-wordpress-to-hugo-migration/</link>
      <pubDate>Sun, 08 Jul 2018 09:11:28 +0000</pubDate>
      <guid>https://janikvonrotz.ch/2018/07/08/another-wordpress-to-hugo-migration/</guid>
      <description>&lt;p&gt;Using Wordpress to run this blog has become an overkill. It was time to change. Static site generators, no database content management systems and JavaScript based tools make Wordpress an deprecated blogging platform. I had the idea of moving away from Wordpress for a while and decided to take a chance two weeks ago. This post is about the migration process and the design decisions made in preparation of the migration.&lt;/p&gt;&#xA;&lt;p&gt;From the title you can tell that I chose Hugo as my next CMS, but why Hugo? First of all, I only have had a look at Jekyll and Hugo. Jekyll is written in ruby and Hugo in go. To make it short and simple, Hugo does whatever Jekyll does, but based on newer technologies and a lot faster. And also remember it doesn&amp;rsquo;t really matter. Both Hugo and Jekyll use markdown files and have almost the same format to store posts and data. So no big difference except speed.&lt;/p&gt;</description>
    </item>
    <item>
      <title>WordPress checklist</title>
      <link>https://janikvonrotz.ch/2015/06/05/wordpress-checklist/</link>
      <pubDate>Fri, 05 Jun 2015 06:54:03 +0000</pubDate>
      <guid>https://janikvonrotz.ch/2015/06/05/wordpress-checklist/</guid>
      <description>&lt;p&gt;Simple todo list for new WordPress websites. I&amp;rsquo;ll use it whenever I have to setup a new WordPress site.&#xA;You&amp;rsquo;re welcome to contribute: &lt;a href=&#34;https://codeberg.org/janikvonrotz/wordpress-checklist&#34;&gt;https://codeberg.org/janikvonrotz/wordpress-checklist&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>Create WordPress admin user with sql only</title>
      <link>https://janikvonrotz.ch/2015/03/24/create-wordpress-admin-user-with-sql-only/</link>
      <pubDate>Tue, 24 Mar 2015 17:54:28 +0000</pubDate>
      <guid>https://janikvonrotz.ch/2015/03/24/create-wordpress-admin-user-with-sql-only/</guid>
      <description>&lt;p&gt;If you don&amp;rsquo;t have access to you WordPress website anymore, but still can update the MySQL database. You can easily add a new admin user with this sql script:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-sql&#34; data-lang=&#34;sql&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;USE &lt;span style=&#34;color:#f92672&#34;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;database&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;&amp;gt;&lt;/span&gt;;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt; &#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;SET&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;@&lt;/span&gt;username &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;&amp;lt;username&amp;gt;&amp;#39;&lt;/span&gt;;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;SET&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;@&lt;/span&gt;password &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; MD5(&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;&amp;lt;password&amp;gt;&amp;#39;&lt;/span&gt;);&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;SET&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;@&lt;/span&gt;fullname &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;&amp;lt;Firstname Lastname&amp;gt;&amp;#39;&lt;/span&gt;;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;SET&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;@&lt;/span&gt;email &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;&amp;lt;login@example.com&amp;gt;&amp;#39;&lt;/span&gt;;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;SET&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;@&lt;/span&gt;url &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;&amp;lt;http://example.com/&amp;gt;&amp;#39;&lt;/span&gt;;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt; &#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;INSERT&lt;/span&gt; &lt;span style=&#34;color:#66d9ef&#34;&gt;INTO&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;`&lt;/span&gt;wp_users&lt;span style=&#34;color:#f92672&#34;&gt;`&lt;/span&gt; (&lt;span style=&#34;color:#f92672&#34;&gt;`&lt;/span&gt;user_login&lt;span style=&#34;color:#f92672&#34;&gt;`&lt;/span&gt;, &lt;span style=&#34;color:#f92672&#34;&gt;`&lt;/span&gt;user_pass&lt;span style=&#34;color:#f92672&#34;&gt;`&lt;/span&gt;, &lt;span style=&#34;color:#f92672&#34;&gt;`&lt;/span&gt;user_nicename&lt;span style=&#34;color:#f92672&#34;&gt;`&lt;/span&gt;, &lt;span style=&#34;color:#f92672&#34;&gt;`&lt;/span&gt;user_email&lt;span style=&#34;color:#f92672&#34;&gt;`&lt;/span&gt;, &lt;span style=&#34;color:#f92672&#34;&gt;`&lt;/span&gt;user_url&lt;span style=&#34;color:#f92672&#34;&gt;`&lt;/span&gt;, &lt;span style=&#34;color:#f92672&#34;&gt;`&lt;/span&gt;user_registered&lt;span style=&#34;color:#f92672&#34;&gt;`&lt;/span&gt;, &lt;span style=&#34;color:#f92672&#34;&gt;`&lt;/span&gt;user_status&lt;span style=&#34;color:#f92672&#34;&gt;`&lt;/span&gt;, &lt;span style=&#34;color:#f92672&#34;&gt;`&lt;/span&gt;display_name&lt;span style=&#34;color:#f92672&#34;&gt;`&lt;/span&gt;) &lt;span style=&#34;color:#66d9ef&#34;&gt;VALUES&lt;/span&gt; (&lt;span style=&#34;color:#f92672&#34;&gt;@&lt;/span&gt;username, &lt;span style=&#34;color:#f92672&#34;&gt;@&lt;/span&gt;password, &lt;span style=&#34;color:#f92672&#34;&gt;@&lt;/span&gt;fullname, &lt;span style=&#34;color:#f92672&#34;&gt;@&lt;/span&gt;email, &lt;span style=&#34;color:#f92672&#34;&gt;@&lt;/span&gt;url, NOW(), &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;0&amp;#39;&lt;/span&gt;, &lt;span style=&#34;color:#f92672&#34;&gt;@&lt;/span&gt;fullname);&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt; &#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;SET&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;@&lt;/span&gt;userid &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; LAST_INSERT_ID();&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;INSERT&lt;/span&gt; &lt;span style=&#34;color:#66d9ef&#34;&gt;INTO&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;`&lt;/span&gt;wp_usermeta&lt;span style=&#34;color:#f92672&#34;&gt;`&lt;/span&gt; (&lt;span style=&#34;color:#f92672&#34;&gt;`&lt;/span&gt;user_id&lt;span style=&#34;color:#f92672&#34;&gt;`&lt;/span&gt;, &lt;span style=&#34;color:#f92672&#34;&gt;`&lt;/span&gt;meta_key&lt;span style=&#34;color:#f92672&#34;&gt;`&lt;/span&gt;, &lt;span style=&#34;color:#f92672&#34;&gt;`&lt;/span&gt;meta_value&lt;span style=&#34;color:#f92672&#34;&gt;`&lt;/span&gt;) &lt;span style=&#34;color:#66d9ef&#34;&gt;VALUES&lt;/span&gt; (&lt;span style=&#34;color:#f92672&#34;&gt;@&lt;/span&gt;userid, &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;wp_capabilities&amp;#39;&lt;/span&gt;, &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;a:1:{s:13:&amp;#34;administrator&amp;#34;;s:1:&amp;#34;1&amp;#34;;}&amp;#39;&lt;/span&gt;);&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;INSERT&lt;/span&gt; &lt;span style=&#34;color:#66d9ef&#34;&gt;INTO&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;`&lt;/span&gt;wp_usermeta&lt;span style=&#34;color:#f92672&#34;&gt;`&lt;/span&gt; (&lt;span style=&#34;color:#f92672&#34;&gt;`&lt;/span&gt;user_id&lt;span style=&#34;color:#f92672&#34;&gt;`&lt;/span&gt;, &lt;span style=&#34;color:#f92672&#34;&gt;`&lt;/span&gt;meta_key&lt;span style=&#34;color:#f92672&#34;&gt;`&lt;/span&gt;, &lt;span style=&#34;color:#f92672&#34;&gt;`&lt;/span&gt;meta_value&lt;span style=&#34;color:#f92672&#34;&gt;`&lt;/span&gt;) &lt;span style=&#34;color:#66d9ef&#34;&gt;VALUES&lt;/span&gt; (&lt;span style=&#34;color:#f92672&#34;&gt;@&lt;/span&gt;userid, &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;wp_user_level&amp;#39;&lt;/span&gt;, &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;10&amp;#39;&lt;/span&gt;);&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Get the latest version of this snippet here: &lt;a href=&#34;https://gist.github.com/25d9f243fc20532cb1b5&#34;&gt;https://gist.github.com/25d9f243fc20532cb1b5&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>Manage multiple WordPress sites with Jetpack</title>
      <link>https://janikvonrotz.ch/2014/12/19/manage-multiple-wordpress-sites-with-jetpack/</link>
      <pubDate>Fri, 19 Dec 2014 12:05:02 +0000</pubDate>
      <guid>https://janikvonrotz.ch/2014/12/19/manage-multiple-wordpress-sites-with-jetpack/</guid>
      <description>&lt;p&gt;Hurray, WordPress 4.1 and the Jetpack Plugin 3.3 has been released.&#xA;Jetpack is a must have plugin for your WordPress site, it offers tons of new functions and integrates your blog neatly with your Wordpress.com account. If you haven&amp;rsquo;t already installed it, head right now to your plugin manager!&#xA;With the last Update the developer have added a great feature. It&amp;rsquo;s now possible to manage the plugins for multiple Wordpress sites at one location.&#xA;Here&amp;rsquo;s a screenshot, which shows the plugins admin panel of Wordpress.com.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Disable WordPress plugins manually</title>
      <link>https://janikvonrotz.ch/2014/04/29/disable-wordpress-plugins-manually/</link>
      <pubDate>Tue, 29 Apr 2014 08:05:06 +0000</pubDate>
      <guid>https://janikvonrotz.ch/2014/04/29/disable-wordpress-plugins-manually/</guid>
      <description>&lt;p&gt;With the WordPress 3.9 Update I also received several plugin updates for my blogs.&lt;/p&gt;&#xA;&lt;p&gt;One Update was for WP-Piwik. As I&amp;rsquo;ve updated the plugin I got several errors and the site become unreachable.&lt;/p&gt;&#xA;&lt;p&gt;So the only way the to disable this malicious plugin was either via ftp or with phpMyAdmin.&lt;/p&gt;&#xA;&lt;p&gt;I&amp;rsquo;ve decided to do it with phpMyAdmin.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Install WPScan</title>
      <link>https://janikvonrotz.ch/2014/04/29/install-wpscan/</link>
      <pubDate>Tue, 29 Apr 2014 07:10:57 +0000</pubDate>
      <guid>https://janikvonrotz.ch/2014/04/29/install-wpscan/</guid>
      <description>&lt;p&gt;&lt;em&gt;This post is part of my &lt;a href=&#34;https://janikvonrotz.ch/your-own-virtual-private-server-hosting-solution/&#34;&gt;Your own Virtual Private Server hosting solution&lt;/a&gt; project.&lt;/em&gt;&lt;br&gt;&#xA;&lt;em&gt;Get the latest version of this article here: &lt;a href=&#34;https://gist.github.com/11214650&#34;&gt;https://gist.github.com/11214650&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;&#xA;&lt;h1 id=&#34;introduction&#34;&gt;Introduction&lt;/h1&gt;&#xA;&lt;p&gt;WPScan is a black box WordPress vulnerability scanner.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Migrate WordPress website</title>
      <link>https://janikvonrotz.ch/2014/04/16/migrate-wordpress-website/</link>
      <pubDate>Wed, 16 Apr 2014 07:44:47 +0000</pubDate>
      <guid>https://janikvonrotz.ch/2014/04/16/migrate-wordpress-website/</guid>
      <description>&lt;p&gt;&lt;em&gt;This post is part of my &lt;a href=&#34;https://janikvonrotz.ch/your-own-virtual-private-server-hosting-solution/&#34;&gt;Your own Virtual Private Server hosting solution&lt;/a&gt; project.&lt;/em&gt;&lt;br&gt;&#xA;&lt;em&gt;Get the latest version of this article here: &lt;a href=&#34;https://gist.github.com/9409150&#34;&gt;https://gist.github.com/9409150&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;&#xA;&lt;h1 id=&#34;introduction&#34;&gt;Introduction&lt;/h1&gt;&#xA;&lt;p&gt;This guide assumes that you&amp;rsquo;re going to migrate a WordPress website from one server to an other.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Install WordPress website</title>
      <link>https://janikvonrotz.ch/2014/04/15/install-wordpress-website/</link>
      <pubDate>Tue, 15 Apr 2014 07:00:32 +0000</pubDate>
      <guid>https://janikvonrotz.ch/2014/04/15/install-wordpress-website/</guid>
      <description>&lt;p&gt;&lt;em&gt;This post is part of my &lt;a href=&#34;https://janikvonrotz.ch/your-own-virtual-private-server-hosting-solution/&#34;&gt;Your own Virtual Private Server hosting solution&lt;/a&gt; project.&lt;/em&gt;&lt;br&gt;&#xA;&lt;em&gt;Get the latest version of this article here: &lt;a href=&#34;https://gist.github.com/9408580&#34;&gt;https://gist.github.com/9408580&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;&#xA;&lt;h1 id=&#34;introduction&#34;&gt;Introduction&lt;/h1&gt;&#xA;&lt;p&gt;WordPress is web software you can use to create a beautiful website or blog.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Disable Trackbacks and Pingbacks in WordPress</title>
      <link>https://janikvonrotz.ch/2014/02/27/disable-trackbacks-and-pingbacks-in-wordpress/</link>
      <pubDate>Thu, 27 Feb 2014 08:24:50 +0000</pubDate>
      <guid>https://janikvonrotz.ch/2014/02/27/disable-trackbacks-and-pingbacks-in-wordpress/</guid>
      <description>&lt;p&gt;Trackbacks and Pingbacks can be abused for spam and even &lt;a href=&#34;https://krebsonsecurity.com/2014/03/blogs-of-war-dont-be-cannon-fodder/&#34; title=&#34;DDOS attacks&#34;&gt;DDOS attacks&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;header&gt;To disable trackbacks and pingbacks completely on WordPress, do the following:&#xA;&lt;/header&gt;&#xA;&lt;div&gt;&#xA;&lt;h1&gt;Disable for new posts&lt;/h1&gt;&#xA;Uncheck the following setting:&#xA;&lt;p&gt;Settings&amp;gt;Discussion&amp;gt;Allow link notifications from other blogs (pingbacks and trackbacks)&lt;/p&gt;</description>
    </item>
    <item>
      <title>Update Url within WordPress Post Content</title>
      <link>https://janikvonrotz.ch/2014/02/10/update-url-within-wordpress-post-content/</link>
      <pubDate>Mon, 10 Feb 2014 13:06:55 +0000</pubDate>
      <guid>https://janikvonrotz.ch/2014/02/10/update-url-within-wordpress-post-content/</guid>
      <description>&lt;p&gt;Recently I&amp;rsquo;ve change the url for one of my GitHub projects.&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;    &lt;li&gt;Old: https://codeberg.org/janikvonrotz/PowerShell-&lt;strong&gt;Profile&lt;/strong&gt;&lt;/li&gt;&#xA;    &lt;li&gt;New: https://codeberg.org/janikvonrotz/PowerShell-&lt;strong&gt;PowerUp&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;As you might know, I&amp;rsquo;ve used this url in several posts.&#xA;&lt;span style=&#34;line-height: 1.5;&#34;&gt;In order to make this obsolete links I have to replace them in every posts.&lt;/span&gt;&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
