aniesh82 Posted October 23, 2007 Share Posted October 23, 2007 Hello I need to redirect all pages in admin directory to https:sitename.com/admin/file name Could someone help me to write the htaccess to do this ? Thanks & Regards Aniesh Link to comment https://forums.phpfreaks.com/topic/74423-how-to-redirect-all-pages-in-a-directory-to-https-using-htaccess/ Share on other sites More sharing options...
LemonInflux Posted October 23, 2007 Share Posted October 23, 2007 couldn't you just use a normal re-direct? Link to comment https://forums.phpfreaks.com/topic/74423-how-to-redirect-all-pages-in-a-directory-to-https-using-htaccess/#findComment-376009 Share on other sites More sharing options...
aniesh82 Posted October 23, 2007 Author Share Posted October 23, 2007 Hi Thanks for your reply... It takes too much time and not a good method.. Link to comment https://forums.phpfreaks.com/topic/74423-how-to-redirect-all-pages-in-a-directory-to-https-using-htaccess/#findComment-376012 Share on other sites More sharing options...
LemonInflux Posted October 23, 2007 Share Posted October 23, 2007 you just have to write 1 code, then include it o_O http://www.modrewrite.com by the way. Link to comment https://forums.phpfreaks.com/topic/74423-how-to-redirect-all-pages-in-a-directory-to-https-using-htaccess/#findComment-376021 Share on other sites More sharing options...
Azu Posted October 23, 2007 Share Posted October 23, 2007 Hi Thanks for your reply... It takes too much time and not a good method.. Shouldn't this be in the webserver section then? .htaccess redirects are server specific and have nothing to do with PHP, HTML or MySQL.. Link to comment https://forums.phpfreaks.com/topic/74423-how-to-redirect-all-pages-in-a-directory-to-https-using-htaccess/#findComment-376047 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.