Jump to content

How to rewrite part of a URL - remove "prestashop" in URL


Recommended Posts

Can somebody please coach me how to rewrite part of a URL?

 

Let's say customers now access my store at www.mystore.com. The URL that displays on their browsers is rewritten to "www.mystore.com/prestashop". All subsequent pretty URLs take the same form "www.mystore.com/prestashop/image.jpg". I guess this could be because my document root is "opt/bitnami/apps/prestashop".

 

So I would like to know how I can rewrite to "www.mystore.com/store" instead, but without having to rename the directory in the file system.

 

I understand I may need to edit a .htaccess file and make certain configuration in the back office. Anyone can advise please?

 

 

I'm running Prestashop version 1.4.8.2 on

  • Apache HTTPD 2.2.22
  • PHP 5.3.14
  • MySQL 5.5.21
  • Ubuntu Linux 12.04

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...