Activity Stream
48,167 MEMBERS
62746 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Results 1 to 3 of 3
  1.     
    #1
    Member

    Default .htaccess 302 redirect

    hey guys need some help.
    Trying to temporary redirect my website from the main page to the forum as we fix it up.

    Whenever i place the 302 redirect code into my .htaccess file it will redirect but add /forum/forum/forum many times.

    This is what's in my .htaccess file

    Code: 
    Redirect 301 /wordpress/ http://mysite.com/
    Redirect 302 / http://mysite.com/forum
    
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    # END WordPress
    </IfModule>
    any help would be great.
    av0id Reviewed by av0id on . .htaccess 302 redirect hey guys need some help. Trying to temporary redirect my website from the main page to the forum as we fix it up. Whenever i place the 302 redirect code into my .htaccess file it will redirect but add /forum/forum/forum many times. This is what's in my .htaccess file Redirect 301 /wordpress/ http://mysite.com/ Redirect 302 / http://mysite.com/forum Rating: 5

  2.   Sponsored Links

  3.     
    #2
    Member
    Website's:
    facebook.com
    try

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    # END WordPress
    Redirect 301 /wordpress/http://mysite.com/
    Redirect 302 /http://mysite.com http://mysite.com/forum
    </IfModule>
    All right everyone, line up alphabetically according to your height.

  4.     
    #3
    Member
    vi index.php and/or vi content.php

    at the very top:
    <?php
    header("Location: forum.php");
    exit()
    ?>

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 0
    Last Post: 14th Dec 2013, 07:16 AM
  2. .htaccess redirect
    By batori in forum Webmaster Resources
    Replies: 6
    Last Post: 29th Sep 2012, 05:14 PM
  3. Redirect from one site to another site using .htaccess
    By NaHoW in forum Web Application/Script Support
    Replies: 0
    Last Post: 17th Sep 2012, 05:37 PM
  4. How to Redirect using htaccess
    By AJ Blacklisted in forum Web Application/Script Support
    Replies: 4
    Last Post: 20th Dec 2011, 08:38 AM

Tags for this Thread

BE SOCIAL