Thread Starter
jimii
(@jimii)
On a leap of faith I installed the basic module and all good but the WP Super Cache needed to have the mod-rewrite refreshed to have it properly activated.
Unlocked the htaccess – clicked link to wpsc but receive the message:
You must have BEGIN and END markers in ” domain address url here ” for the auto update to work. They look like this and surround the main WordPress mod_rewrite rules:
# BEGIN WordPress
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
# END WordPress
Refresh this page when you have updated your .htaccess file.
Do I insert the code above in the BPS htaccess file editor page – ? top or bottom? Is there something else I should be doing to this? thank you.
Thread Starter
jimii
(@jimii)
I believe I have resolved this myself, finding an article suggesting I ‘test’ the wp super cache – which i did with a matching result.
Although wpsc plugin still shows the ‘ mod rewrite unable to update” it seems that is not unusual. If i am incorrect on this please let me know – otherwise I’ll tag as resolved in 24hrs.
Plugin Author
AITpro
(@aitpro)
Oops it looks like you found an outdated error message that needs to be changed/corrected in BPS. The htaccess files no longer use BEGIN WordPress and END WordPress markers as of a few versions ago.
WP Super Cache htaccess cache code needs to be added to BPS Custom Code.
1. Copy the WPSC htaccess cache code to this BPS Custom Code text box: CUSTOM CODE TOP PHP/PHP.INI HANDLER/CACHE CODE
2. Click the Save Root Custom Code button.
3. Go to the BPS Security Modes page, click the Create secure.htaccess File AutoMagic button and activate Root folder BulletProof Mode.
Thread Starter
jimii
(@jimii)
thank you very much for this – all seems fine with BPS as before – however still see the ‘cannot update the mod rewrite’ showing up in WPSC.
When pasting the WPSC into the custom code box – i did not include the #begin WP and the #end WP that was below it (there were no code rules in between just the begin and end statements). Should I have included those? Possibly – even though nothing in there it would then allow WPSC to update the mod rewrite? (When “testing the cache” – it cleared just fine – same files – just the update ability seems off).
separate question on limiting log access will post new / separately. thank you again.
Plugin Author
AITpro
(@aitpro)
Just copy WPSC code to BPS Custom Code and do the Custom Code steps. If you need some additional visual help click the Custom Code Video tutorial link on the Custom Code page.