skip to Main Content

mod_rewrite 301 redirect from old urls to new – SEO

Website has changed its url names due to SEO reasons, e.g. it was: /category/filter1/f00/filter2/123/filter3/100-500/filter4/36.html now: /category/color/red/size/big/price/100-500/style/classic.html I know the old and new names, they're fixed. Please help me to build a rewrite rule which will result in 301 redirect from…

VIEW QUESTION

.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
Back To Top
Search