Hi,
I appreciate, it is always a good practice to post the solution to group.
On Fri, Nov 2, 2012 at 1:15 PM, Alpesh Bhavsar <alpeshbhavsar19...@gmail.com
> wrote:
> Hi All,
> Its done. I have applied below rules.
> RewriteCond %{REQUEST_URI} ^/(.*)/([^_]*)_(.*)$
> RewriteRule ^(/?.*/[^/]*?)_([^/]*?_[^/]*)$ $1-$2 [N]
> RewriteRule ^(/?.*/[^/]*?)_([^/_]*)$ $1-$2.html [R=301]
> RewriteRule ^/(.*)/(.*)$ $2 [R,L]
I suggest other to follow the same, post the final solution and conclusion,
will help to the community.
Thanks and Regards.
--
--
Nilesh Vaghela
(RHCSA RHCE)
ElectroMech Corporation
Redhat Channel Partner and Training Partner
302, New York Plaza, Opp Judges Bunglow, Bodakdev, Ahmedabad
22, 1st Floor, Vardhaman Complex, Subhanpura , Baroda.
www.electromech.info