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 Quote 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. Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.