Docs: Redirects

You need to be logged in to edit this page.

Redirecting a page or URL

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

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

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


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