The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Please is there a way to redirect /index.php to forum homepage?
I am just wondering if there is a way I can redirect forums.mywebsite.com/index.php to forums.mywebsite.com without the index.php. My forum is such a way that when you type forums.mywebsite.com, it doesn't redirect to forums.mywebsite.com/index.php and when you type forums.mywebsite.com/index.php, it doesn't redirect to forums.mywebsite.com hence I am getting two separate pages with duplicate contents. forums.mywebsite.com has google pagerank but forums.mywebsite.com/index.php has no google pagerank so I will like to redirect forums.mywebsite.com/index.php to forums.mywebsite.com. I will appreciate it if you can help me in simple terms because i know very little about coding. Thanks very much for your support.
|
#2
|
||||
|
||||
Usually, if you put forums.yoursite.com in your browser url, you are automatically directed to forums.yoursite.com/index.php . What are you being directed to? Do you have an index.html page? If so, you may want to remove it and see if that fixes the problem.
|
#3
|
|||
|
|||
in my case the forums.example.com/ doesn't redirect to forums.example.com/index.php and vice versa. they are two separate pages with the same content. I will like to redirect the forums.example.com/index.php to forums.example.com because the forums.example.com/index.php has no pagerank while forums.example.com has. Thanks very much
|
#4
|
||||
|
||||
Redirect the index.php Using a 301 Redirect !
1. if you dont have a .htaccess file, open notepad, name and save the file as .htaccess (there is no extension). 2. If you already have a .htaccess file on your server, download it to your desktop for editing. 3. Place this code in your .htaccess file: PHP Code:
5. Save the .htaccess file 6. Upload this file to the forum folder |
#5
|
|||
|
|||
I tried the code Karim gave but it doesn't work. I keep on getting internal error.
Please Anymore suggestions? |
#6
|
||||
|
||||
Google? There are lots of sites on the use of htaccess to redirect pages.
|
#7
|
|||
|
|||
I searched on google but I couldn't get what I'm looking for. I will be very happy if someone can help me.
|
#8
|
|||
|
|||
Quote:
Because index is your default is also why index.php has no ranking but forums.example.com does. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|