osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

Mod Rewrite SEO URLs

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


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v2.0 Forums > osCMax v2 Installation issues

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Reply

 

LinkBack Thread Tools
  #1  
Old 06-21-2008, 06:41 PM
Member
 
Join Date: Aug 2007
Posts: 64
Thanks: 9
Thanked 1 Time in 1 Post
Rep Power: 2
tcshadow is on a distinguished road
Default Mod Rewrite SEO URLs

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!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 06-21-2008, 06:43 PM
Member
 
Join Date: Aug 2007
Posts: 64
Thanks: 9
Thanked 1 Time in 1 Post
Rep Power: 2
tcshadow is on a distinguished road
Default Re: Mod Rewrite SEO URLs

I have replaced everythig other than configure.php in my includes folder(only files not folders)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 06-21-2008, 07:18 PM
Member
 
Join Date: Aug 2007
Posts: 64
Thanks: 9
Thanked 1 Time in 1 Post
Rep Power: 2
tcshadow is on a distinguished road
Default Re: Mod Rewrite SEO URLs

I figured out what the problem was... for some reason

RewriteEngine on

had been commented out in my .htaccess... WTF...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

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


All times are GMT -8. The time now is 09:58 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax