WordPress Permalinks extremely slow on XAMPP web server

I have created a web server with XAMPP for a WordPress website. All works fine except for the custom permalinks. When the permalinks are set to default the page loads for 3-4 seconds. However, using custom permalinks takes up to 15 seconds for a page to load!

Is there a way to fix this? I need to use pretty permalinks because the SEO dropped drastically since I am using the default permalinks (?p=postId). Please note that the website has about 40 posts and 10 different categories.

I have already configured Apache to work with WordPress permalinks:

LoadModule rewrite_module modules/mod_rewrite.so

# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# Options FileInfo AuthConfig Limit
#
AllowOverride All

#
# Controls who can get stuff from this server.
#
Order allow,deny
Allow from all

Any help will be greatly appreciated!

Read more here: WordPress Permalinks extremely slow on XAMPP web server

Leave a Reply

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