CompressX
  • Home
  • User Guide
  • My account
  • Cart
  • Pricing
Select Page

How To

3
  • Config Apache .htaccess Rules
  • Config Nginx .htaccess Rules
  • TroubleShooting

CompressX Free

1
  • CompressX: Free

Thumbnails Regen

1
  • Thumbnails Regeneration

WP-CLI Support

1
  • WP-CLI Support

Roles & Capabilities

1
  • Roles & Capabilities

CDN Integration

1
  • CDN Integration

Advanced Settings

1
  • Cron

Watermark

1
  • Watermark

Wordpress MU Support

1
  • WordPress MU Support
View Categories
  • Home
  • Documentations
  • How To
  • Config Apache .htaccess Rules

Config Apache .htaccess Rules

< 1 min read

Description #

CompressX works seamlessly with most Apache servers. If you get a rewrite rules error, follow these steps to ensure the CompressX plugin functions properly:

How to Configure Apache .htaccess #

1. Connect to Apache #

Establish an SSH connection to your website. You can do that using an SSH client like PuTTY.

2. Access Configuration Directory #

Use the following command to open the Apache configuration directory for your website. Make sure to replace example.com with your own domain:

nano /etc/apache2/sites-available/example.com.conf

3. Set AllowOverride to All #

Locate the line containing <Directory /var/www/> within the configuration file.

Find the directive AllowOverride None within this section.

Set AllowOverride None to AllowOverride All.

Apache configruation for CompressX

4. Save and Close the File #

Once you’ve made the change, save and exit the file using these key combinations:

  • Press Ctrl + X to exit the editor.
  • Type y and press Enter to confirm saving changes.

5. Restart Apache Server #

Execute this command to restart the Apache service:

service apache2 restart

Done. CompressX should now be working properly on your Apache server.

If you have any issues or questions, please feel free to contact us.

Updated on February 25, 2025
Config Nginx .htaccess Rules
Table of Contents
  • Description
  • How to Configure Apache .htaccess
    • 1. Connect to Apache
    • 2. Access Configuration Directory
    • 3. Set AllowOverride to All
    • 4. Save and Close the File
    • 5. Restart Apache Server

Our Plugins

  • CompressX Free
  • WPvivid Backup & Migration Free
  • WPvivid Staging Pro
  • WPvivid Database Merging
  • WPvivid Extension for MainWP

CompressX is a product created by WPvivid. It enables you to easily convert JPG/PNG images to WebP and AVIF, and compress WebP and AVIF.
If you have any questions, please contact us.

Pages

  • Contact Us
VPSrobots Inc - US registered company. Privacy Policy | Terms of Service
Loading...

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.