Results 1 to 2 of 2

Thread: .htaccess 301 redirect

  1. #1
    HEXUS webmaster Steve's Avatar
    Join Date
    Nov 2003
    Posts
    14,276
    Thanks
    292
    Thanked
    837 times in 473 posts

    .htaccess 301 redirect

    Trying to redirect from a page to another one with a variable.

    In fact, I wanna go from

    /adsl.php to http://stevekerrison.com/?page=adsl

    The problem is the "?" isn't interpreted correctly, so how else can I pass the page=adsl variable through my .htaccess redirect?

    Thanks,
    Kez.
    PHP Code:
    $s = new signature();
    $s->sarcasm()->intellect()->font('Courier New')->display(); 

  2. #2
    Senior Member Kezzer's Avatar
    Join Date
    Sep 2003
    Posts
    4,863
    Thanks
    12
    Thanked
    5 times in 5 posts
    So if the page variable has adsl assigned to it surely you'd just use an if statement stating that if the variable is assigned with "adsl" then to redirect?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. .htaccess & .htpasswd
    By r1zeek in forum Software
    Replies: 9
    Last Post: 22-02-2005, 06:46 PM
  2. silly http redirect question
    By scottyman in forum Software
    Replies: 2
    Last Post: 04-01-2005, 12:59 PM
  3. Replies: 3
    Last Post: 16-05-2004, 07:39 PM
  4. Help With .htaccess
    By Vini in forum Software
    Replies: 2
    Last Post: 03-02-2004, 02:18 PM
  5. Weird Move redirect
    By Enverex in forum HEXUS Suggestions
    Replies: 3
    Last Post: 18-11-2003, 12:46 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
  •