
: Add this to your .htaccess file residing in your DocumentRoot. RewriteEngine On RewriteBase / #To prevent Looping RewriteCond %{ENV:REDIRECT_STATUS} 200 RewriteRule ^ - [L] #To redirect the converted
Add this to your .htaccess file residing in your DocumentRoot.
RewriteEngine On
RewriteBase /
#To prevent Looping
RewriteCond %{ENV:REDIRECT_STATUS} 200
RewriteRule ^ - [L]
#To redirect the converted URL to actual URL
RewriteRule ^doctors/MainCategoryName-(d+)/$ serach.php?c= [L]
RewriteRule ^doctors/MainCategoryName-(d+)/SubCatrogyrName-(d+)/$ serach.php?c=&s= [L]
#To convert your URL
RewriteCond %{QUERY_STRING} ^c=(d+)$ [NC]
RewriteRule ^serach.php /doctors/MainCategoryName-%1/? [L,R=301]
RewriteCond %{QUERY_STRING} ^c=(d+)&s=(d+)$ [NC]
RewriteRule ^serach.php /doctors/MainCategoryName-%1/SubCatrogyrName-%2/? [L,R=301]
More posts by @Kevin317
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2025 All Rights reserved.