skip to Main Content

URL Rewrite – PHP & Apache – SEO

I have links like <li><a href="search.php?domainid=5&cat=electronic">Electronic</a></li> How can I change it to <li><a href="electronic.html">Electronic</a></li> I have more than 50 categories. I am using Apache web server and PHP 5.5. Need dynamic URL Rewrite for SEO friendly URL. <li><a href="search.php?domainid=5&cat=electronic">Electronic</a></li> this…

VIEW QUESTION

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