Plugin Contributor
Maya
(@tdgu)
Hi,
This should work just fine, can you ensure the rewrites are still active on your server?
Thanks
Yes mode_rewrite is active on my server
Plugin Contributor
Maya
(@tdgu)
Hi,
Try the following, to ensure the rewrites are actually active:
- Add the following lines to your .htaccess file, on top of the file before anything else:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^rewrite_test/(.+) /wp-includes/$1 [L,QSA]
</IfModule>
- The above creates a rewrite for the /wp-includes/ folder, so the files should be accessible through the /rewrite_test/
- To test , access the url http://–domain–/rewrite_test/js/heartbeat.js where –domain– is your actual one. This should open the heartbeat.js file
Thanks
When I run in ssh sudo a2enmod rewrite server say Module rewrite already enabled
Plugin Contributor
Maya
(@tdgu)
Hi,
Possibly your Apache configuration is set, so the system do not parse any custom rewrites in .htaccess file. Can you check if AllowOverride is set to All?
Thanks