Go Back   HostGator Peer Support Forums > HostGator Peer Support Forums > Shared Hosting Support

Notices

Reply
 
Thread Tools
  #1  
Old 06-08-2003, 06:28 PM
vsbweb vsbweb is offline
Hatchling Croc
 
Join Date: May 2003
Location: Richardson, Texas
Posts: 11
Default

Hi,

I've set up a redirect to an ad-tracker. The redirect "to" is as follows:

http://www.mydomain.com/cgi-bin/trac...i?ad-name-here

The problem is that the redirect is putting a trailing "/" on the redirect location, and my tracker isn't working. I can tell this from the error message at the tracker end. In the example above, the ?ad-name-here would be ?ad-name-here/ .

I can always just use an HTML redirect, but would rather use the server redirect if possible. I suppose I could also change my cgi to drop it as well.

Any ideas on how to drop the "/" from the server redirect?

Thanks,
vsbweb
Reply With Quote
  #2  
Old 06-09-2003, 08:04 AM
CRySSiS's Avatar
CRySSiS CRySSiS is offline
Baby Croc
 
Join Date: Oct 2002
Location: Canada
Posts: 99
Default

If a HTML redirect would work, why not use it?

[code:1:8d691c8ec9]<META HTTP-EQUIV="refresh" content="0;URL=http://www.mydomain.com/cgi-bin/tracker.cgi?ad-name-here">[/code:1:8d691c8ec9]

Also, did you include "http://" before the URL?
__________________
If the world was free, I would still be poor.
Reply With Quote
  #3  
Old 06-09-2003, 11:19 AM
vsbweb vsbweb is offline
Hatchling Croc
 
Join Date: May 2003
Location: Richardson, Texas
Posts: 11
Default

Thanks for your reply, both here and re. my installed Perl module question.
I hadn't seen the module list before, but it's on my reseller cpanel too.

The redirect seems to be working now. I added a trailing slash to my redirect 'from' location that wasn't there before, to match what I had in my link, and all is well.

I was trying to avoid an HTML redirect because I've seen reports that some search engines penalize those, and pages that link to them. I don't know if it's true, but since the server redirect was available my preference was to use it if possible.

Thanks again for your help!

Best,
vsbweb
Reply With Quote
  #4  
Old 06-09-2003, 01:32 PM
CRySSiS's Avatar
CRySSiS CRySSiS is offline
Baby Croc
 
Join Date: Oct 2002
Location: Canada
Posts: 99
Default

Quote:
I was trying to avoid an HTML redirect because I've seen reports that some search engines penalize those, and pages that link to them. I don't know if it's true, but since the server redirect was available my preference was to use it if possible.
If your using the redirect that CPanel has, that's almost the same thing as the <meta> tags 'cept it's set on the server, and the client doesn't see it. It's still cheating...[/quote]
__________________
If the world was free, I would still be poor.
Reply With Quote
  #5  
Old 06-09-2003, 03:28 PM
vsbweb vsbweb is offline
Hatchling Croc
 
Join Date: May 2003
Location: Richardson, Texas
Posts: 11
Default

Hi Cryssis,

This is probably best for another section of the forum, but just curious why you feel a redirect is cheating (assuming you mean cheating the search engines and/or visitors)?

Thanks,
vsbweb
Reply With Quote
  #6  
Old 06-09-2003, 04:15 PM
CRySSiS's Avatar
CRySSiS CRySSiS is offline
Baby Croc
 
Join Date: Oct 2002
Location: Canada
Posts: 99
Default

I don't see it as cheating. I'm just saying, if they see redirecting a person as cheating, then no matter what meathod you use, it's still cheating. However, there are certail cercumstances that would be acceptable. Such as you want to confirm the click, or count in some way, then allow them to continue, that would not at all be cheating.

I was mearly pointing out that using the redirection meathod from CPanel is no different the the <meta> tags.
__________________
If the world was free, I would still be poor.
Reply With Quote
Reply

Bookmarks

Thread Tools

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Closed] SUbdomain redirect question roniabirk Shared Hosting Support 7 05-01-2004 06:34 PM
Error Page Redirect? unclebud Shared Hosting Support 1 11-15-2003 11:07 AM

All times are GMT -5. The time now is 03:06 AM.