vBulletin 4, the most powerful community software + vBSEO 3.5, the ultimate SEO solution = Your ultimate platform for 2010 and beyond. Click below to learn more.

Results 1 to 2 of 2

Redirect Help...

This is a discussion on Redirect Help... within the Off-Topic & Chit Chat forums, part of the Focus on Members category; Not related to vbseo but i thought there should be atleast someone here to help with this Is there any ...

  1. #1
    Junior Member
    Real Name
    Luke
    Join Date
    Oct 2005
    Location
    Australia
    Posts
    17

    Arrow Redirect Help...

    Not related to vbseo but i thought there should be atleast someone here to help with this

    Is there any way to redirect a URL like this:
    pafiledb.php?action=file&id=XX
    To this:
    index.php?act=view&id=XX

    xx being the variable.

    thnx.

  2. #2
    vBSEO Staff Juan Muriente's Avatar
    Real Name
    Juan Carlos Muriente
    Join Date
    Jun 2005
    Location
    Puerto Rico
    Posts
    13,923

    Re: Redirect Help...

    The following should work:
    Code:
     
    RewriteCond %{QUERY_STRING} action=file&id=(.+)
    RewriteRule pafiledb\.php index.php?act=view&id=%1 [L,R=301]
    
    Juan Muriente / Crawlability Inc.
    Sneek Preview Video of the new Control Panel

    vBSEO 3.5 RC2 (Final)- Released for your Evaluation


Similar Threads

  1. Redirect error
    By phkk in forum Troubleshooting
    Replies: 5
    Last Post: 04-17-2006, 02:47 PM
  2. Redirect
    By MSJA in forum Troubleshooting
    Replies: 2
    Last Post: 01-27-2006, 03:24 AM
  3. Best way to redirect when moving URLS?
    By Spitfire in forum General Discussion
    Replies: 1
    Last Post: 11-03-2005, 08:50 AM
  4. Best way to redirect my old forum to vb using 301
    By Bellinis in forum General Discussion
    Replies: 11
    Last Post: 10-29-2005, 09:03 PM
  5. Incorrect 301 redirect?
    By SEO Report in forum Bug Reporting
    Replies: 2
    Last Post: 08-25-2005, 12:14 AM