404 yönlendirme
buyrun
RewriteEngine on
RewriteRule (.*)\.html$
Gürçay Kamberoğlu
Options All -Indexes
ErrorDocument 401 /index.php
ErrorDocument 403 /index.php
ErrorDocument 404 /index.php
ErrorDocument 500 /index.php
ikisinide kullansam olurmu ? veya hangisi daha verimli yöntemdir ?
Benim htaccsess şuanda böyle
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPressbende böyle yapsam bir sorun olmaz değilmi ?
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
Options All -Indexes
ErrorDocument 401 /index.php
ErrorDocument 403 /index.php
ErrorDocument 404 /index.php
ErrorDocument 500 /index.php
RewriteEngine on
RewriteRule (.*)\.html$ http://siteadı.com/
# END WordPress