.htaccess simple redirect question
I want to set up a link on my wordpress site to redirect all incoming traffic to a (non-existent) url, so it goes to a real url.
I want to do this with a .htaccess file.
How do I do it and is there a log I can view when testing it?
What you want is not a redirect. You want a "rewrite". Check out the documentation for mod_rewrite:
The last url in the list talks about how to log mod_rewrite actions.
Why wouldn't a simple "redirect 301 " do the job?
I'm assuming myproduct is a placeholder…