Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

product pages doesn't work -> redirected to home


mikesch70

Recommended Posts

I installed Ultimate_SEO_URLSv22d_9 in OSC 2.2 on a LINUX machine but it doesn't work for me.

The only contrib i have installed in this shop is the newest version of Easy Populate.

 

I checked all my changed files for about 5 times.

 

The htaccess:

Options +FollowSymLinks

RewriteEngine on

RewriteBase /shop/

 

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

 

include/configure.php:

<?php

define('HTTP_SERVER', 'http://www.XXXXXX.ch');

define('HTTPS_SERVER', 'http://www.XXXXXX.ch');

define('ENABLE_SSL', false);

define('HTTP_COOKIE_DOMAIN', 'XXXXXX.ch');

define('HTTPS_COOKIE_DOMAIN', 'XXXXXX.ch');

define('HTTP_COOKIE_PATH', '/shop/');

define('HTTPS_COOKIE_PATH', '/shop/');

define('DIR_WS_HTTP_CATALOG', '/shop/');

define('DIR_WS_HTTPS_CATALOG', '/shop/');

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

 

define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');

define('DIR_FS_CATALOG', '/var/www/vhosts/XXXXXX.ch/httpdocs/shop/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

define('DB_SERVER', 'localhost');

define('DB_SERVER_USERNAME', 'XXXXXX');

define('DB_SERVER_PASSWORD', 'XXXXXX');

define('DB_DATABASE', 'XXXXXX');

define('USE_PCONNECT', 'false');

define('STORE_SESSIONS', 'mysql');

?>

 

No errors have been displayed in the backend and in the shop.

 

What happens:

- all the pages like home, contact, search, login, etc. work fine.

- alle the product pages and manufacturer pages doesn't work. If i click in the navigation on a category (or manufacturer) this productpage shows for about 0.5 - 1 second (i see the new url!!!) and then jumps back to home.

 

What could be the problem?

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