I would like to use SiteGuard WP Plugin in WordPress.
It seems that mod_rewrite cannot be used in EC2 of AWS, and the ability to change the login page is not available.
If mod_rewrite does not work in AWS
Now that I have found the article above, I have executed the commands in the article over the SSH connection.
sudo vi/etc/httpd/conf/httpd.conf
However, there seems to be no file, so a new file has been created.
I entered :q
and did not save it, so the file is not ready.
I am using WordPress installed on EC2 of AWS.
Is this file called httpd.conf somewhere else?
Excuse me. Please tell me.Please.
XY problem.Please clarify the facts you have confirmed and what you have guessed from them and think carefully about what to solve.
Mod_rewrite doesn't seem to work
However, since the Access An Application Using Only A Single Domain With Apache document uses mod_rewrite, it is highly likely that it will not work.Also, List Installed Apache Modules explains how to get a list of modules.Make sure your guess is correct.
sudo/opt/bitnami/apache2/bin/apachectl-M
Cannot use the ability to change login page
Isn't this the problem you want to solve?
2014-10-27 Plug-in WordPress HTTPS (SSL) Guidelines says
The plug-in WordPress HTTPS (SSL) [wordpress-https] and SiteGuard WP Plugin Login Change feature are not available at the same time.
In addition to WordPress HTTPS (SSL), plug-ins that change login-related settings may not work with SiteGuard WP Plugin.
is described as .Why don't you check your environment?
As Sayuri commented, I can't say for sure without environmental information, but please refer to how to check the following.
Is this file called httpd.conf somewhere else?
Run httpd-V
to get the httpd build parameters.
Among them, SERVER_CONFIG_FILE
is the path to the default configuration file (httpd.conf).
If SERVER_CONFIG_FILE
is listed as a relative path, it should be a relative path from HTTPD_ROOT
.
*You can also use a different location configuration file with the boot option, so it is not always in the above path, but I think it is one way to check it first.
Thank you, everyone.
sudo vi /opt/bitnami/apache2/conf/httpd.conf
In , we have revised the part that is written in the article on the following site to be corrected.
https://yasigani-ni.com/php/aws%E3%81%A7mod_rewrite%E3%81%8C%E5%8A%B9%E3%81%8B%E3%81%AA%E3%81%84%E5%A0%B4%E5%90%88/
AWS has learned that .htaccess is disabled.
https://qiita.com/hnagao/items/b7b35ad01a8ba8a42548
Therefore, based on the following article,
http://kzhishu.hatenablog.jp/entry/2015/12/07/090000
sudo vi/opt/bitnami/apps/wordpress/conf/htaccess.conf
Corrected in .
RewriteRule^login_xxxx(.*)$wp-login.php$1[L]
Added description of .
login_xxxxxx is an example.
You are now able to change your login page.
© 2024 OneMinuteCode. All rights reserved.