Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 1st Aug 2011, 04:05 PM   #1
HyperActive Warrior
 
Join Date: 2011
Posts: 188
Thanks: 26
Thanked 13 Times in 12 Posts
Default
Is it possible to get around a 301?
Share on: 
fb share twitter share gplus share more share

Is there anyway of preventing redirection from one site to another?

derp.
rob1123 is offline  
Unread 1st Aug 2011, 04:18 PM   #2
Software Engineer
War Room Member
 
wayfarer's Avatar
 
Join Date: 2008
Location: Asheville, NC USA
Posts: 693
Thanks: 37
Thanked 112 Times in 100 Posts
Default
Re: Is it possible to get around a 301?
Share on: 
fb share twitter share gplus share more share

a 301 is just a piece of information passed before any other content is sent, or without sending anything else. There is nothing forcing any user-agent to follow it, browsers and such are just programmed to react a certain way to them. Content scrapers gather information all the time without following redirects.

I build web things, server things. I help build the startup Veenome. | Remote Programming Jobs
wayfarer is offline  
Unread 1st Aug 2011, 04:22 PM   #3
Active Warrior
 
Join Date: 2011
Posts: 42
Thanks: 1
Thanked 8 Times in 8 Posts
Default
Re: Is it possible to get around a 301?
Share on: 
fb share twitter share gplus share more share

If a webpage redirects you to another address with a 301, best you can do is not going to that new page (with a special method). The redirection is the only thing the server is giving you. I hope you're asking this.
bestfriend is offline  
Unread 1st Aug 2011, 05:17 PM   #4
HyperActive Warrior
 
Join Date: 2011
Posts: 188
Thanks: 26
Thanked 13 Times in 12 Posts
Default
Re: Is it possible to get around a 301?
Share on: 
fb share twitter share gplus share more share

Originally Posted by wayfarer View Post

a 301 is just a piece of information passed before any other content is sent, or without sending anything else. There is nothing forcing any user-agent to follow it, browsers and such are just programmed to react a certain way to them. Content scrapers gather information all the time without following redirects.
sure, so how do I view the original webpage

derp.
rob1123 is offline  
Unread 1st Aug 2011, 05:36 PM   #5
Active Warrior
 
Join Date: 2011
Posts: 42
Thanks: 1
Thanked 8 Times in 8 Posts
Default
Re: Is it possible to get around a 301?
Share on: 
fb share twitter share gplus share more share

sure, so how do I view the original webpage
The original webpage is consisting of only redirection headers. There isn't anything else you can view.
bestfriend is offline  
The Following User Says Thank You to bestfriend For This Useful Post:
Unread 1st Aug 2011, 06:20 PM   #6
Software Engineer
War Room Member
 
wayfarer's Avatar
 
Join Date: 2008
Location: Asheville, NC USA
Posts: 693
Thanks: 37
Thanked 112 Times in 100 Posts
Default
Re: Is it possible to get around a 301?
Share on: 
fb share twitter share gplus share more share

Originally Posted by bestfriend View Post

The original webpage is consisting of only redirection headers. There isn't anything else you can view.
Actually, this isn't necessarily true. A webpage can send redirection headers and then still send content. If this is the case, your browser will simply ignore everything after the headers are sent, and redirect anyway. There are probably browser plugins you can install that will prevent the redirect from happening, why don't you search for them?

Usually what bestfriend is saying is the truth, however. If there's a redirect header, there's probably not going to be anymore content. But just because there's a redirect header doesn't mean that output stops. That's not how HTTP works.

I build web things, server things. I help build the startup Veenome. | Remote Programming Jobs
wayfarer is offline  
Unread 1st Aug 2011, 07:54 PM   #7
Active Warrior
 
Join Date: 2011
Posts: 42
Thanks: 1
Thanked 8 Times in 8 Posts
Default
Re: Is it possible to get around a 301?
Share on: 
fb share twitter share gplus share more share

Yes, actually HTTP works how wayfarer said. And as an addition, if redirection made by a PHP script and it's not stopping execution of itself after the redirect, then it may continue to outputting. This is considered a security flaw for development. But I don't think the OP looking for this.

There is a plugin named "NoRedirect" for Firefox. After installing it, add the URL you want to not redirect you, and you'll able to see it's content (Something like; "Found The Document has moved here." ).
bestfriend is offline  
Closed Thread


Bookmarks

Tags
301


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 07:02 PM.