Subfolder url get parameter not working in htaccess
I have a website like www.abc.com/service/page.php?ids=social. I redirected the site to www.abc.com/service/social. But I need to avoid this folder with url.Ex: www.abc.com/social.
Options +FollowSymLinks -MultiViews
RewriteEngine on
RewriteBase /service/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([a-zA-Z0-9]+|)/?$ page.php?ids=$1
+3
source to share
2 answers