Merhaba hocalarım "htaccess" ile ilgili bir sorunum var R10 seo analiz aracını kullandığımda altta ki atacağım resim de ki gibi bir hata almaktayım.
Buraya kullanmış olduğum
htaccess dosyamı bırakıyorum size zahmet olması gerekeni bana söyleyebilir misiniz.
www.siteadresi.com den
http://siteadresi.com'ye yönlendirmek istiyorum. Şuanda da
http://siteadresi.com bu şekilde çalışıyor site ama hataya anlam veremedim.
Kullandığım htaccess ;
# LiteSpeed XenForo cache
<IfModule litespeed>
CacheLookup public on
RewriteEngine On
# cache
RewriteCond %{HTTP_COOKIE} !(xf_lscxf_logged_in|xf_user|xf_session_admin) [NC]
RewriteCond %{REQUEST_URI} !/install/ [NC]
RewriteRule .* - [E=Cache-Control:max-age=360,E="cache-vary:xf_style_id,xf_language_id"]
# no cache
RewriteCond %{HTTP_COOKIE} (xf_lscxf_logged_in|xf_user|xf_session_admin) [NC]
RewriteRule .* - [E=Cache-Control:vary=loggedin,E=Cache-Control:no-cache]
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^(data/|js/|styles/|install/|favicon\.ico|crossdomain\.xml|robots\.txt) - [NC,L]
RewriteRule ^.*$ index.php [NC,L]
RewriteCond %{HTTP_HOST} ^site-adi\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.site-adi\.com$
RewriteRule ^/?$ "https\:\/\/site\-adi\.com\/" [R=301,L]
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www.site-adi.com [NC]
RewriteRule ^(.*)$ http://site-adi.com/$1 [L,R=301]
</IfModule>
# php -- BEGIN cPanel-generated handler, do not edit
# Set the ea-php74 package as the default PHP programming language.
<IfModule mime_module>
AddHandler application/x-httpd-ea-php74 .php .php7 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not editYardımlarınız için şimdiden teşekkür ederim.