MyBB Community Forums

Full Version: How can I redirect users to portal once they arrive at my site ?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I do not understand what is meant here ..

htacces.txt it has a text file format do I need to change the format into htacces.htacces?

http://docs.mybb.com/Portal.html#Access_to_the_Portal
dude make a file named htaccess.txt , open it enter this code : DirectoryIndex portal.php .
save the text file.
Rename it, i mean text file to only .htaccess.
upload it into your server.

This is very simple.
If you find it difficult : here is a file and upload it into your Public_html or Root where MyBB is installed.

link : click here and download

Hope this helps,
regards
if I upload it .. google seo how to code that in the file htacces ..

because I see only code directory portal.php

This does not work with localhost
You need to create a .htaccess file with the following at the top.
DirectoryIndex portal.php index.php
If you are using Google SEO or the default .htaccess file, then you can just place that code at the very top and it will still work. Place it in the location where all of the default MyBB files are at (such as index.php, portal.php, member.php, etc).
if the file is still the default htaccess.txt just rename htaccess.txt to .htaccess
and add this code
DirectoryIndex portal.php

to @envira & @Known
if you can help me to redirect like this
http://community.mybb.com/thread-137223.html