301 redirection
Hi,
I would like to 301 redirect all sub urls of my domain containing 'dot' to my main website URL. For example: Say my domain is redirecttestdm.com. I need to redirect links like : http://redirecttestdm.com/testing/2935/asp.netserver http://redirecttestdm.com/testing/29...-in-b.e-b.tech to: http://redirecttestdm.com Please help. |
You may try this:
Code:
RewriteEngine on |
Thanks Bathory. It worked.
I have another doubt. Is it possible to do a 301 redirection for all pages which is having a soft 404 error. ie, the page exists but the content removed. |
Quote:
Code:
RewriteEngine On |
Thanks :)
|
All times are GMT -5. The time now is 08:31 AM. |