I have changed my blog url. (I know .htaccess can do this)
RewriteEngine on
RewriteRule (.*) http://my-new-website.com/$1 [R=301]
but I can't use .htaccess now (personal reasons.. I can use only PHP now)
I want to use a PHP code to do that.
I want to redirect
http://my-old-website.com/v/test/new.html
To
http://my-new-website.com/v/test/new.html
I have searched a lot online, and looked for more similar questions on stackoverflow, but I didn't find any question like this