| | #2 |
| Software Engineer War Room Member Join Date: 2008 Location: Asheville, NC USA
Posts: 693
Thanks: 37
Thanked 112 Times in 100 Posts
|
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 | |
| |
| | #3 |
| Active Warrior Join Date: 2011
Posts: 42
Thanks: 1
Thanked 8 Times in 8 Posts
|
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. |
| |
| | #4 | |
| HyperActive Warrior Join Date: 2011
Posts: 188
Thanks: 26
Thanked 13 Times in 12 Posts
|
| |
|
derp. | ||
| |
| | #5 | |
| Active Warrior Join Date: 2011
Posts: 42
Thanks: 1
Thanked 8 Times in 8 Posts
|
| |
| |
| The Following User Says Thank You to bestfriend For This Useful Post: |
| | #6 | |
| Software Engineer War Room Member Join Date: 2008 Location: Asheville, NC USA
Posts: 693
Thanks: 37
Thanked 112 Times in 100 Posts
|
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 | ||
| |
| | #7 |
| Active Warrior Join Date: 2011
Posts: 42
Thanks: 1
Thanked 8 Times in 8 Posts
|
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." ).
|
| |
|
| Bookmarks |
| Tags |
| 301 |
| |