Jump to content

Problem with simplified url [résolu]


Recommended Posts

  Hello,

  I build a website with Prestashop. It' s almost finished, all works well, except when I activate the url rewriting. For exemple, if I click on an item I show on my website, I have this error message which is written :

Not Found

The requested URL /prestashop/28-porte-container-electrique was not found on this server.

  If I go on the back office, and I see the form of this item (section seo) I read :

http://localhost/prestashop/lang/17-porte-container-electrique.html

  So what appear on the top of my browser is different of the url simplify on seo section. I search, but I don' t know what is the reason of that.

 

  I thank you so much for your help. Nice day.

Edited by ungars (see edit history)
Link to comment
Share on other sites

  Hi,

  I up my topic. I search but don' t find an answer, and don't find something in this forum like my problem.

 

  When I clic on an item I sell on my shop, I have this sort of error :

http://localhost/prestashop/28-porte-container-electrique?live_configurator_token=d6258f508348fde4934d875592e5e822&id_shop=1&id_employee=1

  But in the back office, in the seo section of my item, the url rewrited is :

http://localhost/prestashop/lang/17-porte-container-electrique.html

- I don' t know what make "lang" here

- "28" is the id of the item category, I don' t know why the item category don' t appear (17)

 

  Thank you a lot for your help, nice sunday to you.

Link to comment
Share on other sites

 

 When I clic on an item I sell on my shop, I have this sort of error :

http://localhost/prestashop/28-porte-container-electrique?live_configurator_token=d6258f508348fde4934d875592e5e822&id_shop=1&id_employee=1

 

you're reffering to parameters after "?" sign ?

if so, it's a live configurator feature. disable it and these parameters will disappear. 

Anyway, only ou - as a shop administrator see this url. others (simple customers ) dont.

Link to comment
Share on other sites

  Hello,

  Thank you for your answer. Sorry I was not clear.

  

  When I activate my simplified url, and I click on an item, I have this sort of error :

The requested URL /prestashop/28-porte-container-electrique was not found on this server.

  If I go on my back office, until my item, at the seo section, I read this url simplified :

http://localhost/prestashop/lang/17-porte-container-electrique.html

  The 2 lines are different, that is why that don' t work. On the line :

The requested URL /prestashop/28-porte-container-electrique was not found on this server.

  I don' t know why the id "28" appear , because that is the id of the category, not the id of the item. I think, if I understand, that should be the id of the item which must appear, not of the category.

  On the second line you can see "lang" . I don' t know why this word appear.

 

  I think when url simplified are selected, that mix categories and items for the id.

 

  Sorry for my bad English.

 

  Thank you again for your help, nice week.

Link to comment
Share on other sites

Hi,

I think it' s a problem with my server. I  put online the website on my shared server and there, no problem, all work.

So that is a good new, but what can I do on my computer to make work the url rewriting ? This option is allowed on apache2 config.

 

  Thank you for your help.

Link to comment
Share on other sites

  • 1 month later...

  Hello, topic solved !

  Activate the apache module (mod_rewrite.so) is not enough. In the folders wich are on /etc/apache2/sites-available, section Directory /var/www/ Change :

AllowOverride None

 as :

AllowOverride all

  Hope that can help somebody.

 

  Thank you a lot, nice Sunday.

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...