In the following you will find a typical. htaccess file for an average WordPress installation, which I am in charge of as administrator. Beside the standard code block which WordPress automatically inserts to produce permalinks I have added some more code blocks.
In the first place you will find the code that is necessary when changing your website from http to https. This block should be before the code block of WordPress
Under the standard block of WP there are two specifications that greatly increase the security of WP.
This is followed by two snippets of code, which greatly increase the performance of the website.
Last but not least, you will find a snippet to help with PHP memory problems.
The single code snippets are commented in detail and you can easily remove the blocks you don't need.
The information in this. htaccess file is reduced to the minimum necessary and is based on many years of practical experience.
[Additional proof of work in the readme.md]
Posted on Utopian.io - Rewarding Open Source Contributors
Thank you for the contribution. It has been approved.
Nice, this can be really helpful for wordpress maintainers. Would it make sense to bring some of these changes to the cordpress core?
You can contact us on Discord.
[utopian-moderator]
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thank you @reggaemuffin.
This would be less the case, because the usage scenarios for the code examples are far too specific.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Would it be possible to add this to wordpress documentation as tips and ticks?
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
yes, that would make sense.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Just as a suggestion for a future contribution :)
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
OK. :-)
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
You are my heros. Broather thanks for codes and help
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Hey @vladimir-simovic I am @utopian-io. I have just upvoted you!
Achievements
Community-Driven Witness!
I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!
Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit