Jump to content

Friendly URL's doesn't work on PHP 5.x


Recommended Posts

I tried to use friendly URL's on 

PHP:

5.4

5.3

5.2

and they just don't work... Instead of site I get Error 404

 

I was Delating .htaccess

I was changing from random URL to friendly URL...

Links DO work with random url but shop does NOT functioning with friendly URL's

WHY?? ;(

post-705408-0-08127900-1380386527_thumb.png

Link to comment
Share on other sites

SOLVED

Edited .htaccess and rows 

where you need to enter your domain. I just had "mydomain.com/" and this "/" ruined everything! correct is:

 

# ~~start~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again
# .htaccess automaticaly generated by PrestaShop e-commerce open-source solution
# http://www.prestashop.com - http://www.prestashop.com/forums
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www.domainname.com$
RewriteRule . - [E=REWRITEBASE:/]
RewriteRule ^api/?(.*)$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L]
Link to comment
Share on other sites

×
×
  • Create New...