RewriteEngine On

# Ensure the request is not for a real file or directory
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

# Rewrite /ventures/city_link to ventures.php?city_link=city_link
RewriteRule ^ventures/([^/]+)/?$ ventures.php?city_link=$1 [L,QSA]

# Rewrite /ventures_view/city_link/ongoing_link to ventures_view.php?city_link=city_link&ongoing_link=ongoing_link
RewriteRule ^ventures_view/([^/]+)/([^/]+)/?$ ventures_view.php?city_link=$1&ongoing_link=$2 [L,QSA]

# php -- BEGIN cPanel-generated handler, do not edit
# Set the “alt-php74” package as the default “PHP” programming language.
<IfModule mime_module>
  AddHandler application/x-httpd-alt-php74 .php .php7 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit
