<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Duy Nguyen</title>
    <description>The latest articles on DEV Community by Duy Nguyen (@duynkvn).</description>
    <link>https://dev.to/duynkvn</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F593459%2F6a6b265b-fd4f-4536-af74-0eab3c84ca5b.jpg</url>
      <title>DEV Community: Duy Nguyen</title>
      <link>https://dev.to/duynkvn</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/duynkvn"/>
    <language>en</language>
    <item>
      <title>Someone hack my Wordpress site!</title>
      <dc:creator>Duy Nguyen</dc:creator>
      <pubDate>Mon, 15 Mar 2021 03:25:41 +0000</pubDate>
      <link>https://dev.to/duynkvn/someone-hack-my-wordpress-site-13ck</link>
      <guid>https://dev.to/duynkvn/someone-hack-my-wordpress-site-13ck</guid>
      <description>&lt;p&gt;My server was hacked by someone on the Internet last week and I didn't notice about this. When I randomly visit my customer's WordPress website, it redirects to a page that I don't know. I realize that they were hacked.&lt;/p&gt;

&lt;p&gt;I checked the source code and found there was a problem with my Laravel source (deployed a year ago and not maintained anymore). The package which causes the bug is 'facade/ignition'.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--6AKfvTD8--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9ot62hrzplejjf3lozpp.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--6AKfvTD8--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9ot62hrzplejjf3lozpp.png" alt="Facade/ignition"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;After hours of searching, I found a simple solution that I missed when deploying to production. Here is the install command that fixed my error.&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;&lt;code&gt;composer install --no-dev --optimize-autoloader&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;Thank you for reading.&lt;/p&gt;

</description>
      <category>laravel</category>
      <category>wordpress</category>
    </item>
  </channel>
</rss>
