Thank you "thewebhostingdi" - the first error was that Shell was not enabled. I did that with the hosting company.
The next step was creating the right code. What I was looking for was not easily explained on any website that I could find. I had a dozen bookmarked links, none of which clearly explained what I needed. However, here is the solution - just in case others would use this post to learn:
First, make sure that this is included:
Code:
RewriteEngine On
RewriteBase /
Next, this piece of code will redirect all exact site name changes such as
www.somesite.com/home_state.php?page=careers
to www.somesite.com/careers.html
Code:
RewriteCond %{QUERY_STRING} page=(.+)
RewriteRule ^home_state\.php http://somesite.com/%1.html? [R=permanent,L]
For renamed redirects, use individual code like this:
Code:
RewriteCond %{QUERY_STRING} page=products1
RewriteRule ^home_state\.php http://somesite.com/products.html? [R=permanent,L]
The above code would redirect www.somesite.com/home_state.php?page=products1 to www.somesite.com/products.html
Bookmarks