Add rewrite endpoint and .htaccess

https://xxxx.com/informe-calculadora/1/[email protected]&id=610 Redirect 301 /wp-content/plugins/custom-plugin/public/partials/informe.php /informe-calculadora/$1 The $1 “backreference” at the end of the target URL is in error (the Redirect directive does not support regex in which backreferences can be captured). This will likely be seen as literal text, which would explain the erroneous 1 at the end of the target URL (the $ is … Read more

How do I change my WordPress website’s address or URL?

The easiest way is to use search and replace for wordpress databases Then you should do a 301 redirect the old domain to the new domain to keep visitors and indexed in Google. RewriteEngine On RewriteCond %{HTTP_HOST} !^old-domain\.com [NC] RewriteRule (.*) http://new-domain.com/$1 [R=301,L] I hope I’ve helped you with my answer.