Jump to the post that solved this thread.
Not Solved [How To?] 301 redirect through .htaccess
#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
Jump to the post that solved this thread.


Messages In This Thread
301 redirect through .htaccess - by vk_knight - 2019-01-21, 06:43 AM
RE: 301 redirect through .htaccess - by Serpius - 2019-01-21, 08:40 PM
RE: 301 redirect through .htaccess - by vk_knight - 2019-01-22, 09:28 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)