
Originally Posted by
samad64
I'm sorry if you've already posted this elsewhere in the thread.. but do you mind sharing the entries in your htaccess file for that? Is it on a product by product basis? i would think with the amount of products you have that would be a PITA. I'm thinking about uninstalling ultimate SEO (still on 2.103) since i've had a few issues with it that i just can't keep using work arounds for
Here is the code to redirect the pages to original Zen Cart. I have pasted the code for Tim's SEFU as well as different other mods. If there is any that you do not have install, delete that path. There is also a line for redirecting music product type because we modified that with the pmi. Please not that this is to remove version 2.103 as you requested.
Code:
Options +FollowSymLinks
RewriteEngine On
RewriteBase /
# BEGIN SAFE REMOVE of Tim Kroeger's SEFU
RewriteRule ^(.*)pages-main/category-(.*)/page-([0-9]+)/sort-(.*)/(.*).html index\.php?main_page=index&cPath=$2&page=$3&sort=$4&%{QUERY_STRING} [L,R=301]
RewriteRule ^(.*)pages-main/category-(.*)/(.*).html index\.php?main_page=index&cPath=$2&%{QUERY_STRING} [L,R=301]
RewriteRule ^(.*)pages-productinfo/category-(.*)/product-(.*)/(.*).html index\.php?main_page=product_info&cPath=$2&products_id=$3&%{QUERY_STRING} [L,R=301]
RewriteRule ^(.*)pages-productinfo/product-(.*)/(.*).html index\.php?main_page=product_info&products_id=$2&%{QUERY_STRING} [L,R=301]
RewriteRule ^(.*)pages-product_reviews_info/product-(.*)/reviews_id-([0-9]+)/(.*).html index\.php?main_page=product_reviews_info&products_id=$2&reviews_id=$3&%{QUERY_STRING} [L,R=301]
RewriteRule ^(.*)pages-info_manager/pages_id-([0-9]+)/(.*).html index\.php?main_page=info_manager&pages_id=$2&%{QUERY_STRING} [L,R=301]
RewriteRule ^(.*)pages-product_music_info/product-(.*)/(.*).html index\.php?main_page=product_music_info&products_id=$2&%{QUERY_STRING} [L,R=301]
RewriteRule ^(.*)pages-(.*)/index.html index\.php?main_page=$2&%{QUERY_STRING} [L,R=301]
# END SAFE REMOVE
# From Ultimate SEO URLs version 2
RewriteRule ^(.*)-p-(.*).html$ index\.php?main_page=product_info&products_id=$2&%{QUERY_STRING} [R=301,L]
RewriteRule ^(.*)-c-(.*).html$ index\.php?main_page=index&cPath=$2&%{QUERY_STRING} [R=301,L]
RewriteRule ^(.*)-m-([0-9]+).html$ index\.php?main_page=index&manufacturers_id=$2&%{QUERY_STRING} [R=301,L]
RewriteRule ^(.*)-pi-([0-9]+).html$ index\.php?main_page=popup_image&pID=$2&%{QUERY_STRING} [R=301,L]
RewriteRule ^(.*)-pr-([0-9]+).html$ index\.php?main_page=product_reviews&products_id=$2&%{QUERY_STRING} [R=301,L]
RewriteRule ^(.*)-pri-([0-9]+).html$ index\.php?main_page=product_reviews_info&products_id=$2&%{QUERY_STRING} [R=301,L]
RewriteRule ^(.*)-pmi-([0-9]+).html$ index\.php?main_page=product_music_info&products_id=$2&%{QUERY_STRING} [R=301,L]
# For Open Operations Info Manager
RewriteRule ^(.*)-i-([0-9]+).html$ index\.php?main_page=info_manager&pages_id=$2&%{QUERY_STRING} [R=301,L]
# For dreamscape's News & Articles Manager
RewriteRule ^news/?$ index\.php?main_page=news&%{QUERY_STRING} [R=301,L]
RewriteRule ^news/rss.xml$ index\.php?main_page=news_rss&%{QUERY_STRING} [R=301,L]
RewriteRule ^news/archive/?$ index\.php?main_page=news_archive&%{QUERY_STRING} [R=301,L]
RewriteRule ^news/([0-9]{4})-([0-9]{2})-([0-9]{2}).html$ index\.php?main_page=news&date=$1-$2-$3&%{QUERY_STRING} [R=301,L]
RewriteRule ^news/archive/([0-9]{4})-([0-9]{2}).html$ index\.php?main_page=news_archive&date=$1-$2&%{QUERY_STRING} [R=301,L]
RewriteRule ^news/(.*)-a-([0-9]+)-comments.html$ index\.php?main_page=news_comments&article_id=$2&%{QUERY_STRING} [R=301,L]
RewriteRule ^news/(.*)-a-([0-9]+).html$ index\.php?main_page=news_article&article_id=$2&%{QUERY_STRING} [R=301,L]
# All other pages
# Don't rewrite real files or directories
RewriteCond %{REQUEST_FILENAME} !-f [NC]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*).html$ index\.php?main_page=$1&%{QUERY_STRING} [R=301,L]
If you need the rewrite rule for removing beta 3.0, things are slightly different.
Bookmarks