Закрыть wp-admin
Есть сайт на вордпресс, как закрыть wp-admin, а вместо него сделать что-то вроде adminka.
wp-admin - при переходе чтобы выдавало ошибку допустим 404
adminka - работало как было wp-admin
Пробовал разные решение, но возникают проблемы с активацией некоторых плагинов. А бывало проблемы с активацией + еще wp-admin было без изменений и было 2 адреса wp-admin и adminka и работали 2 некорректно.
Пробовал плагины. Ситуация та же, некорректно работает.
Заплачу за правильный совет, если все будет работать корректно.
-
1107 70 0 Здравствуйте!
Есть большой опыт с WordPress.
Сделаю и покажу как сделал.
Обращайтесь!
===>
-
601 2 0 https://uk.wordpress.org/plugins/better-wp-security/
перейти на вкладку: "Hide Login Area". установить флажок "Enable". в дополнительном поле вписать любое название.
-
1667 85 0 Здравствуйте, закрою админку, и подскажу как самому делать, имею опыт разработки плагинов и сайтов Wordpress
-
304 14 2 Сделаю или подскажу как сделать. Есть опыт в закрытии админки
-
1800 55 0 Напишите в ЛС - поясню. Напишите в ЛС - поясню. Напишите в ЛС - поясню.
-
1544 111 0 1 Здравствуйте, Игорь!
Помогу сделать, делал в проекте вход в админку через адрес /vhodzdes
-
Vitalii Y. Galaxy IT
правильный совет, а не сделать проверку на существование get запроса по типу ?fjasdqeipkvj342ndfalkajf
если да то wp-admin если нет то 404 -
закройте через .htaccess и сделайте доступным только для своего IP адреса, как-то так
RewriteCond %{REQUEST_URI} ^(.*)?wp-login\.php(.*)$ [OR]
RewriteCond %{REQUEST_URI} ^(.*)?wp-admin$
RewriteCond %{REMOTE_ADDR} !^1\.1\.1\.1$
RewriteRule ^(.*)$ - [R=403,L]
-
а да, нужно добавить исключение для "admin-ajax.php", которое использует фронт для ajax запросов
RewriteCond %{REQUEST_URI} !wp-admin/admin-ajax\.php$
-

Самый рабочий вариант в .htaccess добавить
AuthUserFile .htpasswd
AuthName "Private access"
AuthType Basic
<FilesMatch "wp-login.php">
Require valid-user
</FilesMatch>
Файл генерируете сдесь http://www.htaccesstools.com/htpasswd-generator/ и кидаете в корень сайта
И еще вот это
<Files "wp-login.php">
Order deny,allow
Deny from All
Allow from ВАШ IP
</Files>
И живете сибе спокойно
-
Current freelance projects in the category PHP
Development of a WordPress website
23 USD
We are looking for a contractor to develop a custom website on WordPress for a jewelry store. The first stage will be a consultation. Content Management Systems, PHP ∙ 1 day 5 hours back ∙ 59 proposals |
The WooCommerce cart (WordPress) is broken — it does not add products and the cart page does not open.On the website of the online store https://www.dobryi-gospodar.com/ (WordPress + WooCommerce), the checkout function has completely stopped working. When clicking the "Add to cart" button (both in the product card and in the catalog), a long loading process begins (the indicator… Content Management Systems, PHP ∙ 1 day 7 hours back ∙ 57 proposals |
Product search function by imageIt is necessary to develop and integrate a product search function by image on the website.What needs to be implementedA "Search by Photo" button on the website.Image upload by the user: JPG.Search for visually similar products in the catalog.Display results in the form of… PHP, Web Programming ∙ 1 day 15 hours back ∙ 44 proposals |
Parser expireddomains.net
113 USD
A parser is needed for expireddomains.net. You need to log in to the site first; the problem is that it blocks the IP when trying to parse data. You need to parse thematic domains based on a list of keywords. If you are not confident in your abilities, please do not write. PHP, Web Programming ∙ 3 days 14 hours back ∙ 51 proposals |
Integration of payment service with Sales Force
70 USD
There is a payment system widget on the site that needs to be integrated with Salesforce so that all required parameters are visible on the Salesforce side. It needs to be done in such a way that all payments and subscriptions are controlled through Salesforce. PHP, Web Programming ∙ 3 days 17 hours back ∙ 41 proposals |