Skip to content
  • Analytics
  • Tag Manager
  • PPC
  • SEO
  • Directories
  • News
  • Write for us
  • Contact
gtm ga4 seo ppc consultant

seo mileage

marketing + analytics

  • Services
    • SEO Services
    • Digital Marketing
    • GTM & GA4
  • Glossary
  • Classified Home
  • Add Listing
  • Toggle search form
How to fix WordPress permalinks on Google Cloud

How to fix WordPress permalinks on Google Cloud

Posted on August 11, 2019September 25, 2024 By seomileage No Comments on How to fix WordPress permalinks on Google Cloud

1. Give Yourself Permission

If you are new to google cloud then maybe you have not given permission to yourself to edit these files.

Go to Compute Engine > VM Instances >

Select the instance and click on SHOW INFO PANEL button

Now click on “Add members” button and add yourself here.

2. Enable mod_rewrite in Apache

This can be done by going through Compute Engine>VM Instances > and to the far right on the line will be SSH. Click it and select “Open in Browser window” it will take you securely inside a command line interface. Now run this command:

sudo a2enmod rewrite

3. Enable Apache AllowOverride

Use this command to modify the file:

sudonano /etc/apache2/apache2.conf

Once you’re in there, find the right spot and change it(you may find this code by moving the cursor down by 50 lines or more…)

<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride ALL <—-(edit from none)
Require all granted
</Directory>

After you’ve made that change(Replace NONE with ALL), make sure to restart the server by running this command:

sudo service apache2 restart

4. Your are done now, your .htaccess file should work.

Now go for permalink changes in WordPress, it will work.

Wordpress Tags:permalink on google cloud

Post navigation

Previous Post: Smart SEO tips for the Bloggers
Next Post: Improving E-commerce Strategy

Related Posts

how to create child theme How to Create a Child Theme in WordPress: A Step-by-Step Guide Wordpress
contact form 7 tracking gtm Contact Form 7 Tracking with Google Tag Manager Analytics

Leave a Reply Cancel reply

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

seo blog

Marketing + Analytics Tips to help you achieve your Digital Marketing Goals!

Copyright © 2025 seo mileage.

Powered by PressBook Grid Dark theme