Forum Moderators: phranque
I created a subdomain titled photos.xxxxx.xxx, where I used an htaccess file to set a 301 PermDirect to my photos.php, which is located on my main domain.
Now for some reason when Google visits, it keeps looking for this file: "photos.phprobot.txt: just as it appears, resulting in a 404 error. I wonder how that happened? Did the 301 server screw up the Googlebot into looking for an erroenous photos.phprobots.txt file? I have no idea how this happened. I have no robots.txt or index.html in my subdomain root (which is pointless anyway because of the 301 redirect) Is this something Google will clear up on its own? It has ony been a couple of weeks since putting up the 301 redirect, and I understand it takes 6 to 8 weeks for Google to work through 301 redirects successfuly, so Im wondering if this is what it is.
Thanks for any help, and Happy New Year!
RedirectPermanent / [xxx.xxxxx.xxx...]
I Xed out my domain, but other than that that's how it looks. I think the reason may be that I need to include an "index.html" line up there, even though it never existed, so it tells Google that the old file used to be index.html, and the new file is now photos.php, but Im just guessing.
Shazam! He suddenly finds himself whisked away to a different domain, [xxx.xxxxx.xxx...] "Whawazzat? Oh well, gotta get that robots.txt before I can start to work so I'll just ask for it at the new domain, [xxx.xxxxx.xxx...]
It's not clear to me why you need the redirect but it is clear that this redirect isn't quite adequate. Tell us what you're trying to accomplish and perhaps we can suggest a better soultion.
Right now Im testing it by including the "index.html" I mentioned before in the htaccess redirect, and include a modified robots.txt in my subdirectory where the page in question is located, might clear up the error.
So what is the best solution to get 30 pages from www.domain.com/widgets.html on the old ip-address to www.domain.com/category-subcategory-widgets.htm into the new webserver?
Both servers are running windows iis. Old ip-address pages are page.html extensions and the new ones .htm
Hope someone can give some answers/help us out...?