working with redirect using HTTP web request

seoboss

Make Money Online
Joined
Sep 25, 2010
Messages
15
Reaction score
0
Points
0
Age
42
Hi

I am trying to create a Pligg Bot but getting stuck in posting part , specially in handling redirect , normal redirect code is not working , getting 404 error

Can any one help
 

hrkhan

New Member
Joined
May 5, 2011
Messages
13
Reaction score
0
Points
0
You need to tell a bit more to get help. Like which class you are using for request handling? What are you doing currently to handle redirect.
 

risteard

New Member
Joined
Aug 7, 2011
Messages
4
Reaction score
0
Points
0
Yes do it always to avoid indirect redirect to our website..saves time and increases our web traffic...use w3schools reference guide for it..it helps you out
 

Hydrogen2012

Make Money Online
Joined
Dec 29, 2009
Messages
180
Reaction score
0
Points
0
Location
Down in a Hole
Website
www.advertmarketing.com
Hi

I am trying to create a Pligg Bot but getting stuck in posting part , specially in handling redirect , normal redirect code is not working , getting 404 error

Can any one help
Some things to watch for

1.) Make sure you are store all cook ies in a cook ie container
2.) Make sure you have a User-Agent Set
3.) Make sure you are setting a referrer
4.) you can trying using request.allowredirect = true or false in your httpwebrequest call to see if it helps either way.