Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

url help


george333

Recommended Posts

Assuming you're on an Apache server, it has a file called ".htaccess". You can insert commands into .htaccess that redirect references to / to /catalog/. That is, a visitor would see your shop at shoptoshop.gr/ rather than shoptoshop.gr/catalog/. You would adjust your configure.php files to use / instead of /catalog/, so visitors would see links to /<store page> instead of /catalog/<store page>.

 

Try the following:

RewriteEngine On
RewriteCond  %{REQUEST_URI}  !^/catalog  [NC]
RewriteRule  ^(.*)$  /catalog/$1 [L]

Link to comment
Share on other sites

  • 1 month later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...