Merhaba ,
Web sitemi www.orneksite.com olarak kurdum. Daha sonra google da dahil olmak üzere https://orneksite.com olarak girildiği zaman sepete ekle tuşuna basınca hata vs veriyor. Bu sorunu htacsess veya config dosyalarında nasıl ayarlar yaparak çözebilirim ?
Htacsess kodları ;
Options +FollowSymlinks
Options -Indexes
<FilesMatch "(?i)((.tpl|.twig|.ini|.log|(?<!robots).txt))" >
Require all denied
</FilesMatch>
RewriteEngine On
RewriteBase /
RewriteRule ^sitemap.xml$ index.php?route=extension/feed/google_sitemap [L]
RewriteRule ^googlebase.xml$ index.php?route=extension/feed/google_base [L]
RewriteRule ^system/storage/(.*) index.php?route=error/not_found [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !.*.(ico|gif|jpg|jpeg|png|js|css)
RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]
Config kdoları;,
<?php
// HTTP
define('HTTP_SERVER', 'https://www.x.com/');
// HTTPS
define('HTTPS_SERVER', 'https://www.x.com/');
// DIR
define('DIR_APPLICATION', '/home/xs/public_html/catalog/');
define('DIR_SYSTEM', '/home/x/public_html/system/');
define('DIR_IMAGE', '/home/x/public_html/image/');
define('DIR_STORAGE', '/home/x/korkusuzgames/storage/');
define('DIR_LANGUAGE', DIR_APPLICATION . 'language/');
define('DIR_TEMPLATE', DIR_APPLICATION . 'view/theme/');
define('DIR_CONFIG', DIR_SYSTEM . 'config/');
define('DIR_CACHE', DIR_STORAGE . 'cache/');
define('DIR_DOWNLOAD', DIR_STORAGE . 'download/');
define('DIR_LOGS', DIR_STORAGE . 'logs/');
define('DIR_MODIFICATION', DIR_STORAGE . 'modification/');
define('DIR_SESSION', DIR_STORAGE . 'session/');
define('DIR_UPLOAD', DIR_STORAGE . 'upload/');
// DB
define('DB_DRIVER', 'mysqli');
define('DB_HOSTNAME', 'localhost');
define('DB_USERNAME', 'x_56');
define('DB_PASSWORD', 'Y(p670AQS]');
define('DB_DATABASE', x_56');
define('DB_PORT', '3306');
define('DB_PREFIX', 'ocvu_');
www. sorunu nasıl çözülür ?
20
●155
- 31-01-2021, 22:16:09Kaldırdım bu seferde www. da hata veriyoroktayWEB adlı üyeden alıntı: mesajı görüntüle
- 31-01-2021, 22:20:27Üyeliği durdurulduBirde alttaki kodu .htaccess dosyana yazıp denermisin?Misafir adlı üyeden alıntı: mesajı görüntüle
RewriteEngine On RewriteCond %{HTTP_HOST} ^www\.domainadiniz\.com$ RewriteRule ^(.*)$ http://domainadiniz.com/$1 [L,R=301 - 31-01-2021, 22:27:13Üyeliği durdurulduMisafir adlı üyeden alıntı: mesajı görüntüle
Olmaması imkansız, çerezleri temizleyip girermisin?
