Jump to content

Recommended Posts

You also have problems with friendly url?

 

this is the ultimate solution

 

The error:

500internalservererror.jpg

 

The Tutorial for resolve this problem =)

 

1º-Go to > Preferences > SEO & URLs

And latter configure this

config1w.jpg

2º-Latter, click on "Save" button

 

3º-Edit your ".htcaccess" in this manner

 

Open your ".htcaccess" and delete all, latter only enter this code


# URL rewriting module activation
RewriteEngine on
RewriteCond %{REQUEST_METHOD} !^(TRACE|TRACK|GET|POST|HEAD)$
RewriteRule .* - [F]
RewriteBase /
Options +FollowSymLinks
# URL rewriting rules
RewriteRule ^([a-zA-Z0-9-]*)/([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ product.php?id_product=$2$4 [L,E]
RewriteRule ^([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ product.php?id_product=$1$3 [L,E]
RewriteRule ^([0-9]+)\-([a-zA-Z0-9-]*)(.*)$ category.php?id_category=$1 [QSA,L,E]
RewriteRule ^content/([0-9]+)\-([a-zA-Z0-9-]*)(.*)$ cms.php?id_cms=$1 [QSA,L,E]
RewriteRule ^([0-9]+)__([a-zA-Z0-9-]*)(.*)$ supplier.php?id_supplier=$1$3 [QSA,L,E]
RewriteRule ^([0-9]+)_([a-zA-Z0-9-]*)(.*)$ manufacturer.php?id_manufacturer=$1$3 [QSA,L,E]
# Catch 404 errors
ErrorDocument 404 /404.php

 

will look like this

configuracionhtcaccess.jpg

 

Now, save and upload your new ".htcaccess" config

 

4º-Go to > Preferences > SEO & URLs

and thereby configure

config2n.jpg

Now click on "Save" button

 

And now

...Voilà!

walac.jpg

 

I hope I have helped =)

Edited by YonaTutorials (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...