ultrus Posted November 10, 2010 Share Posted November 10, 2010 Hello, How would i do this with .htaccess?: /somepage.html?id=this-dead-page-had-lots-of-random-parameters&moreParameters=you-bet to http://www.mysite.com (with no parameters) Currently the following has undesired results: Redirect 301 /somepage.html http://www.www.mysite.com results in http://www.www.mysite.com/?q=id=this-dead-page-had-lots-of-random-parameters&moreParameters=you-bet The Drupal site I'm working with is adding in the ?q= part. I'm trying to stop that in general before getting that far. Any thoughts? Much appreciated in advance. Chris Link to comment https://forums.phpfreaks.com/topic/218328-somepagehtmlidlots-of-crud-httpmysitecom-with-no-parameters/ Share on other sites More sharing options...
ultrus Posted November 10, 2010 Author Share Posted November 10, 2010 Never mind. I was able to fix this outside .htaccess. Link to comment https://forums.phpfreaks.com/topic/218328-somepagehtmlidlots-of-crud-httpmysitecom-with-no-parameters/#findComment-1132801 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.