Jump to the post that solved this thread.
Not Solved [How To?] 301 redirect through .htaccess
#1
Not Solved
My mybb directory is in root directory. And I am seeing that it has two different .htaccess files (one .htaccess and ngix).

I want to redirect a sub-domain to the root directory. How should I do it? And also the site is now http so I will be converting it to https through letsencrypt service so if you guys please provide me the information about redirecting the sub-domain to the root directory (which is with https) then it will be really helpful.
Reply
#2
Not Solved
(2019-01-21, 06:43 AM)vk_knight Wrote: My mybb directory is in root directory. And I am seeing that it has two different .htaccess files (one .htaccess and ngix).

I want to redirect a sub-domain to the root directory. How should I do it? And also the site is now http so I will be converting it to https through letsencrypt service so if you guys please provide me the information about redirecting the sub-domain to the root directory (which is with https) then it will be really helpful.

You should rename the htaccess.txt file. Ignore the nginx one, unless you're using nginx instead of Apache. 

Make sure that .htaccess file is in the ROOT directory of your website.

[Image: 91f0bfeec64a99665dc1b27989f986f5.png]
I'm Serpius and You're Not    ¯\_(ツ)_/¯
Reply
#3
Not Solved
Thanks, Serpius you are just great as always.
Reply
Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 1 Guest(s)