homepage Welcome to WebmasterWorld Guest from 174.129.130.202
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?
htaccess
abiao




msg:4546646
 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?

 

lucy24




msg:4546678
 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