Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Redirect to last page after signin


johnhiler
Member

@johnhiler

Ah it looks like that code is for bbPress… it has a reference to bb_get_option in it:

<input type=”hidden” name=”re” value=”<?php echo “http://&#8221;.$_SERVER.$_SERVER[“REQUEST_URI”].’?’.$_SERVER[“QUERY_STRING”]; ?>” />

<input type=”hidden” name=”_wp_http_referer” value=”<?php echo bb_get_option( ‘uri’ ) ?>” />

If I stick it into a WordPress template for my header.php file, it crashes… any ideas how to make it work in WordPress?

Skip to toolbar