skip to Main Content

How to minimize .htaccess rules? – SEO

I have a following .htaccess rules for seo friendly url : .htaccess rules : Options -MultiViews ErrorDocument 404 http://localhost/aponit/dev/not-found.php ErrorDocument 500 http://localhost/aponit/dev/404.php RewriteEngine on RewriteRule ^(?:zones/)?update/(w+)/?$ zones/update.php?z=$1 [L,QSA,NC] RewriteRule ^(?:cable-types/)?update/(w+)/?$ cable-types/update.php?cbl=$1 [L,QSA,NC] RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}.php -f RewriteRule ^(.+?)/?$…

VIEW QUESTION

OpenCart SEO isnt working even with rewrite mode enabled and SEO URLs = yes

I have opencart installed with ubuntu 14.04, my apache config file is: <VirtualHost *:80> ServerAdmin webmaster@localhost ServerName example.com ServerAlias www.example.com DocumentRoot /var/www/example.com/ <Directory /var/www/example.com> DirectoryIndex index.php Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all Require all granted…

VIEW QUESTION

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