Page 284 of 291 FirstFirst ... 184234274282283284285286 ... LastLast
Results 2,831 to 2,840 of 2907
  1. #2831
    Join Date
    Aug 2004
    Location
    Belfast, Northern Ireland
    Posts
    2,480
    Plugin Contributions
    14

    Default Re: Ceon URI Mapping (SEO)

    Hi,

    Quote Originally Posted by lsullivan View Post
    Thank you for the tip, but that is not a problem for me.
    Lindsay's problem was that she had Admin Profiles installed but forgot to enable the Ceon URI Mapping files whenever she installed the module, so it didn't show up in the admin.

    ANYONE WHO HAS ADMIN PROFILES INSTALLED:

    Don't forget that you need to change its settings anytime you install any module that has an admin part to it!

    If you cannot see Ceon URI Mapping in the admin, follow the above instructions!

    All the best...

    Conor
    ceon

  2. #2832
    Join Date
    Feb 2009
    Posts
    98
    Plugin Contributions
    1

    Default mp4 files rewritten, webm and ogv not :S

    My installation has gone well until I ran into a Flash video player that refused to work. I discovered that my .ogv and .webm files in html5 <video> tags played fine, but mp4 files did not. They were returned with a Content-Type of "text/html" and a size of 41K. After some messing around with mime.types and AddType, I figured out this was the same size as my index.php serves, and the .mp4 file request was being rewritten and hitting the index page instead of trying to serve the .mp4 file at all.

    I think the rewrite rule for "files with an extension" don't work for extensions with a number in them. i.e.:

    Code:
    RewriteCond %{REQUEST_URI} !\.[a-z]{2,5}$ [NC]
    This matches ogv and webm, but not mp4.

    As a proof-of-concept, adding my own rule to specifically ignore .mp4 files fixed the problem:

    Code:
    RewriteCond %{REQUEST_URI} !\.mp4$ [NC]
    Could this "file extensions" rule be enhanced somehow? Perhaps:

    Code:
    RewriteCond %{REQUEST_URI} !\.[a-zA-Z0-9]{2,5}$ [NC]
    I don't know what specific cases you might know of that you're trying to handle or avoid with your very restrictive [a-z].

  3. #2833
    Join Date
    Aug 2004
    Location
    Belfast, Northern Ireland
    Posts
    2,480
    Plugin Contributions
    14

    Default Re: mp4 files rewritten, webm and ogv not :S

    Hi Nick,

    Quote Originally Posted by neekfenwick View Post
    I think the rewrite rule for "files with an extension" don't work for extensions with a number in them. i.e.:
    No, they don't.. by default the "example" rule just excludes files with a textual extension: .jpg, jpeg, .html, .shtml, .png, .pdf etc.

    This is because most people don't have numbers in their file extensions, whereas some people might have a dot and a combination of numbers and letters in their URI, e.g.

    /widgets/large-widget-10.3mm

    So the example rule lets that URI work.

    As every site is different I had to choose an "Example" rule that best fits the majority of sites.. and the majority of Zen Cart sites use neither .mp3 nor .mp4.

    Sorry that you got affected by this but obviously you saw that the solution is simple for you.

    If I ever get time I might update the docs with more info on this.. but I'm spending 10 hours a day coding v4 as it is and I might leave adding extra info to the docs for a few months (the documentation already has a section on how to add support for extra file extensions).

    Glad you're sorted now anyway.

    All the best...

    Conor
    ceon

  4. #2834
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: mp4 files rewritten, webm and ogv not :S

    Goodness folks, these free mods are supported by folks on their time and their dime.. NO ONE is gonna write a free mod that covers EVERY SINGLE Zen Cart configuration out there..

    That said Conor's instructions are detailed and that is more than I can say for a LOT of mods where the readme files are sketchy at best.. The .httaccess file EXAMPLES in the Ceon URI Mapping add-on readme are just that -- EXAMPLES. Meaning they cover the most COMMON server/store configurations and they MAY NOT work for your particular server/store configurations..

    Quote Originally Posted by conor View Post
    Hi Nick,



    No, they don't.. by default the "example" rule just excludes files with a textual extension: .jpg, jpeg, .html, .shtml, .png, .pdf etc.

    This is because most people don't have numbers in their file extensions, whereas some people might have a dot and a combination of numbers and letters in their URI, e.g.

    /widgets/large-widget-10.3mm

    So the example rule lets that URI work.

    As every site is different I had to choose an "Example" rule that best fits the majority of sites.. and the majority of Zen Cart sites use neither .mp3 nor .mp4.

    Sorry that you got affected by this but obviously you saw that the solution is simple for you.

    If I ever get time I might update the docs with more info on this.. but I'm spending 10 hours a day coding v4 as it is and I might leave adding extra info to the docs for a few months (the documentation already has a section on how to add support for extra file extensions).

    Glad you're sorted now anyway.

    All the best...

    Conor
    ceon
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  5. #2835
    Join Date
    Apr 2010
    Location
    Essex, UK
    Posts
    77
    Plugin Contributions
    0

    Default Re: Ceon URI Mapping (SEO)

    Quote Originally Posted by conor View Post
    Hi,



    To be honest it only ever turns out to be user error when installing.

    I can take a quick look for you, send me FTP and admin details at this address.

    Yes, the baby picture has worked. ;)

    All the best...

    Conor
    ceon
    Hi Connor, thank you, i'm gonna give it one last go with fresh eyes today, and if I am still stuck I will contact you

    Lindsey

  6. #2836
    Join Date
    Aug 2004
    Location
    Belfast, Northern Ireland
    Posts
    2,480
    Plugin Contributions
    14

    Default Re: Ceon URI Mapping (SEO)

    Hi,

    Quote Originally Posted by lindsey80 View Post
    Hi Connor, thank you, i'm gonna give it one last go with fresh eyes today, and if I am still stuck I will contact you
    There was a problem with the configuration group and option being missing.. something must have happened when installing the module.

    I've seen that happen once or twice before. I can't see any logical reason, it's just standard Zen Cart group creation SQL and works for 99.999% of people.

    However, given that one or two people have had this same problem with Zen Cart, v4 automatically creates the group an option at ANY time, so if the SQL fails when the module is installed the module will repair itself at a later date, so this shouldn't happen to anyone ever again once they upgrade to v4 (due soon).

    All the best...

    Conor
    ceon

  7. #2837
    Join Date
    Feb 2009
    Posts
    98
    Plugin Contributions
    1

    Default Re: mp4 files rewritten, webm and ogv not :S

    Quote Originally Posted by DivaVocals View Post
    Goodness folks, these free mods are supported by folks on their time and their dime.. NO ONE is gonna write a free mod that covers EVERY SINGLE Zen Cart configuration out there..
    Wow, who got sand in your vagina? I wasn't complaining, I was commenting on some broken behaviour I thought I had found, and suggested a fix. I feel that it's useful to bring these experiences to Conor's attention, as the author of the mod. Please chill out and stop shouting. By the way, I'm about to donate, I don't want him to do this great work for free.

    Quote Originally Posted by conor View Post
    Hi Nick,
    No, they don't.. by default the "example" rule just excludes files with a textual extension: .jpg, jpeg, .html, .shtml, .png, .pdf etc.

    This is because most people don't have numbers in their file extensions, whereas some people might have a dot and a combination of numbers and letters in their URI, e.g.

    /widgets/large-widget-10.3mm
    You're absolutely right :) I ran into this myself, we have a product which results in "round-island-60cm-cooker-hood-with-led-mood-lighting-a94.6s" and of course my suggested rewrite rule breaks for that. I'll stick with my custom hack for mp4 files. I haven't looked closely at the "Excluded files" option in the config to see if this could be used for the same purpose, though I guess that would incur more processing overhead than the very lightweight mod_rewrite rule exclusion.

    I've also just written my own bulk importer for the ceon_uri_mappings table.. 110 lines of php saved me sorting out 887 lines of data manually, while your Mappings Manager isn't available. Thanks for writing ceon_uri_mapping_autogen_category_or_product_uri() in such an easy-to-call way :)

  8. #2838
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: mp4 files rewritten, webm and ogv not :S

    Quote Originally Posted by neekfenwick View Post
    Wow, who got sand in your vagina? I wasn't complaining, I was commenting on some broken behaviour I thought I had found, and suggested a fix. I feel that it's useful to bring these experiences to Conor's attention, as the author of the mod. Please chill out and stop shouting. By the way, I'm about to donate, I don't want him to do this great work for free.
    **deleted by author**
    Last edited by DivaVocals; 2 Jul 2011 at 08:45 AM. Reason: Not worthy of a response.. Moving on...
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  9. #2839
    Join Date
    Aug 2004
    Location
    Belfast, Northern Ireland
    Posts
    2,480
    Plugin Contributions
    14

    Default Re: mp4 files rewritten, webm and ogv not :S

    Hi Nick,

    Quote Originally Posted by neekfenwick View Post
    I ran into this myself, we have a product which results in "round-island-60cm-cooker-hood-with-led-mood-lighting-a94.6s" and of course my suggested rewrite rule breaks for that. I'll stick with my custom hack for mp4 files. I haven't looked closely at the "Excluded files" option in the config to see if this could be used for the same purpose, though I guess that would incur more processing overhead than the very lightweight mod_rewrite rule exclusion.
    It's not the excluded files functionality I was pointing you towards but the instructions about adding exceptions for file extensions.. I thought you'd be able to adjust things based on that easily enough. I'll add in a section about allowing specific extensions rather than simply adding specific extensions to be mapped.

    The difference is just a ! - a negator.

    Here's something which would work for you straight off, change your rule to:

    Code:
    RewriteCond %{REQUEST_URI} !\.(mp3|mp4)$ [NC]
    RewriteCond %{REQUEST_URI} !\.[a-z]{2,5}$ [NC]
    Easy!

    And thanks for the donation.. it's greatly appreciated! :)

    All the best...

    Conor
    ceon

  10. #2840
    Join Date
    Sep 2008
    Posts
    397
    Plugin Contributions
    0

    Default Re: Ceon URI Mapping (SEO)

    Dummy question but still want to confirm. I only found 1.3.9f in modified_core_files. Is it the latest and good for ZC 1.3.9h?

 

 

Similar Threads

  1. Simple SEO URL, Ultimate SEO URLs, Ceon URI Mapping SEO
    By pizza392 in forum All Other Contributions/Addons
    Replies: 13
    Last Post: 21 Jan 2015, 10:49 AM
  2. Ceon uri mapping vs Simple SEO
    By crixus in forum General Questions
    Replies: 0
    Last Post: 28 Feb 2014, 04:41 AM
  3. v151 Ceon URI Mapping (SEO) Issues?
    By yisou in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 30 Jul 2013, 12:06 PM
  4. v151 Ceon URI Mapping (SEO) installation problem.
    By jmac2020 in forum General Questions
    Replies: 1
    Last Post: 23 Oct 2012, 01:06 PM
  5. Ceon URI Mapping (SEO) How to install?
    By jackfitz in forum All Other Contributions/Addons
    Replies: 6
    Last Post: 28 Apr 2010, 12:09 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR