I have a bunch of listings in google for a domain I bought.
Like domain.com/forumdisplay.php?f=3434 blah blah
How can I get these old extensions to redirect to a certain domain name. I want all of the ones in google, instead of being 404, to forward to a domain name I have. And I want to use 301 redirect, not 404 redirects. I also nee www, and non www to redirect to the www of this other domain.
I can use the general cpanel redirect for the main domain, and for the file urls that would be 404, i can use the ErrorDocument 404 command in htaccess to forward to the other domain, but when checking server headers, they are 302 redirects. Any way to make them 301?