MyBB Community Forums

Full Version: Changing my forum site links
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi all,

I have a small problem how do I change my forum links into a simple one ? 

Like my homepage has .indexphp I want like here in mybb support forum it doesn't have the index.php on the url link

Also I would like to change the link format of my threads like this an example

My Forum site link:
https://scopex.net/showthread.php?tid=2

I want the link Like this:
https://community.mybb.com/thread-228851.html

How do I do that ? Advance thanks to those who are going to help me.
in the header template of the theme you can remove index.php from the logo link
<a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a>
change to
<a href="{$mybb->settings['bburl']}"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a>

see also : removing index.php

And you can use Search Engine Friendly URLs with .htaccess file
see related guidance here => MyBB: SEF URLs
Okay so I did everything on the first step yes It work thanks! the index.php is now gone, now there's been a problem when the .htaccess files thingy because I don't know if I understand the steps correctly.

So I did change on the .htaccess file on my hosting root and add the following codes that the tutorial said here is a screenshot: https://imgur.com/a/jEFQ1Gf

Now the problem is it made the links crashed/unavailable but if you can see the url on my address bar the code somehow work since it change the url but the whole display is gone Sad here is a screenshot again: https://imgur.com/a/Szpp5Qd

If you can tell it to me step by step that would be a great help and thank you again .m. for helping me.
remove all occurrences of /MYbb/ from that .htaccess file & try again