Ok, the bridge between coppermine and SMF works great. Now, the problem I have is that SMF provides a "utility" that allows information from the board to be used on site pages. Problem is, I can't really use it as the cookie domains differ. Not many people will leave the www. off when visiting my site.
So, is there anyway to change the cookie domain of coppermine to add the "www." in front of the domain?
force the www or force the lack of it by adding a bit .htaccess magic like thisRewriteEngine on
RewriteCond %{HTTP_HOST} ^www\.your_site\.tld$ [NC]
RewriteRule ^(.*) http://your_site.tld/$1 [R,L]
You mean that does it for the whole site? index.html too?
Yes
Thanks guys, really appreciate it!!
Ok, here's what I added to the .htaccess file.
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www\.northeastatvers\.tld$ [NC]
RewriteRule ^(.*) http://northeastatvers.tld/$1 [R,L]
Is this correct? When I added that and typed in www.northeastatvers.com, it did not change it to northeastatvers.com.
Does your host allow rewrite in .htaccess?
Thanks, opened a ticket with them.
Quote from: mrandall131 on January 16, 2006, 06:41:55 PM
Ok, here's what I added to the .htaccess file.
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www\.northeastatvers\.tld$ [NC]
RewriteRule ^(.*) http://northeastatvers.tld/$1 [R,L]
Is this correct? When I added that and typed in www.northeastatvers.com, it did not change it to northeastatvers.com.
Make it
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www\.northeastatvers\.com$ [NC]
RewriteRule ^(.*) http://northeastatvers.com/$1 [R,L]
instead and you should be fine - the abbreviation "tld" is short for "top level domain", I was trying to suggest that you change it as well, as I didn't know your domain name when I posted the example.
Thanks to everyone. You guys make it so easy for noobs like me to get this stuff working.