Daha önce başına gelen olmuştur mutlaka.
Bildiğiniz gibi hostgator ana ftp altında diğer sitelerizi de gösteriyor. Ana dizindeki .htaccess dosyası yeni kurduğum siteyi engelliyor.
Css dosyalarını ve temayı engellediği için admin paneli de açılmıyor.
htaccess dosyasına hangi kodları yazmalıyımki site sorunsuz açılsın?
Denediğim yöntemler:
Boş .htaccess dosyası attım olmadı.
Ana dizindeki htaccess dosyasını sildim olmadı.
Ana dizindei htaccess kodlarını yeni siteye de ekledim olmadı.
Host şirketi şöyle bir cevap verdi :
Go ahead and try now. The rules in the public_html .httaccess which add the "/" at the end of the URL was causing the issue. I've renamed the .htaccess to .htaccess.bak.
You will need to move the .htaccess away and then clear your cache to see the changes.
Wordpress Htaccess Sorunu
2
●3.010
- 20-10-2010, 08:22:56alt dizinde aşağıdaki şekilde .htaccess oluşturup deneyin.
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /DIZINADI/ RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /DIZINADI/index.php [L] </IfModule> # END WordPress