( ! ) Warning: get_browser(): browscap ini directive not set in /var/www/vendorama/cart/includes/browser.inc on line 127
Call Stack
#TimeMemoryFunctionLocation
10.0023365096{main}( ).../index.php:0
20.0026365600include_once( '/var/www/vendorama/cart/includes/global.inc' ).../index.php:3
30.0033367880include_once( '/var/www/vendorama/cart/includes/browser.inc' ).../global.inc:82
40.0238381680get_browser ( ).../browser.inc:127
Docs: Redirects on Vendo

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