چنانچه ادرس لینک سایت به هیچ روشی ست سندیکاپارسی شاپ نشد از کدزیر در htaccess استقاده کنیدبجای yoursite.ir از لینک سایت خوداستفاده کنید
یا این کد درون htaccessکد HTML:RewriteEngine onRewriteCond %{HTTP_HOST} ^yoursite.ir [NC,OR] RewriteCond %{HTTP_HOST} ^www.yoursite.ir [NC] RewriteRule ^(.*)$ https://www.yoursite.ir/$1 [L,R=301,NC]
برای نمایش درست صفحه وایندکس وعدم مشاهده خطای 403 در وردپرس از کدزیر در htaccessاستفاده کنید# HTTPS redirect
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}/$1 [R=301,L]
</IfModule>
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress



پاسخ با نقل قول

علاقه مندي ها (Bookmarks)