Page 1 of 1

[Zen Cart] URL rewrite on mobile

Posted: Tue Jun 18, 2013 8:58 am
by wirefram
Hello

Using Magic SEO on Zencart 1.3.9h, it's working fine but on my mobile version all links shows without rewritting:

mysite.com/indexphp?main_page=index&cPath=

what do i have to do to make my links work and use same names than the web version?

I have a mobile folder template, no modification at all to the web version

Thanks

L. :oops:

Re: [Zen Cart] URL rewrite on mobile

Posted: Tue Jun 18, 2013 9:06 am
by inveo
I guess mobile URLs look like mysite.com/mobile.php?main_page=index&cPath= Then see Enhancement Suggestion for MSU to handle DIFFERENT "Themes" for further updates.

Re: [Zen Cart] URL rewrite on mobile

Posted: Tue Jun 18, 2013 11:06 am
by wirefram
Hi

thanks for your answer but my urls do not look like yours, they are exactly like my web site:

mysite.com/index.php?main_page=index&cPath=

I use a script to automatically detect the browser on the web version and redirect to the mobile version if the user is on a mobile phone.

In my zensite I have 2 templates folders:

mytemplate
mytemplate_mobile

so basically when someone comes from a mobile the script loads the templates from mytemplate_mobile, in my mobile templates i do not have a file calling application_top.php:

Code: Select all

require('includes/application_top.php');


I have the same exact files than in my regular web templates may be there is something to modify in :

mytemplate_mobile/common/html_header.php....

actually this file is exactly the same than the web version.

thansk

Re: [Zen Cart] URL rewrite on mobile

Posted: Tue Jun 18, 2013 11:51 am
by inveo
Please post us your web site URL and we will take a look what is going wrong.

Re: [Zen Cart] URL rewrite on mobile

Posted: Tue Jun 18, 2013 12:14 pm
by wirefram
the url is:

http://www.crystal-energy.com

Of course you have to check with your mobile

thanks!

Re: [Zen Cart] URL rewrite on mobile

Posted: Wed Jun 19, 2013 6:00 pm
by inveo
We've checked your site and most of links are being transformed to SEO formats. Only few which are not well formatted are left.

It is due to extra space around link specified in href parameter.

For example:

Code: Select all

<a href=" http://www.crystal-energy.com/index.php?main_page=index&amp;cPath=2213 ">


should be:

Code: Select all

<a href="http://www.crystal-energy.com/index.php?main_page=index&amp;cPath=2213">


and then it also starts to work.

Re: [Zen Cart] URL rewrite on mobile

Posted: Wed Jun 19, 2013 11:36 pm
by wirefram
Thanks a lot, I would never have found this myself!

it's crazy to see that such a little thing as an extra space can mess up that much!

Thanks!

:D

Cart  
(empty)

Cart Check out  »

Prices are tax inclusive.

The VAT rate for your country (US) * is 0,0 % because it is not a member of the European Union (EU).

* Please create an account if your country does not match.

Community feed
  • [Zen Cart] Can't execute Magic SEO URLs sitemaps
    I installed Magic SEO URLs Sitemaps Add-On for ZenCart MSU4.x/MSU5.x 2.0 on my server, when I try to generate sitemaps using: https://www.pechesudv155.owally.com/sitemaps.php I received :...
    by peter@pechesud.com
  • [phpBB3] Sharing users between phpBB / PrestaShop
    Hi i have 2 question 1- prestashop module support phpBB 3.3 ? 2- why we can not login in prestashop and phpbb with same user?
    by zohall
  • [phpBB3] AJAX Userinfo Extension
    Hi! I'm having trouble with this extension: https://www.phpbb.com/customise/db/exte ... _userinfo/ I tried asking support from the author but for no avail, since now. My request for support...
    by Lord Phobos
  • [phpBB3] Upgrade to phpBB 3.2.3
    Hello.. after Upgrade to phpBB 3.2.3 I am getting this message.. How can I solve this issue..? Thank you
    by ingbrzy
  • [phpBB3] URL path changed
    Hello.. I have changed my site path after moving to new hosting and now can not activate SEO module.. new path http://www.miuios.cz/domains/miuios.cz/ could you help me? thank you
    by ingbrzy2
Join our support forum » Pre-Sales Questions »
Featured Testimonials

Magic SEO URLs have helped me to get the number one spot on Yahoo for a number of my products. One of them has 1,800,000 hits, but I'm number one!

Todd, the owner of UpStart Battery

Thanks for a wonderful product, works great with phpBB3. Thanks for the prompt support.

Ravi, the owner of Sharesguru

More Testimonials »