06-06-2019, 07:48 AM
Thanks for replying but i found a results by my own. after some research i finally got it, actually i'm using apache 2 so
i have edited /etc/apache2/apache2.conf there where i enabled .htaccess by changing AllowOverride None to AllowOverride All.
And use those commands to restart apache2
i have edited /etc/apache2/apache2.conf there where i enabled .htaccess by changing AllowOverride None to AllowOverride All.
And use those commands to restart apache2
Code: (Select All)
systemctl restart apache2
netstat -tlpn| grep apache
ss -tlpn| grep apache
and thats it for redirect i have used "Redirect / http://example.com" on my .htaccess".