This is a discussion on Mod Rewrite SEO URLs within the osCMax v2 Installation issues forums, part of the osCMax v2.0 Forums category; My SEO URLs were working fine up until i started messing with configure.php and application_top.php today... the thing is I ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| My SEO URLs were working fine up until i started messing with configure.php and application_top.php today... the thing is I have restored both back to original and it is still nto working... I get a 404. My configure.php: define('HTTP_SERVER', 'http://www.mydomain.com.au'); // eg, cPanelŽ - should not be empty for productive servers define('HTTPS_SERVER', 'https://www.mydomain.com.au'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'www.mydomain.com.au'); define('HTTPS_COOKIE_DOMAIN', 'www.mydomain.com.au'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); 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', '/home/myaccountname/public_html/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); my .htaccess: 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} please help! |
|
#2
| |||
| |||
| I have replaced everythig other than configure.php in my includes folder(only files not folders) |
|
#3
| |||
| |||
| I figured out what the problem was... for some reason RewriteEngine on had been commented out in my .htaccess... WTF... |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Independent SEO URL Validation(for ULTIMATE SEO URLs) | michael_s | New osCommerce Contributions | 0 | 03-31-2008 12:02 AM |
| Independent SEO URL Validation(for ULTIMATE SEO URLs) | michael_s | New osCommerce Contributions | 0 | 02-14-2008 02:54 AM |
| Independent SEO URL Validation(for ULTIMATE SEO URLs) | michael_s | New osCommerce Contributions | 0 | 02-13-2008 02:32 AM |
| SEO friendly url - rewrite not working | muyaszed | osCMax v2 Features Discussion | 6 | 09-09-2007 03:13 PM |
| Sort by price(if you use mod rewrite) | michael_s | New osCommerce Contributions | 0 | 05-29-2007 01:30 PM |