PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Thursday, October 27, 2022

[FIXED] How to stop mobile browser url redirect in prestashop

 October 27, 2022     prestashop, prestashop-1.6, prestashop-1.7     No comments   

Issue

I am new to prestashop and I installed it on my local server then I uploaded the site to my online server and I tried to access the site from mobile browser, the browser redirected me to wrong url (localhost/prestashop). How to fix this or how to stop mobile browser detection and redirect to the main theme?


Solution

To not use a separate mobile theme you need to go to Back office > Preferences > Themes and under Mobile tab where it says Enable mobile theme select I'd like to disable it. That will display your main theme on all devices.

And it is a bit strange you had that redirect. So check Back office > Preferences > SEO & URLs under SET SHOP URL that it has the right URL. Or maybe regenerate the .htaccess by disabling and enabling Friendly URL option.



Answered By - PH_Laza
Answer Checked By - Terry (PHPFixing Volunteer)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing