Monday, January 25, 2021
Home E-Commerce Prestashop 1.5.2 Seo Urls issue

Prestashop 1.5.2 Seo Urls issue

PrestashopWhile working on a site in Prestashop, i got Prestashop 1.5.2 Seo Urls issue. The issue i got was that only the home page was working and whenever i clicked on a link, i got forwarded to 404 page not found page. In SEO URLs settings, “Automatically redirect to Canonical Urls” was set to No, and Apache Multiviews were disabled.I searched on internet but did found any solution for the issue. After that I downloaded another site.htaccessfile to match the the two files, and i found some lines missing from my site generated.htaccess¬†file. The lines missing were as below.

RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d

RewriteRule ^.*$ – [NC,L]
RewriteRule ^.*$ index.php [NC,L]

So when i placed those lines in my .htaccess file, it started work and i got happy ūüôā . I am not sure if this issue was only with my installation of Prestashop 1.5.2, or it will be in Prestashop 1.5.2. If you got Prestashop 1.5.2 Seo Urls issue, then check if your site have the above mentioned lines, if not,then add them to the .htaacess file and your site will start working.

- Advertisment -

Most Popular

Android Webview Tutorial With Example | How to Use Webview in Android

Android Webview Tutorial With Example Have you seen an Android app displaying Web content using Webview. This Android Webview Tutorial is about integrating Webview using Android Studio....

Student Registration Project in PHP

In this Student Registration Project we are providing a form in simple html to the student and that form sends the data to "student.php"...

Java GUI Calculator Source Code

Here we have a Java GUI Calculator Source Code for you in which a Java GUI calculator has been created using "swing" and "awt". The calculator has...

Numeric Array in PHP

Numeric arrays can store numbers, strings and any object but their index will be represented by numbers. By default array index starts from zero....