plugins – Is it possible to add permalink when using wp_insert_post?

Question

I am moving articles from Blogger to WordPress, when uploading, the date part of the link is changed

for example

this my old link

https://www.example.org/2020/04/modakirate-mahboudi-khaled-2am.html

when upload post i get this link

https://www.example.org/2022/01/modakirate-mahboudi-khaled-2am.html

Is there a way to specify the full link when using

wp_insert_post($post);

to forced add /2020/04/modakirate-mahboudi-khaled-2am.html

to permalink

0
jimi-del 1 month 2022-10-21T11:14:45-05:00 0 Answers 0 views 0

Leave an answer

Browse
Browse