skip to Main Content

.htaccess can't add directory slash – SEO

So I've been trying to rewrite my php URLs with .htaccess so that they are more SEO/user friendly. Here is my code: RewriteBase / Options +FollowSymLinks -MultiViews DirectorySlash On RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-l…

VIEW QUESTION

.htaccess affect other file url – SEO

I am trying to make .htaccess rule not affect other file url example my .htaccess rule is RewriteEngine On RewriteRule ^([^/]*)$ /tr/hp.php?q=$1 [L] my site url is mydomain.com/keywords everything working good on keywords but when I try to open robots.txt…

VIEW QUESTION

htaccess RewriteRule to https doesn't work combined with other rules – SEO

I'm trying to set a few rules in my .htaccess to work in a specific way: Specific page redirections: RewriteRule "^web/site/mais$" https://www.main.com/front/for-you/insurance/ [R=301,L] Home redirection RewriteRule ^$ https://www.forexample.com.br/for-you/ [R=301,L] RewriteRule ^/$ https://www.forexample.com.br/for-you/ [R=301,L] HTTP to HTTPS and add www to…

VIEW QUESTION
Back To Top
Search