Go Back   CodingForums.com > :: Server side development > Apache configuration

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 01-02-2011, 06:40 PM   PM User | #1
musicforte
New Coder

 
Join Date: Aug 2010
Location: Illinois
Posts: 20
Thanks: 1
Thanked 1 Time in 1 Post
musicforte is an unknown quantity at this point
Smile Remove multiple instances of character from URL with 301 redirect

I've noticed from Webmaster Tools that there there is a good site that is somehow malforming our urls. From the particular site, they look like this:

Code:
www.domain.com/<b>this</b>_is_<b>the</b>_url/
I want to perform a 301 .htaccess rewrite that will strip all instances of <b> and </b> so that the above url would be:

Code:
www.domain.com/this_is_the_url/
Can someone tell me how to do that? I'm not getting anywhere.

Thanks.
__________________
Sheet music for all occasions
musicforte is offline   Reply With Quote
Reply

Bookmarks

Tags
301, htaccess, redirect

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:45 PM.


Advertisement
Log in to turn off these ads.