Welcome to WebmasterWorld Guest from

Forum Moderators: Ocean10000 & phranque

Message Too Old, No Replies

Using .htaccess to shorten URLs

Shortening my Miva Merchant SFL URLs, can it be done?

8:19 am on Jan 7, 2004 (gmt 0)

New User from US 

10+ Year Member

joined:Oct 9, 2003
votes: 0

I'm using the Miva Merchant ecommerce application.

I am using an add-on module called Search Friendly Links that changes the dynamic URLs to more search engine friendly URLs. However, the SFL URLs appears to be 4 directories deep and I would like to eliminate them or at least some of them.

Here are some examples:

Standard Miva Merchant category page URL:


SFL creates:


Which I would like to be:


Here is my .htaccess:

RewriteEngine On
RewriteCond %{REQUEST_URI} !-s
RewriteRule ^page/(.*) /Merchant2/merchant.mvc?page=$1

In the SFL URL: page is always there but means nothing and the store-code is always the same.

Product pages are the same except CTGY is PROD

Any help would be greatly appreciated!

[edited by: jdMorgan at 2:24 am (utc) on Jan. 8, 2004]
[edit reason] de-linked [/edit]

2:26 am on Jan 8, 2004 (gmt 0)

Senior Member

WebmasterWorld Senior Member jdmorgan is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Mar 31, 2002
votes: 0


Welcome to WebmasterWorld [webmasterworld.com]!

This thread [webmasterworld.com] may provide a good starting point, and then we can hammer out the details.