<?php echo '<script type="text/javascript">window.location = \'http://mydomain.com/' . S2MEMBER_CURRENT_USER_LOGIN . '\';</script>'; ?>
Statistics: Posted by Cristián Lávaque — August 31st, 2011, 10:42 pm
<?php header('Location: http://mydomain.com/' . $username); ?>
You'd replace $username with the var that has the name you need for the URL.
! | Warning: Cannot modify header information – headers already sent by (output started at /homepages/.../wp-content/themes/.../header.php:2) in /homepages/.../wp-content/themes/plugins/exec-php/includes/runtime.php(42) : eval()’d code on line 5 |
Statistics: Posted by Berny-T — August 31st, 2011, 11:00 am
<?php header('Location: http://mydomain.com/' . $username); ?>
Statistics: Posted by Cristián Lávaque — August 29th, 2011, 4:43 pm
Statistics: Posted by Berny-T — August 29th, 2011, 3:14 pm
Statistics: Posted by cassel — August 29th, 2011, 9:25 am
Statistics: Posted by man-O-media — August 29th, 2011, 8:44 am
Statistics: Posted by Berny-T — August 29th, 2011, 4:06 am