djbob2 Posted February 2, 2023 Posted February 2, 2023 Our forum is www.ourdomain.com and I'd like to get rid of the www in the address bar so it's just ourdomain.com. I tried using the change licensed URL button in the client area, and it said it was reset and to enter the license key into the forum, but the forum wouldn't let me enter the license key again, and the client area shows the domain with the www again already. I tried using .htaccess to redirect anyone who visited www.ourdomain.com to ourdomain.com, but the forum just tries to redirect them back to www and it causes a 500 error from too many redirects.
Solution Randy Calvert Posted February 2, 2023 Solution Posted February 2, 2023 You need to edit your conf_global.php to change your board URL. Afterwards you may need to go to the support section of your ACP and clear your system cache so that the new address is picked up within the cached system files.
Marc Posted February 2, 2023 Posted February 2, 2023 Just to add, you need to use clear URL before you do any redirects from www once you have changed it. If you have any problem just let us know
djbob2 Posted February 3, 2023 Author Posted February 3, 2023 16 hours ago, Randy Calvert said: You need to edit your conf_global.php to change your board URL. Afterwards you may need to go to the support section of your ACP and clear your system cache so that the new address is picked up within the cached system files. That worked perfectly! It's been 18 years since this forum was set up and it's been on that same domain the whole time too so I forgot about conf_global.php file. I was just looking around in the admin section for a URL. After the change some of the images were showing up as boxes, but clearing the system cache fixed that. I added the redirect in .htaccess to remove the www, and everything seems to be working now. Thank you so much. Randy Calvert 1
Recommended Posts