I've a website with following .htaccess code. The problem is apache (and/or something else) puts more slashes inside urls. For example;
domain.com/blog/blog-post/ (This is what i want)
But this is what i get;
domain.com//blog/blog-post/ or domain.com//about-us//
I've googled it but i didn't reach something usefull. Sorry for my bad English :) Here is the code
Options +FollowSymLinks -MultiViews -Indexes
DirectorySlash Off
RewriteEngine on
RewriteRule ^neler-yapiyoruz/$ index\.php [NC]
RewriteRule ^iletisim/$ contact\.php [NC]
RewriteRule ^biz-kimiz/$ about\.php [NC]
RewriteRule ^blog/$ blog\.php [NC]
RewriteRule ^blog/([a-z0-9-]+)/$ blog_post\.php?slug=$1 [NC]
RewriteRule ^portfolio/([a-z0-9-]+)/([a-z0-9-]+)/$ portfolio.php?catSlug=$1&slug=$2 [NC]