MyBB Community Forums
Redirecting domain.com/index.php to domain.com - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Extensions (https://community.mybb.com/forum-201.html)
+--- Forum: Plugins (https://community.mybb.com/forum-73.html)
+---- Forum: Plugin Requests (https://community.mybb.com/forum-65.html)
+---- Thread: Redirecting domain.com/index.php to domain.com (/thread-33632.html)



Redirecting domain.com/index.php to domain.com - randomus - 2008-07-11

Hi guys. Using MyBB for a new forum I'm starting and I prefer it to other free forum software by far.

I only have one problem. I want to do a 301 redirect of the domain.com/index.php page to domain.com and I can't find a plugin for this or a solution in the forums.

I don't like having a duplicate front page.

Is there a code modification I can do or a plugin I missed?


RE: Redirecting domain.com/index.php to domain.com - DragonFever - 2008-07-11

Take a look at following:
http://www.ndesign-studio.com/blog/tricks-tips/htacess-redirect/


RE: Redirecting domain.com/index.php to domain.com - randomus - 2008-07-11

Doesn't work. Gives me this error message in the browser:

Redirect Loop
Redirection limit for this URL exceeded. Unable to load the requested page.

I should probably specify that I also use the SEO mod plugin, which has his own set of lines in the .htaccess file.


RE: Redirecting domain.com/index.php to domain.com - DragonFever - 2008-07-11

Yes, if you use SEO plugin, this method may not work.