|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
301 error
Based on great info I have received in this forum, I now have another problem I need to get an opinion on: after my web host posted a 301 redirect for a mirror site of mine, when I checked the header validation, the status line indicates the following: Status: HTTP/1.1 301 Error. Is the error supposed to be there or does this indicate some kind of code error in the 301 redirect form.
Sammy |
|
#2
|
||||
|
||||
|
Hey..
Can you tell me the 2 URL's so I can take a look at see, also lemme know which one is doing the 301 Redirect!! Do you have .htaccess capabilities, and do you know if MOD_ReWrite is installed on the mirror server?
__________________
Darrin J. Ward, the Original Founder of SEO Chat (this site), Google Dance Tool & some other cool stuff! Read my: Blog or Twitter. * Rankings Reporter - Free PHP Script to Track your Website's Keyword Rankings in Google & Yahoo. |
|
#3
|
||||
|
||||
|
Hey Darrin, you are kidding about all those things you are asking me, right?
I can give you the sites though and you are welcome to look at anything you want to. I am so frustrated over this I will be more than happy to give you my passwords and you can rewrite the entire darn web site if you want to. Anyway, www.sammymiller.com was directed to www.concealedhandgun.com Sammy |
|
#4
|
||||
|
||||
|
By the way Darrien, they are both on the same server.
|
|
#5
|
||||
|
||||
|
Sorry, I meant Darrin
|
|
#6
|
||||
|
||||
|
Hi Sammy..
It's a windows server, so .htaccess is out of the question. The server is giving a 301 - error alright, but it also is giving the new location, so I'm not sure, but for the record is should be giving this response "HTTP/1.1 301 Moved Permanently" I'd notify the admins at your hosting company and tell them you want a CORRECT 301 redirect. Quote:
Damn straight we won't, and there aint no forgivin' goin on either. |
|
#7
|
||||
|
||||
|
Thanks again Darrin
|
|
#8
|
|||
|
|||
|
How do you do a 302 redirect? I was looking at it because my domain www.nastynation.com just redirects through a meta tag to http://www.nastynation.com/nuke/index.php . The php version is the new one, and it has some stuff configured so i would like to just redirect nastynation.com to nastynation.com/nuke/ Get it? If anyone can tell me how to do this I will owe ya big time. Also, anyone up for exchanging links
-Josh |
|
#9
|
||||
|
||||
|
Do you have access to modify the .htaccess file .. This is the way I usually do it when using a virtual host .
Create a file called ".htaccess" in your root directory (the same directory that your real homepage is in) and add these lines to the file: redirect / http://www.nastynation.com/nuke/index.php That should work |
|
#10
|
|||
|
|||
|
I tried that, but it didnt effect the way the page loads. It loads to the old index page. But then when i renamed the index.html page, it just brought up the directory thingy. Do i need anything else in the .htaccess file? Or just redirect / http://www.nastynation.com/nuke/index.php [R=301, L]
-Josh |
|
#11
|
||||
|
||||
|
Actually Take off the [R=301, L] part - take another look above..
You must be using the Apache server for this to work.. and it appears that you are .. so this should work.. |
|
#12
|
|||
|
|||
|
It still does the same thing as before... What do the permissions have to be on the .htaccess file? Im gonna call my host in the morning probably. Let him figure it out
Thanks, Josh |
|
#13
|
|||
|
|||
|
Quote:
I know this thread is terribly old, but it didn't appear to have a final answer. So I wanted to take the time to address this issue... I recently had this very same issue during a 301 redirect for a client site. When I ran a server header check, it came back with HTTP/1.1 301 Error. However, my site appeared to be properly redirecting using my 301 redirection. I concluded that as long as the "error" is followed by a HTTP/1.1 200 OK response in the #2 spot - then everything has worked properly. The error response is simply a result of the server header check not understanding the response, therefore defaulting to "Error" rather than "Moved Permanently". It does not mean that the "Error" will prevent a search engine from acknowledging the redirection. So in the end, you did properly configure the 301 redirect for your client. As far as I can tell, this only seems to be an issue for servers using IIS (Windows) - Not Apache. <snip> Last edited by JagNet : August 29th, 2008 at 03:20 AM. Reason: removed fake signature |
![]() |
| Viewing: SEO Chat Forums > Other > HTML Coding > 301 error |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|