+ Reply to Thread
Results 1 to 5 of 5

Thread: Redirect Permanent Problems with passing variables...

  1. #1
    Senior Member himerus has disabled reputation himerus's Avatar
    Join Date
    Nov 2003
    Location
    Denver, CO
    Age
    32
    Posts
    221

    Redirect Permanent Problems with passing variables...

    I have 2 domains... http://forums.myispfinder.org/ and http://www.myispforum.com/ The latter is a new domain name that I have purchased specifically for my forums, and now, I want to use a RedirectPermanent directive in my .htaccess file to escort users to the appropriate domain name for the next couple of months while Google & other SE's find the new domain name and index it.

    The redirect works great, unless thier are get variables in the URL...

    http://example/showthread.php?t=2134323234324234

    When I use the Redirect, the variables are being chopped off, and all the pages that are indexed by the search engines for the old domain name point to a error page after the variables are stripped off....

    Any clues or something I may be missing?

    TIA!!!

  2. #2
    Senior Member himerus has disabled reputation himerus's Avatar
    Join Date
    Nov 2003
    Location
    Denver, CO
    Age
    32
    Posts
    221
    I'm still having a huge problem with this...

    I'm having to use a lot of static URLs that include the www.myispforum.com part of the domain rather than just relative paths while trying to juggle the board on 2 domains until I can figure out how to use the RedirectPermanent properly with variables.... It's probably easy.... just something I've never dealt with before.

  3. #3
    Senior Member Icheb is on a distinguished road Icheb's Avatar
    Join Date
    Nov 2002
    Age
    26
    Posts
    1,293
    Code:
    RewriteEngine On
    RewriteRule !^index\.php.*|forumdisplay\.php$ /index.php4 [L]
    Put that in your .htaccess and all calls to index.php and forumdisplay.php will get redirected to index.php4. Add other pages at your convenience.
    Then use index.php4 to look at the requested uri, get the script and the query string and then redirect that to your new domain.
    I hope the .htaccess rule is correct, I'm not that into .htaccess.

  4. #4
    Senior Member himerus has disabled reputation himerus's Avatar
    Join Date
    Nov 2003
    Location
    Denver, CO
    Age
    32
    Posts
    221
    that would probably do what I want, but I want to somehow use redirect perm simply because it allows the SE's to know to stop indexing, and I've heard rumor that pointing a domain to another using redirect permanent will transfer some of the PR from Googles system to the new domain.

    It seems like it would be a simple fix, but I can find nothing about it online... I can't have been the first person to see this flaw in the RedirectPermanent directive.

  5. #5
    Senior Member himerus has disabled reputation himerus's Avatar
    Join Date
    Nov 2003
    Location
    Denver, CO
    Age
    32
    Posts
    221

+ Reply to Thread

Similar Threads

  1. htaccess redirect: temporary vs. permanent
    By ragintajin in forum Chit Chat
    Replies: 0
    Last Post: Fri 7th May '04, 4:18pm
  2. Passing variables using iframes?
    By Tim Mousel in forum PHP & HTML Questions
    Replies: 1
    Last Post: Sun 25th Jan '04, 4:17pm
  3. Passing cookie variables through flash navigation?
    By JeremyL in forum vBulletin 2 'How Do I' and Troubleshooting
    Replies: 6
    Last Post: Tue 15th Apr '03, 7:31pm
  4. Passing Variables to postbit
    By Conscience in forum vBulletin 2 'How Do I' and Troubleshooting
    Replies: 1
    Last Post: Wed 18th Sep '02, 11:00am
  5. Passing Variables into the header
    By bigsoccer tech in forum vBulletin 2 'How Do I' and Troubleshooting
    Replies: 5
    Last Post: Fri 16th Mar '01, 1:05pm

Bookmarks

Posting Permissions

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts