MyBB Community Forums

Full Version: url canonicalization
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How can url canonicalization be achieved in mybb?
The url's look normal to me. Did you mean SEO?
What I want to achieve: all url's are forwarded to http://www.example.com

Currently, in myBB if you go to http://www.example.com it will go to http://www.example.com/
But if you type, example.com it will go to http://example.com/

All of the websites that I am running under regular html, I have this in the .htaccess...

RewriteEngine On
RewriteCond %{HTTP_HOST} ^example\.com
RewriteRule (.*) http://www.example.com/$1 [R=301,L]

This in the .htaccess makes it so that whatever address I type, it forwards to http://www.example.com/
^ So doesn't the above work for you?
I'm not sure what your problem is...
does not work Sad

I have it on example.com/forum

How can I alter the code?

I also have wordpress on the root of the website. and the mybb forum is /forum
This problem does not relate to MyBB or it's support. Please ask somewhere else.