افزایش امنیت در وردپرس با استفاده از wp-includes
یکی از راه های افزایش امنیت محدودیت کاربران برای دسترسی به اسکریپت هایی است که قاعدتاً ربطی به آنها ندارد می باشد. یکی از راه ها استفاده از mod_rewrite است که به کمک آن می توانید مانع از استفاده از این اسکریپت ها شوید همانطور که می دانید این مود در فایل .htaccess باید اضافه شود. مانند آنچه در زیر می بینید.
توجه برای اینکه مطمئن شوید ورد پرس این کد ها را با کد های دیگری جایگزین نمی کند می توانید آنها را خارج از تگ های
# BEGIN WordPress
# END WordPress
قرار دهید. چون ورد پرس می تواند هر چیزی را که در فایل htaccess قرار دارد و بین این تگ ها قرار گرفته باشد پاک یا اصلاح کند.
# Block the include-only files.
RewriteEngine On
RewriteBase /
RewriteRule ^wp-admin/includes/ - [F,L]
RewriteRule !^wp-inclu.............
موضوعات مرتبط: درس سی و پنجم افزایش امنیت در وردپرس با استفاده از wp-includes ، ،
برچسبها:
صفحه قبل 1 صفحه بعد



















