Jump to the post that solved this thread.
Solved: 4 Years, 2 Months, 2 Weeks ago Subdomain Redirect
#1
Solved: 4 Years, 2 Months, 2 Weeks ago
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>
Reply
#2
Solved: 4 Years, 2 Months, 2 Weeks ago
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>
Reply
#3
Solved: 4 Years, 2 Months, 2 Weeks ago
(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>

[Image: xNx8cu7l.jpg]
Reply
#4
Solved: 4 Years, 2 Months, 2 Weeks ago
.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.
Reply
#5
Solved: 4 Years, 2 Months, 2 Weeks ago
You'll have to start the href value with http://
MyReactions - All Plugins

Can you still feel the butterflies?

Free never tasted like pudding.
Reply
#6
Solved: 4 Years, 2 Months, 2 Weeks ago
(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
Reply
#7
Solved: 4 Years, 2 Months, 2 Weeks ago
(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

[Image: f7FdEdG.jpg]

Big Grin
MyReactions - All Plugins

Can you still feel the butterflies?

Free never tasted like pudding.
Reply
#8
Solved: 4 Years, 2 Months, 2 Weeks ago
(2016-12-14, 03:51 PM)Matt Wrote:
(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

[Image: f7FdEdG.jpg]

Big Grin

Well at that point, if you're using https you should force any links to https so users don't go to the http link Toungue
Reply
#9
Solved: 4 Years, 2 Months, 2 Weeks ago
(2016-12-14, 12:11 PM)Matt Wrote: You'll have to start the href value with http://

Thank you.
Reply
#10
Solved: 4 Years, 2 Months, 2 Weeks ago
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
Reply
Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 1 Guest(s)