Inurl Index Php Id 1 Shop Better !!hot!! · Trusted Source

RewriteRule ^products/([0-9]+)/([^/]+)$ index.php?id=$1&slug=$2 [L]

$id = $_GET['id']; $query = "SELECT * FROM products WHERE id = " . $id; $result = mysqli_query($connection, $query); inurl index php id 1 shop better

: This command tells Google to find pages where the URL contains a PHP file ( index.php ) using a database parameter ( id=1 ). RewriteRule ^products/([0-9]+)/([^/]+)$ index