Home>
Let Response= Await Fetch ("<
?= Home_URL ('/WP-CONTENT /THEMES /BLABLA /PAGES /BUSINESS /SENDMAIL.PHP')? >
", {
        Method: 'Post',
        Body: FormData.
});

Trying to contact this file, but instead of "/blabla/business/sendmail.php" it goes into "BLABLA /BUSINESS /? NAME= 1 & Type= 1 & Phone= & email= & title= & Description= # "Why so?

Apparently problem in WordPress routing?

Алексей Шиманский2021-08-01 13:27:11

And what returns the home_url itself in the current code?

Алексей Шиманский2021-08-01 13:27:42

Wange that sendmail.php does redirect

Alexey Ten2021-08-01 13:33:34