Page 131 of 291 FirstFirst ... 3181121129130131132133141181231 ... LastLast
Results 1,301 to 1,310 of 2907
  1. #1301
    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 g1smd View Post
    That being so, the file should use the most efficient code to get the job done. In this case, trailing .* characters on multiple patterns waste CPU cycles that you might later need elsewhere in serving the pages.
    I agree.. so thank you for the extra information. Saying "should" wasn't quite right, it should really have been "would be better" as "should" implies that the original is wrong rather than simply inefficient but I'm glad you've posted the information that you have.

    I'll update the documentation for the soon to be released version 3.4.0 to not use the wildcard matching. I wouldn't have thought having an additional match for "anything else" would make much of a difference but since not using it may make even a slight difference then it's definitely best not to use it - closer to the ideal situation of maximum efficiency!

    Thanks again for your helpful tips! :)

    All the best...

    Conor
    ceon

  2. #1302
    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 damiantaylor View Post
    Hi, I'm not sure if this is the correct place to ask this but I think it may be an issue with this mod

    I've been testing my site's performance using this tool:
    http://www.websiteoptimization.com/services/analyze/
    I just checked out the link you gave me and the source of your site. I also used the above site to see what results it gave for your examples page.

    It's coming back with many files not found.. all relatively loaded files are coming back as not found.. this includes not just your images but CSS and JavaScript files as well.

    The reason for this is the software on that analysis site doesn't know what a "base href" tag is so it is building all the links wrongly.

    So ignore its file not found errors - it's the software that has the problems, not your site, it is fine!

    You should probably use a working analysis service if you are still interested in analysis results.

    That should set your mind at rest!

    All the best..

    Conor
    ceon

  3. #1303
    Join Date
    Aug 2008
    Posts
    3
    Plugin Contributions
    0

    Default Re: Ceon URI Mapping (SEO)

    After several hours of trial, error, and searching I thought to post here.

    A client is hosting on a virtual private server with InMotionHosting. No matter what I have attempted I cannot get the rewrite rules to work. I am new to the whole virtual private server business. Anyway, mod_rewrite is enabled.

    So I attempted to get back to basics and just use the instruction's rules.

    RewriteEngine On

    # Don't rewrite any URIs ending with a file extension (ending with .[xxxx])
    RewriteCond %{REQUEST_URI} !\.[a-zA-Z]{2,4}$
    # Don't rewrite admin directory
    RewriteCond %{REQUEST_URI} !^/admin.* [NC]
    # Don't rewrite editors directory
    RewriteCond %{REQUEST_URI} !^/editors.* [NC]
    # Don't rewrite cPanel directories
    RewriteCond %{REQUEST_URI} !/cpanel.* [NC]
    RewriteCond %{REQUEST_URI} !/frontend.* [NC]
    # Handle all other URIs using Zen Cart (index.php)
    RewriteRule (.*) index.php?%{QUERY_STRING} [L]
    No dice. I get the following message:

    The requested URL /product-manuals was not found on this server.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
    I have tried added RewriteBase / and other directives but no luck at all. Anyone have any suggestions? This site is being moved from GoDaddy where the client had no problems with the plugin. They just had a lot of performance issues : ).

  4. #1304
    Join Date
    Mar 2010
    Location
    UK
    Posts
    445
    Plugin Contributions
    0

    Default Re: Ceon URI Mapping (SEO)

    You're capturing the path part of the incoming URL request into the $1 back-reference, but then your rule does not use that information.

    The Query String data will also be blank, so the script has nothing at all to work with.

  5. #1305

    Default Re: Ceon URI Mapping (SEO)

    Hi,
    I have a problem that seems to be with this URI mapping mod. It's a fantastic mod by the way, worked first time and really easy to add extra pages to the mapping :) Thanks Conor!

    The problem I have is that I am passing an array as a hidden field on a form.
    The form HTML is as follows:

    <form name="filter" action="http://www.myurl.com" method="get">

    <input type="hidden" name="main_page" value="index" />
    <input type="hidden" name="cPath" value="8" />
    <input type="hidden" name="Flt_Grade[]" value="100" />

    <select name="filter_id" onchange="this.form.submit()">
    <option value="1">Most Popular</option>
    <option value="2" selected="selected">Price: Low to High</option>
    <option value="3">Price: High to Low</option>
    <option value="4">Title</option>
    <option value="6">Date Added: Newest</option>
    <option value="7">Date Added: Oldest</option>
    </select>

    </form>

    When option 4 in the dropdown is selected, the URL should be
    http://www.myurl.com&main_page=index...0&filter_id=4/

    Where %5B = [ and %5D = ]

    But what I actually get is
    http://www.myurl.com&main_page=index...=&filter_id=4/

    The Flt_Grade array has lost its square brackets and its value.

    If I switch URI mapping off, it works ok.

    Do you know if this likely be a problem with my .htaccess file or with the mod itself?

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

    Default Re: Ceon URI Mapping (SEO)

    Hi Damian,

    Glad you like the module!

    Quote Originally Posted by damiantaylor View Post
    When option 4 in the dropdown is selected, the URL should be
    www.myurl.com&main_page=index&cPath=8&flt_grade%5b%5d=100&filter_id=4/

    Where %5B = [ and %5D = ]

    But what I actually get is
    www.myurl.com&main_page=index&cPath=8&flt_grade=&filter_id=4/
    The two URIs you have posted are both unmapped. As the URI uses "main_page=" it is clear that no URI mapping has taken place.

    So I can't see how it could be the URI Mapping software. It must be some sort of parsing problem in your .htaccess file which is stripping the brackets?

    I hope that helps.

    All the best...

    Conor
    ceon

  7. #1307

    Default Re: Ceon URI Mapping (SEO)

    Thanks for the quick reply Conor!
    Sorry, that URL was from my test site when I switched mapping off.
    The URL I get is
    myurl.com/FilesStones?Flt_Grade=&sort=20a&alpha_filter_id=4[/url]

    I'm not very good on .htaccess but I had a feeling that may be the problem!
    Can you spot the error in my .htaccess file? Sorry to ask you this but I haven't got a clue what it all means

    Code:
    RewriteEngine On
    
    # Don't rewrite any URIs ending with a file extension (ending with .[xxxx])
    RewriteCond %{REQUEST_URI} !\.[a-zA-Z]{2,4}$
    # Don't rewrite admin directory
    RewriteCond %{REQUEST_URI} !^/admin.* [NC]
    # Don't rewrite editors directory
    RewriteCond %{REQUEST_URI} !^/editors.* [NC]
    # Don't rewrite cPanel directories
    RewriteCond %{REQUEST_URI} !/cpanel.* [NC]
    RewriteCond %{REQUEST_URI} !/frontend.* [NC]
    # Handle all other URIs using Zen Cart (index.php)
    RewriteRule (.*) index.php?%{QUERY_STRING} [L]
    
    
    RewriteEngine On
    
    # Prepend www if http://myurl.com
    RewriteCond %{HTTP_HOST} ^myurl.com
    RewriteRule (.*) http://www.myurl.com [R=301] [L]

  8. #1308
    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 damiantaylor View Post
    Sorry, that URL was from my test site when I switched mapping off.
    The URL I get is
    myurl.com/FilesStones?Flt_Grade=&sort=20a&alpha_filter_id=4[/url]
    Hmm, so a redirection is taking place. You've found a bug in the module.. it doesn't re-encode array parameters in a query string properly when performing a redirect from a dynamic URI to a static URI mapping.

    Please get in contact with me via this link with FTP and admin details for your site and I'll upload a test version of a fix.. you can then let me know if the fix works and I'll include it in 3.4.0.

    All the best..

    Conor
    ceon

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

    Default Re: Ceon URI Mapping (SEO)

    Hi Damian,

    By the way, this wouldn't have happened if you had the form go to the correct URI.. Instead of...

    Code:
    <form name="filter" action="http://www.myurl.com" method="get"> 
    
    <input type="hidden" name="main_page" value="index" />
    <input type="hidden" name="cPath" value="8" />
    You should be using:

    Code:
    <form name="filter" action="http://www.myurl.com/FilesStones" method="get">
    The following should be deleted:

    Code:
    <input type="hidden" name="main_page" value="index" />
    <input type="hidden" name="cPath" value="8" />
    Regardless, get in contact with me as requested in the previous e-mail.

    All the best...

    Conor
    ceon

  10. #1310

    Default Re: Ceon URI Mapping (SEO)

    Will do Conor!
    I'll have to wait til I get home for that one though....should be around 4.30

 

 

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