Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> Raven's RavenNuke(tm) v2.00.00 - v2.02.00 Distro
Author Message
guidyy
Worker
Worker


Joined: Nov 22, 2004
Posts: 208
Location: Italy

PostPosted: Tue Feb 28, 2006 8:53 am Reply with quote

there is a little issue on this module that can be asily fixed:
when you click to visit a link the script send a header:

HTTP/1.1 302 Moved Temporarily

the correct way to redirect an outside link is:

HTTP/1.1 301 Moved Permanently

easy to fix
In weblinks index.php

Find (3 istances)
Code:
Header("Location: $url");

add just before
Code:
header("HTTP/1.1 301 Moved Permanently");


so it looks like:
Code:
  

header("HTTP/1.1 301 Moved Permanently");
Header("Location: $url");


Done

Why is that? Only registered users can see links on this board! Get registered or login!

Guido
 
View user's profile Send private message Visit poster's website MSN Messenger
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 6383

PostPosted: Tue Feb 28, 2006 11:26 am Reply with quote

Very interesting. Thank you for posting, Guido.

_________________
I google, therefore I exist...
Only registered users can see links on this board! Get registered or login!
 
View user's profile Send private message
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> Raven's RavenNuke(tm) v2.00.00 - v2.02.00 Distro

View next topic
View previous topic
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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©