nukeSEO.com - PHPNuke SEO Search engine optimization, professional tools including nukeSEO, nukeSPAM, nukeFEED, nukePIE, nukeWYSIWYG and more

 

. Welcome to nukeSEO.com  ! 
.
.
.


.
nukeSEO.com: Forums


 Forum FAQForum FAQ   SearchSearch   UsergroupsUsergroups   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Problem with Relative Download URLs
 
 
Post new topic   Reply to topic    nukeSEO.com Forum Index -> nukeSEO (tm)
View previous topic :: View next topic  
Author Message
montego
webmaster


Joined: Dec 26, 2005
Posts: 254

PostPosted: Sat Apr 01, 2006 8:57 am    Post subject: Problem with Relative Download URLs Reply with quote

I have just checked my Google sitemap - had been awhile - and noticed that all my download links are no longer valid. You may recall a thread on ravenphpscripts.com awhile back where we were having issues with "download leaching"? I had implemented a "fix" for this and it required using relative URLs for the downloads, so they no longer have the http:// prefixed on them.

That is why google is saying my URLs are invalid because they no longer have the "http://". I believe that both download content modules need to have a check in them to see if either "http://" or "ftp://" are already present and if not, add "http://" to the front of the url?

If I fix it in the next few days, I'll pass it along...
  
Back to top
View user's profile Send private message Visit poster's website
kguske
Site Admin
Site Admin


Joined: May 12, 2005
Posts: 876

PostPosted: Sat Apr 01, 2006 9:48 am    Post subject: Re: Problem with Relative Download URLs Reply with quote

Thanks...
  
Back to top
View user's profile Send private message Visit poster's website
montego






PostPosted: Sat Apr 15, 2006 11:39 am    Post subject: Re: Problem with Relative Download URLs Reply with quote

Sorry, have not gotten back to this... yet... Neutral
  
Back to top
stefvar
webmaster


Joined: Dec 26, 2005
Posts: 14

PostPosted: Mon Apr 17, 2006 4:04 am    Post subject: Re: Problem with Relative Download URLs Reply with quote

Hello,

To résolve a problem with "http" in file content/downloads.php, change this line :
Code:
return $this->formatGoogleURL($url['host'].$url['path'].'?name=Downloads&op=getit&lid='.$result['rid']);

with this :
Code:
return $this->formatGoogleURL($url['scheme'].'://'.$url['host'].$url['path'].'?name=Downloads&op=getit&lid='.$result['rid']);


Wink
_________________
Stef and Co. Bénévolat sur mesure Wink
Only registered users can see links on this board! Get registered or login!
  
Back to top
View user's profile Send private message Visit poster's website
kguske






PostPosted: Mon Apr 17, 2006 5:39 pm    Post subject: Re: Problem with Relative Download URLs Reply with quote

Thanks! I'll update the downloads tomorrow and include this in future versions.
  
Back to top
montego






PostPosted: Thu Apr 20, 2006 6:57 am    Post subject: Re: Problem with Relative Download URLs Reply with quote

Fix does appear to work great. Thanks stefvar! By the way, I just checked the "Additional Content" download and it has not been updated as yet.
  
Back to top
Display posts from previous:       
Post new topic   Reply to topic    nukeSEO.com Forum Index -> nukeSEO (tm) All times are GMT - 5 Hours
 
 Page 1 of 1

 

Jump to:   
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB © 2001-2008 phpBB Group


Page Generation: 0.03 Seconds