Hi, how would I redirect a domain.com to subdomain.domain.com
using
<li><a href="{$mybb->settings['bburl']}/something"><i class="fa fa-users fa-2x"></i><br />Something</a></li>
Replace:
<li><a href="{$mybb->settings['bburl']}/something"><i class="fa fa-users fa-2x"></i><br />Something</a></li>
With something like:
<li><a href="subdomain.domain.com"><i class="fa fa-users fa-2x"></i><br />Something</a></li>
(2016-12-14, 06:24 AM)Wage Wrote: [ -> ]Replace:
<li><a href="{$mybb->settings['bburl']}/something"><i class="fa fa-users fa-2x"></i><br />Something</a></li>
With something like:
<li><a href="subdomain.domain.com"><i class="fa fa-users fa-2x"></i><br />Something</a></li>
.net isnt a website file so I that wont work. This can't be done with mybb as far as I'm aware. You will need to go to your domain provider and do it there. If you're using cpanel for the domain click on redirects in the domain section.
You'll have to start the href value with http://
(2016-12-14, 12:11 PM)Matt Wrote: [ -> ]You'll have to start the href value with http://
Actually, you should start it with
// so that if someone is visiting it via
https, the link is also
https
(2016-12-14, 03:41 PM)laie_techie Wrote: [ -> ] (2016-12-14, 12:11 PM)Matt Wrote: [ -> ]You'll have to start the href value with http://
Actually, you should start it with // so that if someone is visiting it via https, the link is also https
Fair point
(2016-12-14, 12:11 PM)Matt Wrote: [ -> ]You'll have to start the href value with http://
Thank you.
If you start a new website or want to have a fresh start then create your subdomain first because its easier to install it that way than changing those settings