Forum Moderators: phranque

Message Too Old, No Replies

Help with rewrite code.

mod rewrite static URLs to miva shop

         

allyourprints

2:56 pm on Aug 12, 2006 (gmt 0)

10+ Year Member



Hello all,

I would like to do two things:

Create a permanent 301 redirect from some old products in my Miva Merchant storefront that look like this.

www.yourdomain.com/prints-ss-01.html

I would like them to go to their miva pages which the equivelent would be:

[yourdomain.com...]

I would also like to submit this site to google sitemaps:

www.yourdomain.com/Merchant2/merchant.mvc?

The problem is they see it points to a file and don't accept it. So in the rewrite I am told that I need to specify the DirectoryIndex to be my /Merchant2/merchant.mvc page. How would I do that?

Thank you for any help anyone can provide.

jdMorgan

4:20 pm on Aug 12, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



See Changing Dynamic URLs to Static URLs [webmasterworld.com] in our forum library.

> ... specify the DirectoryIndex to be my /Merchant2/merchant.mvc page. How would I do that?

See the description of the Apache DirectoryIndex directive [httpd.apache.org].

For more information, see the additional documents cited in our forum charter [webmasterworld.com] and the tutorials in the Apache forum section of the WebmasterWorld library [webmasterworld.com].

Jim