Forum Moderators: phranque
They don't want to do an htaccess script, and instead they directed me to this page: [httpd.apache.org...]
Does the RedirectPermanent Directive work exactly like a 301 in the htaccess file?
And if so, can it be used for mulitple pages?
Tis may or may not be a problem, depending on the server configuration.
If www- and non-www currently resolve to the same VirtualHost, then you'll need to test %{HTTP_HOST} in order to suppress the redirect if the domain is already correct -- else you'll do a client-server infinite redirection loop until one or the other times out. You'd need to use mod_rewrite to do this.
If www and non-www are handled (or can be configured to be handled) as separate hosts, then a RedirectPermanent directive in the non-canonical domain's VirtualHost container (or top-level .htaccess file) can be used without problem.
Jim