Support » Fixing WordPress » External redirect
6 years, 1 month ago
I try to add a dynamic redirect rule  inside wordpress in order to do that :
http://myblog.com/goto/http://externaldomain.com => http://externaldomain.com
Do you have any advice? Inside the function.php or hardcode in the htaccess file?
Mark jaquith’s page links to plugin might help, but you won’t be able to use the second http:// in the path
Thanks I use this plugin for “static” redirect and it works fine, but in this case I don’t know what would be http://externaldomain.com so I must write a dynamic redirect rule….
>>>Inside the function.php or hardcode in the htaccess file?
htaccess better – NO php code executed; redirect gets done at server level.