Support will be provided with delays until 6 June. We are sorry for the inconvenience.
We offer professional Design/Code Customisation and Website Optimisation Service Request Customisation
  • Priority: Medium
  • Status: Closed
  • Closed by: Marek (marek)
  • Closed on: 12.12.18, 15:52
  • Reason: Closed
  • Comment: Glad to help!

Ticket #12667 - Redirect after installation

Hi everybody, I have already asked this question to prestashop support but they didn’t answer me. I know that this questions goes over a simply Promokit Alysum support but i try to ask, perhaps you know how fix
When I installed my prestashop 1.7.x with Alysum (php 7.1 ver) I found some temporary redirect in my cPanel (where i manage my linux hosting) and if i try to delete these redirect i can’t remove (delete function works but redirect doesn’t remove).
You can see in my attached file.
If you know something about please tell me.
Thank you very much for your work

Schermata 2018-08-07 alle 14.... (517.6 KiB)

This ticket does not depend on any other tickets.

Marek (marek) 07 Aug 2018, 15:40

Hi, Alessandro.
All redirects you can find in the file .htaccess in the root of prestashop. Try to rename it to remove redirects

Alessandro Borsani (AleBTstudio) 07 Aug 2018, 16:28

Thank you for your answer, what have i to rename? htaccess file?

Marek (marek) 07 Aug 2018, 16:28

Yes, right

Alessandro Borsani (AleBTstudio) 07 Aug 2018, 16:33

Ok now I try, but after I remove, what have to do with previously .htaccess file? .htaccess file automatically regenerate?

thank you for your support

Marek (marek) 07 Aug 2018, 16:34

It's just for a test to figure our where redirects comes from

Alessandro Borsani (AleBTstudio) 07 Aug 2018, 16:40

I try to rename file .htaccess and redirects don't appeare more but also site doesn't work.
I have also opened htaccess file in text editor and i see the redirects but i don't know if i can delete all redirects in htaccess file or i must not do it to correct functions of my prestashop

Marek (marek) 07 Aug 2018, 16:52

I can not help you with that, would be better for you to ask prestashop community

Alessandro Borsani (AleBTstudio) 07 Aug 2018, 17:26

Ok thank you for your answers, i never saw redirects in a lot of previously installations. I have already asked to prestashop community but they don't answer me, so I try to delete in htacess redirects and try my shop. If it doesn't work properly i will re-upload old htaccess file
thank you

Marek (marek) 07 Aug 2018, 17:26

Ok, no problem

Alessandro Borsani (AleBTstudio) 24 Aug 2018, 15:53

Just for information for other customer: temporary redirects are written by "frendly url" option in Prestashop. If you enable fndly url it change .htaccess and allow some redirect (rewrite mode). with php ver 7.2 this redirect will be show in cPanel server management. If you use previously PHP ver theu don't show in cPanel.
example of .htaccess with frendly url on in attached file

Schermata 2018-08-24 alle 15.... (705.8 KiB)
Marek (marek) 25 Aug 2018, 08:47

Thank you for sharing.
There are a lot of surprises with php 7.2

Alessandro Borsani (AleBTstudio) 25 Aug 2018, 11:29

Sure a lot surprise, but these are not the surprise that we want :) you are welcome!!