Jump to content

Friendly url's not working


macross

Recommended Posts

So i have successfully installed prestashop v 1.6. After fresh install i have enabled mod rewrite and confirmed it's working by looking at output of phpinfo(); . But when i enable friendly urls in prestashop back office suddenly site just stops working. When i enter my homepage url  ('example.com') it appends /en/ on the end and gives a 404 error The requested URL /en/ was not found on this server.. What could be the problem? I have already tried changing "disable apache multiviews option" to on and it still doesn't work! What could be the problem? I'm using digitalocean.com as my hosting provider.

 

Edit:

 

Doesn't matter already solved myself. Just for future reference it was apache2 miss configuration. Open /etc/apache2/apache2.conf file and find this line:

<Directory /path/to/site>
#add the following setting to allow .htaccess in your web dir to work
AllowOverride All

#other settings ---

</Directory>

Make sure it says AllowOverride All. 

Edited by macross (see edit history)
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...