plugin development – Sub domain redirecting to main domain in wordpress


I am using AWS hosting and have created a subdomain. I have added all the files but still, my subdomain is redirecting to the main domain.

I have tried the option below

  1. I have checked the server configuration file which is perfectly redirecting.

  2. I have updated siteurl and homeurl in database wp_option table
    with my subdomain.

  3. I have renamed my wp-content folder but it still redirects to the main domain.

  4. .htaccess file deleted

I have removed WordPress files and added only index.php files then it’s not redirecting.

enter image description here

Any idea what the issue is? I am not able to open the admin panel.

what is the more option I have to try?

Naren Verma 5 months 2023-07-09T09:29:09-05:00 0 Answers 0 views 0

Leave an answer