Can not get URL to redirect properly

3 Replies - 4225 Views - Last Post: 15 January 2014 - 04:45 PM

.htaccess/ redirect issue

Posted 15 January 2014 - 02:36 PM

Hello all,
This is the third site I am bringing my issue to- hope you guys can break the trend of not being able to figure this out! The problem is, when typing in my URL example.com - the URL redirects to example.com/community/ as it should. My forum software is in a folder "community." So it's public_html/ community/
The issue is- you can also type www.example.com/community which as you know is picked up
But to Google it's like two separate sites, so I need every combination to redirect to http://example.com/community/
Here is my .htaccess file currently - any help is greatly appreciated! It's driving me nuts!

Re: .htaccess/ redirect issue

Posted 15 January 2014 - 03:35 PM

modi123_1, on 15 January 2014 - 02:40 PM, said:

Quote

so I need every combination to redirect t

'Every Combination' of what? general URLs? URLs outside the folder?

Hi- if you type example.com it brings you to example.com/community/ when you type in www. Example.com it brings you to example.com/community/ the problem is when you type In www.example.com/community/ it does not redirect to example.com/community/ as it should. Hope that makes sense.