Docs: Redirects

Redirecting a page or URL

Standard PHP headers can be added to the top.inc file, so a 301 redirect would look like this:

if($_SERVER['REQUEST_URI']=='/badlink') {
Header( "HTTP/1.1 301 Moved Permanently" );
Header( "Location: /" );
exit;
}

Note: the redirects.inc file will be deprecated in the next version of Vendo.

 

Revisions history (6)    ( hide | show )     Extensions > Redirects

×