Permalink issue after wordpress migration to GCP (Google Cloud Platform)

One normal issue of WordPress migration from shared hosting to Google Cloud Platform VM is the broken permalink of WordPress entries. Just a quick fix for those who are looking (yeah I got this from Google too!):

Edit /etc/apache2/apache2.conf

Change from:

Options Indexes FollowSymLinks
AllowOverride None
Require all granted


Options Indexes FollowSymLinks
AllowOverride all
Require all granted

Change .htaccess mod to 644, and restart the apache:

service restart apache2

Dear fellow Malaysians, if you like the content of this blog and thinking about to support me to continue writing good content, please consider to sign up for Takaful service from me. I am offering life & accidental coverage plans and medical card too. Kindly message me using the PM box on the sidebar (under profile picture). Thanks ;)

Leave a Reply

Your email address will not be published. Required fields are marked *