MyBB Community Forums

Full Version: Themes keep on switching - Help?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
[Solved]
The link at the bottom is without www. if you edit it accordingly it should work right.
(2016-07-26, 12:21 PM)Ashley1 Wrote: [ -> ]The link at the bottom is without www. if you edit it accordingly it should work right.

Yes, but why won't the custom theme work without thw www. ?
have you also made Netpen theme as the default theme ?
at the themes section, themes have an icon at next column of theme name.
clicking on that icon makes the theme as the default theme for guests

your forum is having two versions - one with www & the other without www
it is better to use only one version of the forum - with or without www

I'd suggest to direct www to non-www version.
you can try using redirect facility at web host panel
or try rewrite rules like below in the .htaccess file
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^www.domain.com [NC]
RewriteRule ^(.*)$ http://domain.com/$1 [L,R=301]
(2016-07-26, 12:25 PM).m. Wrote: [ -> ]have you also made Netpen theme as the default theme ?
at the themes section, themes have an icon at next column of theme name.
clicking on that icon makes the theme as the default theme for guests

your forum is having two versions - one with www & the other without www
it is better to use only one version of the forum - with or without www

I'd suggest to direct www to non-www version.
you can try using redirect facility at web host panel
or try rewrite rules like below in the .htaccess file
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^www.x.com [NC]
RewriteRule ^(.*)$ http://x.com/$1 [L,R=301]

Okay - So can't I run the theme on both www.xyz and xyz.

And which is better? I'm using www. so can I stick with that? Is one more secure than the other? 

Thanks... It's only because you suggest redirecting www. to non-www.



EDIT: And if i did want to use the non-www. how can I make the theme run on that as it only runs on www. ?
Neither one is better, it's just best to use one or the other.
theme works on both www & non-www versions.
looks like the issue is due to mis-configuration.

I guess you are logged in with www version &
system logs out you with non-www version !

its personal preference to use forum without www prefix

board url should be set with your choice - with or without www
and the other version should redirect to your choice of URL
(2016-07-26, 01:24 PM)Ashley1 Wrote: [ -> ]Neither one is better, it's just best to use one or the other.

Okay thanks. I'm a little confused though... If it's just a different connection Like Https over http (I know s is more secure) - why isn't it the same theme.... Shouldn't the information be the same and the theme be the same.... 

Thanks for the help Smile
This is different to http vs https

The information and theme is exactly the same, execpt certain things break like font awesome icons. That's due to a misconfiguration somewhere, not sure where.