homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

how to let all old urls to the new ones?

10+ Year Member

Msg#: 4546644 posted 2:30 am on Feb 19, 2013 (gmt 0)

Mens-Glasses-1-2a --> Mens-Glasses
Womens-Glasses-1-2a --> Womens-Glasses
Reading-Glasses-1-2a --> Reading-Glasses

I want all urls with -1-2a permently rediect to none -1-2a urls. how to write the .htaccess, pls?



WebmasterWorld Senior Member lucy24 us a WebmasterWorld Top Contributor of All Time Top Contributors Of The Month

Msg#: 4546644 posted 6:02 am on Feb 19, 2013 (gmt 0)

Let's see what your first attempts look like.

You've been here since 2004. You know nobody is going to write your code for you upfront. :)

Even when, ahem, it could be done in less time than it took to compose this post. Is it really, literally, anything containing "-1-2a" ? In mid-URL, or is it the trailing part of an extensionless page name?

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved