Welcome to WebmasterWorld Guest from 54.166.54.215

Forum Moderators: Ocean10000 & incrediBILL & phranque

.htaccess redirect

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

10+ Year Member



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?

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

WebmasterWorld Senior Member 10+ Year Member



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.

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

10+ Year Member



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.

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

10+ Year Member



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.

 

Featured Threads

Hot Threads This Week

Hot Threads This Month