Tell me more ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

Yeah, I already have this code "DirectoryIndex Forum-The-Lounge.html index.php" at the top of my .htaccess

And I want my site to redirect into a sub-forum like http://mebes.net? My site is http://frutes.net however it won't redirect, any idea why?

share|improve this question
I don't understand what you mean by sub-forum. What is it a sub-forum of? – paulmorriss Jun 28 '12 at 13:33
Can you give us the code that you already have? – Christofian Jun 28 '12 at 17:22
I see no site at the provided example domain. – Justin Pearce Jun 29 '12 at 15:54

closed as too localized by John Conde Feb 17 at 15:59

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, see the FAQ.

2 Answers

Are you trying to redirect visitors to a new forum you setup? If so why not use php header() or meta refresh.

You can't redirect by setting a new DirectoryIndex file. Maybe if you set your root folder to that and left your Directory Index to index.php but i'm not sure what else you have in your .htaccess.

share|improve this answer

You can do a redirect in your .htaccess file with the Redirect directive.

Redirect /Forum-The-Lounge.html http://mebes.net/

If this is a permanent change then put 301 after the word Redirect.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.