4. Open the file: .htaccess.
4.1 Go to the line:
RewriteBase //
4.2 Leave the line as it is if your address will have the following form:
yoursite.com
subdomain.yoursite.com
4.3 However, if your website address will have for example the following form:
yoursite.com/SubFolderName/
subdomain.yoursite.com/SubFolderName/
then change this line to:
RewriteBase /SubFolderName/
ama benim htacces içinde is kodlar şu sekil
# Turn on URL rewriting
RewriteEngine On
RewriteBase //
# Protect hidden files from being viewed
<Files .*>
Order Deny,Allow
Deny From All
</Files>
# Protect application and system files from being viewed
RewriteRule ^(?:application|modules|system)\b.* index.php/$0 [L]
# List of files in subdirectories will not be displayed in the browser
Options -Indexes
# Allow any files or directories that exist to be displayed directly
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
AddDefaultCharset utf-8
AddCharset UTF-8 .htm .html .txt
AddType "text/html; charset=UTF-8" .htm .html .txt
AddType "text/css; charset=UTF-8" .css
AddType "text/javascript; charset=UTF-8" .js
# Rewrite all other URLs to index.php/URL
RewriteRule .* index.php/$0 [PT]