.htaccess rewrite GET variables w/ 301 redirect
问题 I'm trying to simultaneously do a 301 redirect and imporve my url structure by stripping the get variables. I recently updated my website and Google has some old pages cached that have since moved. The structure looks like this wwww.domain.com/locations.asp?zip=10001 <---OLD URL wwww.domain.com/locations/?zip=10001 <---NEW URL Right now I'm redirecting the old page to the new using the following line in my .htaccess file: Redirect 301 /solar_panel_systems_zip.asp /zip-code/ The above works