Forum Moderators: phranque
www.domain.com/abc needs to be redirected at abc.domain.com now
my web server has cpanel installed. so i have used the permanent redirect thing under that and have successfully got all pages to redirect at the new address just by redirecting the main URL. Although the test feature at webmasterworld says that all my old pages have 301 redirect and load in 1 sec, my question is does only adding a 1 line sufficient for google? will it change my listing of domain.com/abc/1.html to abc.domain.com/abc/1.html without affecting anything? And do i need to or not to add 301 redirects for all pages individually.
Thanks.
Google and other search engines are totally unaware of the technology you are using to redirect; all that action happens "inside" your server, before any response is sent back to Google when they request a file. You could be doing the redirect with a single line of code in .htaccess or with 50 individual lines, or you could be doing the redirect by using a PHP script, there's simply no way Google could tell.
So, the short answer is, either your redirect does what you want it to do, or it doesn't. Judging by your test results, it sounds like it works to me!
Jim