Soldato
- Joined
- 5 Feb 2006
- Posts
- 3,524
Hi Guys.
So i think i have a problem with my .htaccess or at least i think so.
Here's the story.
I've made a website for my mums little charity music thing shes putting on which can be found here. http://www.bradfordbarnstorm.org.uk . ive done my best to build it using wordpress and i think it all works rather well. The problem arises in that im trying to put on a forum so the community can talk. I've installed using the providers install system and its the same type of forum as this one. phpBB i believe its called, installed to /forum. How ever when i try and go to it via link or direct input it automatically reverts to the main wp page. I rang up the support line and some man told me to adjust the htaccess and told me what to put in it. He gave me this
From what i understand its saying if some one types in the forum extension it allows them to go it otherwise all other requests are pushed to the /wp/
any help would really be helpful. im losing hair
So i think i have a problem with my .htaccess or at least i think so.
Here's the story.
I've made a website for my mums little charity music thing shes putting on which can be found here. http://www.bradfordbarnstorm.org.uk . ive done my best to build it using wordpress and i think it all works rather well. The problem arises in that im trying to put on a forum so the community can talk. I've installed using the providers install system and its the same type of forum as this one. phpBB i believe its called, installed to /forum. How ever when i try and go to it via link or direct input it automatically reverts to the main wp page. I rang up the support line and some man told me to adjust the htaccess and told me what to put in it. He gave me this
Code:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^maindomain.com$ [NC,OR]
RewriteCond %{HTTP_HOST} ^www.maindomain.com$ [NC]
RewriteCond %{REQUEST_URI} !^/wp/
RewriteRule ^(.*)$ /wp/ [L]
RewriteEngine On
RewriteCond %{HTTP_HOST} ^maindomain.com/forum$ [NC,OR]
RewriteCond %{HTTP_HOST} ^www.maindomain.com/forum$ [NC]
RewriteCond %{REQUEST_URI} !^/forum/
RewriteRule ^(.*)$ /forum/ [L]
From what i understand its saying if some one types in the forum extension it allows them to go it otherwise all other requests are pushed to the /wp/
any help would really be helpful. im losing hair