Warning: Illegal string offset 'class' in /home/masterhosting/public_html/wp-content/themes/DBT-Webly/epanel/custom_functions.php on line 123
Warning: Illegal string offset 'alt' in /home/masterhosting/public_html/wp-content/themes/DBT-Webly/epanel/custom_functions.php on line 124
Warning: Illegal string offset 'title' in /home/masterhosting/public_html/wp-content/themes/DBT-Webly/epanel/custom_functions.php on line 125
Warning: Invalid argument supplied for foreach() in /home/masterhosting/public_html/wp-content/themes/DBT-Webly/epanel/custom_functions.php on line 134

زمانی که شما قصد انتقال http به https توسط htaccess رو دارید ؛ میتونید از کد زیر در فایل htaccess استفاده کنید تا انتقال انجام بشه به صورت اتوماتیک ؛ http به https تبدیل خواهد شد در url و لینک های شما :
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L]