Unidentified Living the Developer Life... Jun 19, 2012 144 20 Sep 17, 2012 #1 How do i redirect my url so instead of index.php it says index.php?ref=home
T Tronscript Member Aug 18, 2012 93 8 Sep 17, 2012 #2 PHP: <?php header("Location: index.php?ref=home"); ?> Upvote 0 Downvote
Unidentified Living the Developer Life... Jun 19, 2012 144 20 Sep 18, 2012 Thread starter #3 Nope i get a redirect loop :/ Upvote 0 Downvote
Sean Don't Worry, Be Happy Dec 12, 2011 1,121 405 Sep 18, 2012 #4 I would assume that you would have to use htaccess, As using it that way is redirecting itself onto itself. Hence the reason you are getting the LOOP error Upvote 0 Downvote
I would assume that you would have to use htaccess, As using it that way is redirecting itself onto itself. Hence the reason you are getting the LOOP error
Unidentified Living the Developer Life... Jun 19, 2012 144 20 Sep 18, 2012 Thread starter #5 Yes i want it to go from index.php to index.php?ref=home how will i do that with htaccess? Upvote 0 Downvote
Sean Don't Worry, Be Happy Dec 12, 2011 1,121 405 Sep 18, 2012 #6 Create a htaccess file and put this line in it Code: DirectoryIndex /index.php?ref=home Upvote 0 Downvote