MyBB Community Forums

Full Version: How to change thread and forum URL to .html
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

With the default install, my post and forum URL are : mydomain.com/showthread.php?tid=1 and mydomain.com/forumdisplay.php?fid=2 respectively.

However, it is community.mybb.com/forum-176.html and http://community.mybb.com/announcement-32.html in this forum

How can I achieve the same?  Thank you so much
ACP -> Configuration -> Server and Optimisation Options -> Enable search engine friendly URLs? -> set to Enabled, save and make sure you rename the default htaccess.txt file to .htaccess (without extension)
(2015-07-05, 02:38 PM)Destroy666 Wrote: [ -> ]ACP -> Configuration -> Server and Optimisation Options -> Enable search engine friendly URLs? -> set to Enabled, save and make sure you rename the default htaccess.txt file to .htaccess (without extension)

Hi Destroy666,

I have done that but it doesn't work. I have already activated apache mod_rewrite module as well

Is anything else need to be done?
^ have you restarted the server after enabling mod_rewrite module ? does it appear in php info (tools & maintenance section)
(2015-07-06, 02:39 AM).m. Wrote: [ -> ]^ have you restarted the server after enabling mod_rewrite module ? does it appear in php info (tools & maintenance section)
Yes, it does

====
Well, it turns out that I haven't allowed the .htaccess file to override standard website configs
More information here for prospective readers:
http://stackoverflow.com/questions/18740...erride-all

It works now for Apache2 yeah  Lightbulb 
But I need to make it work on nginx and don't know how to enable mod_rewrite in nginx Sad

I saw htaccess-nginx.txt, but don't know what to do next.
Any help is greatly appreciated.  Angel