+ Reply to Thread
Results 1 to 2 of 2

Thread: Dynamic redirect

  1. #1
    Tenant is offline x10Hosting Member Tenant is an unknown quantity at this point
    Join Date
    Jan 2009
    Posts
    13

    Dynamic redirect

    I have been working on this for hours and I cant seem to figure it out.

    index.php? bunch of different vars and values

    needs to redirect to

    newdirectory/index.php? same bunch of variables

    Is there a way to do this automatically like in a .htaccess file or something

  2. #2
    misson is offline x10 Spammer misson is a jewel in the rough
    Join Date
    Mar 2008
    Location
    Libertatia
    Posts
    2,506

    Re: Dynamic redirect

    It's always best to show your work. It helps us help you see what isn't working and gives us a better idea of exactly what you're trying to do.

    Code:
    RewriteRule ^index.php newdirectory/index.php
    Be sure to read all pages linked in this post; they have further information that should prove useful. When asking for help, make sure you follow Eric Raymond's and Jon Skeet's guidelines for prompt, accurate responses. Please answer any questions I ask; they're not rhetorical (probably). Any posted code is intended as illustrative example, rather than a solution to your problem to be copied without alteration. Study it to learn how to write your own solution.
    Misson, not Mission.

+ Reply to Thread

Similar Threads

  1. .htaccess redirect
    By driveflexfuel in forum Programming Help
    Replies: 3
    Last Post: 02-03-2010, 02:41 PM
  2. Adding cool dynamic Hint anywere on your site
    By taha116 in forum Tutorials
    Replies: 0
    Last Post: 07-12-2009, 07:17 PM
  3. Dynamic images with PHP
    By marshian in forum Tutorials
    Replies: 24
    Last Post: 10-30-2008, 11:14 AM
  4. Redirect
    By BlueIce in forum Free Hosting
    Replies: 3
    Last Post: 10-21-2007, 08:06 AM
  5. How Do You Redirect?
    By TarinC in forum Off Topic
    Replies: 2
    Last Post: 10-02-2005, 11:01 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers