Jump to content

404 Pages after generating .htaccess file with URL Rewiriting


Recommended Posts

Hi.

 

After installing Prestashop i saw 2 alerts on the main page of the BO.

One is for the URL Rewriting and the second is for Browser cache & compression.

I tried to check the boxes on the .htaccess generator page and generate new .htaccess file, but i am getting error pages. Some are 404 pages and some are just white blank screen.

 

How to do it right?

 

Thank you.

Link to comment
Share on other sites

  • 4 weeks later...

I have Prestashop 1.5.3.1 with no customizations / shared Linux hosting with Godaddy.

 

My Friendly URL doesn't work. Many links go invalid "404 Page Not Available". Example: all tags, Login, Cart, Search - all don't work.

If I disable Friendly URL then all the links mentioned start working.

 

I see that the .htaccess generated in 1.5 looks a bit different than what you guys posted previously here for 1.4. I have tried a few things on the .htaccess file reading on other forums to no avail.

 

Any help would be appreciated.

 

I have to add the fact that I called GoDaddy and they confirmed that mod_rewrite is active.

I also ran a test by just putting the below code in my .htaccess file. Then hit my website http://www.mydomain.com/testpage.html and it does take me to google.com. So rewrite is working properly.

 

TEST CODE FOR .HTACCESS FILE:

RewriteEngine on

RewriteRule testpage\.html http://www.google.com [R]

 

So please anyone any advice? tips? whatever to help me get the Friendly URLs working?

Link to comment
Share on other sites

I have Prestashop 1.5.3.1 with no customizations / shared Linux hosting with Godaddy.

 

My Friendly URL doesn't work. Many links go invalid "404 Page Not Available". Example: all tags, Login, Cart, Search - all don't work.

If I disable Friendly URL then all the links mentioned start working.

 

I see that the .htaccess generated in 1.5 looks a bit different than what you guys posted previously here for 1.4. I have tried a few things on the .htaccess file reading on other forums to no avail.

 

Any help would be appreciated.

 

I have to add the fact that I called GoDaddy and they confirmed that mod_rewrite is active.

I also ran a test by just putting the below code in my .htaccess file. Then hit my website http://www.mydomain.com/testpage.html and it does take me to google.com. So rewrite is working properly.

 

TEST CODE FOR .HTACCESS FILE:

RewriteEngine on

RewriteRule testpage\.html http://www.google.com [R]

 

So please anyone any advice? tips? whatever to help me get the Friendly URLs working?

 

A majority of the time when new friendly url is activated.and ou do not clean out your browser cache and cookies...you get 404's...

Link to comment
Share on other sites

A majority of the time when new friendly url is activated.and ou do not clean out your browser cache and cookies...you get 404's...

 

Thank you for your input but I have tried this and also from different browsers/computers. I get the same result, the 404 page when hitting the before mentioned links.

 

I also tried deleting the content in smarty/cache and smarty/compile along with cookies, cache of brower. Then new browser new computer. But still Friendly URL doesn't work.

 

Anything else I could try Please?

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

×
×
  • Create New...