I'm looking for a way so that if a user types example.com it changes to http://www.example.com. How can i do this with friendly urls?
I'm using XenForo.
Thanks in advance,
~Frosty
Redirect with friendly urls
-
- New to forums
- Posts: 2
- https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
- Joined: Fri Jul 29, 2016 3:07 pm
-
- New to forums
- Posts: 2
- Joined: Fri Jul 29, 2016 3:07 pm
Re: Redirect with friendly urls
Found the solution, this is for XenForo users only. I have no clue if this will work for other forums.ImStayFrosty wrote:I'm looking for a way so that if a user types example.com it changes to http://www.example.com. How can i do this with friendly urls?
I'm using XenForo.
Thanks in advance,
~Frosty
https://xenforo.com/community/threads/m ... -www.8232/
This is what I got to work
Code: Select all
RewriteCond %{HTTP_HOST} ^wickedcommunity\.com$ [NC]
RewriteRule ^(.*)$ http://www.wickedcommunity.com/$1 [R=301,L]