Multiple RewriteCond .htaccess Query String Redirects
It's easy to redirect simple page urls from one location to another but query strings redirection can make you pull your hair.
This is how I redirected simple pages:
It's easy to redirect simple page urls from one location to another but query strings redirection can make you pull your hair.
This is how I redirected simple pages:
Today's task was to redirect all pages from an old domain to new domain except one page (google verification file). All pages including any query string should be stripped out and redirect to only homepage of new domain with out any query string.
I wanted to create subdomains for all the categories listed here. It was not possible with shared hosting with previous web hosting provider. So, I moved to media temple and they support wildcard subdomain.
So, today I generated all the subdomains to test with all the categories here: http://learntipsandtricks.com/categories
But all of them were displaying homepage content as I had not modified the .htaccess file. So I added this: