Home>

I want to redirect to a page from a page under the same domain of wordpress.
(Changed permalink setting of wordpress from custom structure to default.
Along with that, I want to transfer one page. )

[Example]
Transfer source url http://.com//
Transfer destination url http://.com/?page_id=

I wrote it in .htaccess but it does not transfer. (Editing from the wpx server management screen.)
I have read this question variously and corrected the description, but I do not forward it and I will ask you a question.

Applicable source code

Below is the full text of .htaccess. First, I added the transfer code.
Domains and urls are closed with .
If there is a mistake, I would like to ask a professor.

<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^/$https://.com/?page_id= [L,R=301]
</IfModule>
# BEGIN Redirect to https
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{ENV:HTTPS} !on
RewriteCond %{HTTP:X-Forwarded-Proto} http
RewriteRule ^(.*)$https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
</IfModule>
# END Redirect to https
#SITEGUARD_PLUGIN_SETTINGS_START
#SITEGUARD_PLUGIN_SETTINGS_END
# BEGIN WordPress
The directives (lines) from # `BEGIN WordPress` to `END WordPress` are
# Dynamically generated and can only be modified by WordPress filters.
# Any changes to the directives between these markers will be overwritten.
# END WordPress
What I tried

After writing .htaccess, access from device without cache, check for conflicting htaccess, remove redirect plugin.

Supplemental information (FW/tool ​​version, etc.)

Server: wpx
wordpress version: latest 5.4.2