Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help request on .htaccess and Ultimate Seo


alexwebbing

Recommended Posts

Hello, i search help.

I use this portion of code of my .htaccess for Ultimate seo:

 

# Ultimate SEO URLs BEGIN 

<IfModule mod_rewrite.c> 

#   Options +FollowSymLinks 

 RewriteEngine On 

 RewriteBase /catalog/ 

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

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

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

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

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

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

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

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

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

# Ultimate SEO URLs END 
# Added to fix article glitch on sub-articles (lonniew at gmail dot com) 

 RewriteRule ^(.*)-t-([0-9]+_[0-9]+).html$ articles.php?tPath=$2&%{QUERY_STRING} 

</IfModule>

 

The "Options +FollowSymLinks" is quoted for my server hosting configuration, if i not quote this code, my server doing: 500 Internal Server Error.

 

With this quote the ultimate seo urls works good, but... :

 

Not work good the view of all products in principal categories: if i visit any section with more product (50-100 or other) and is necessary to view other pages of other products, i have the redirect only for the first page of products.

 

 

For example:

 

Page:

catalog/index.php?cPath=40

is correctly redirecting with Ultimate seo

 

Page:

catalog/index.php?cPath=40&sort=3a&page=3

i have redirect on:

catalog/index.php?cPath=40

not good redirection....

 

Any help is appreciated

Best regards and sorry for my english... :-"

 

Thanks

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.

Guest
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...