Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

url rewritting


Recommended Posts



in first time , i want to apologize for my english cause i know that i m not the best english writter.

but anyway


i just install the SEO Url rewritting on MS2.2.


everything work , but i m looking for changing the subdomains with an exterior domain based on lycos hosts

here is my .htaccess with all my try


# $Id: .htaccess,v 1.1 2003/06/20 00:18:30 hpdl Exp $




#RewriteEngine on

#RewriteCond %{http://www.girafe.com} !-U

#RewriteRule ^(.+) http://shop.mamamia.com/$1



#RewriteEngine on

#RewriteCond %{REQUEST_URI} !-U

#RewriteRule ^(.+) http://girafe.com/$1 [R,L]


# For sites running on a port other than 80

#RewriteCond %{HTTP_HOST} !^fully\.qualified\.domain\.name [NC]

# RewriteCond %{HTTP_REFERER} !^$

#RedirectPermanent http://shop.mamamia.com/ http://www.girafe.com/


Options +FollowSymLinks

RewriteEngine On

RewriteBase /


RewriteRule ^(.*)-p-(.*).html$ product_info.php?products_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-c-(.*).html$ index.php?cPath=$2&%{QUERY_STRING}

RewriteRule ^(.*)-m-(.*).html$ index.php?manufacturers_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-pi-(.*).html$ popup_image.php?pID=$2&%{QUERY_STRING}

RewriteRule ^(.*)-t-(.*).html$ articles.php?tPath=$2&%{QUERY_STRING}

RewriteRule ^(.*)-a-(.*).html$ article_info.php?articles_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-pr-(.*).html$ product_reviews.php?products_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-pri-(.*).html$ product_reviews_info.php?products_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-i-(.*).html$ information.php?info_id=$2&%{QUERY_STRING}



i m really lost and i have to do this redirection,


please save me


niko Smile

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...