zyhit007 Posted July 31, 2009 Posted July 31, 2009 I add a osc store at subdirectory, so when i open the store, the url is www.domain.com/paintings/index.php I want to cancel the /paintings/ at the URL, is it possible? lt will like www.domain.com/index.php I am using Ultimate SEO URLs, so i wonder whether can i Rewrite the URL to do so? For example, all codes on .htaccess for SEO URLs like this, RewriteRule ^print_page_p(.*)$ index\.php?main_page=print_page&products_id=$1&%{QUERY_STRING} [L] RewriteRule ^(.*)_p(.*).html$ index\.php?main_page=product_info&products_id=$2&%{QUERY_STRING} [L] Is it possible to base on the code of SEO URLs to cancel the subdirectory? Thanks
♥toyicebear Posted July 31, 2009 Posted July 31, 2009 just move your store from the sub directory to the root of your hosting... then just edit these 2 files to set the new paths includes/configure.php and admin/includes/configure.php Basics for osC 2.2 Design - Basics for Design V2.3+ - Seo & Sef Url's - Meta Tags for Your osC Shop - Steps to prevent Fraud... - MS3 and Team News... - SEO, Meta Tags, SEF Urls and osCommerce - Commercial Support Inquiries - OSC 2.3+ How To To see what more i can do for you check out my profile [click here]
zyhit007 Posted July 31, 2009 Author Posted July 31, 2009 just move your store from the sub directory to the root of your hosting... then just edit these 2 files to set the new paths includes/configure.php and admin/includes/configure.php No, it is mainly because that i have added another store at the root directory, and i added another one at subdirectory. The question is that, how can i cancel the subdirectory at the URL for the second store?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.