homepage Welcome to WebmasterWorld Guest from 54.226.18.74
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

    
.htaccess redirect
Gladman911




msg:1511096
 2:08 am on Sep 9, 2003 (gmt 0)

I want to send all mistyped urls starting with

www.abc.com/sample/

to

www.abc.com/sample/abc.html

How do I do this?

 

DaveAtIFG




msg:1511097
 3:20 am on Sep 9, 2003 (gmt 0)

Welcome to WebmasterWorld Gladman911! :)

Start here [webmasterworld.com], then post your code. One of our regulars are usually happy to help you debug it, if necessary.

stevenha




msg:1511098
 12:32 am on Sep 10, 2003 (gmt 0)

Are you asking about the single case of this URL www.abc.com/sample/ or are you asking about many mis-spellings like:

www.abc.com/semple/
www.abc.com/sample/aabc.html
www.abc.com/sample/abc.htm

I'd like to know if there are approaches for both situations. Assume that the mod_speling module is not available on the apache server.

Gladman911




msg:1511099
 12:56 am on Sep 10, 2003 (gmt 0)

I want all urls starting with

www.abc.com/sample/

to go to

www.abc.com/sample/index.html

so

www.abc.com/sample/x.html

will go to

www.abc.com/sample/index.html

and not my 404 handler.

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