How to stop mobile browser url redirect in prestashop - prestashop

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?

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.

Related

Safari App Extension content script not loaded on Safari error page?

When running a Safari App Extension, if Safari shows "Failed to open page", your content script isn't loaded. In this sort of scenario, it might be nice to redirect the user to a new url or suggestions page such as "did you mean...".
Is it possible to get a Safari App Extension's content script to load when a Safari error page is showing up?
No, it does not appear to be possible.
Based on Apple's Safari App Extensions "About Permissions for Scripts and Style Sheets" documentation, I'm deducing that script injection only works on web content from http:// or https:// schemes, while error pages are loaded from local files.
A URL pattern takes the form Scheme://Domain/Path.
(...)
Scheme can be http or https. (...)
The asterisk character can be used anywhere in the domain or path, but not in the scheme.
For reference, here's the path of a Safari 13 error page template.
file:///Applications/Safari.app/Contents/Resources/en.lproj/StandardErrorPage.html

Instant App link in SMS does not work

I have created an Instant App that works perfectly when I click its link in an email. When I send the same link in an SMS and click it, the default-url is displayed. I am using AS3.2 Canary 9. Has anyone seen the same thing?
This depends of the message app of your phone. Sometimes the message app have an internal web view to manage the urls. In this case the link is directly open in web browser.
If the link is open in the default browser, you should go in this browser app settings and check the links already set as manage by this browser. Or clear the cache of the browser. if it s still not working, go in :
Settings -> Google -> Instant app, then disable an enable it again.
if it s still not working, make it sure by rebooting the device.

Redirect shopify app url to custom url

I have created an app in shopify and after installing it in the store, I want when I click on the app then it will redirect to other domain like www.abc.com instead of open it in the shopify admin.
I have checked this type of functionality in many apps but don't know how to implement it. Please help me to solve this issue.
Thanks
Firstly, you need to create account as Shopify partners. Once you sign-in in your account, you will see Apps on the left side of the dashboard. You will see Redirection URL in the options available. You can also give name and other details of your app in this session.
most likely your app is an embedded app that is why it is not opening new tab upon clicking from admin app listing. you first understand whether your app required embedding functionality or not.

How to redirect to a specific URL in Orchard CMS if browsing from a mobile device

we have a Orchard site with a custom Module which has its separate _Layout/views (not rendering through Orchard's layout/theme).
we have two home pages: #1. www.xyz.com and #2. www.xyz.com/m. Where First one is the main site and the second one is the mobile site.
We want to redirect any traffic browsing the the main site (#1 url) to the mobile site (#2 url) if browsing from a mobile device or a tablet.
Where exactly in Orchard we have to make the changes to get the desired result?

How to change the home category url to friendly url in prestashop?

I have changed the home category "link_rewrite" and saved in phpmyadmin.
When I refresh Home page and hover the view all menu it displays "en/category.php?id_category=1" How to change the url to friendly url in prestashop
Have you enabled friendly URLs ? Because it seems you did not enabled them. If not then do it as followed:
1) Go to preferences and then click on SEO & URLs
2) Enable your SEO urls there, and refresh your page.
Check it and it will work.
If still issue remains, or you got any other issue, let me know.
Thank you