Results 1 to 10 of 2907

Threaded View

  1. #10
    Join Date
    Jan 2009
    Location
    Macclesfield, South Australia
    Posts
    102
    Plugin Contributions
    0

    Default Re: Ceon URI Mapping (SEO)

    That was some pretty fast typing there Conor. Thanks for the quick response.
    OK, as per your examples:

    1.With my .htaccess file located in the /zc1 directory (where index.php is located)
    RewriteEngine On

    # ONLY rewrite URIs beginning with /zc1/
    RewriteCond %{REQUEST_URI} ^/zc1/.* [NC]
    # 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} !^/zc1/admin.* [NC]
    # Don't rewrite editors directory
    RewriteCond %{REQUEST_URI} !^/zc1/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]
    Product URI generated example : /zc1/sony-ps3-ir-control/ps3ir-1000
    Get "The requested URL /zc1/sony-ps3-ir-control/ps3ir-1000 was not found on this server."


    2. With .htaccess file located in the / directory
    RewriteEngine On

    # ONLY rewrite URIs beginning with /zc1/
    RewriteCond %{REQUEST_URI} ^/zc1/.* [NC]
    # 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} !^/zc1/admin.* [NC]
    # Don't rewrite editors directory
    RewriteCond %{REQUEST_URI} !^/zc1/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 (.*) zc1/index.php?%{QUERY_STRING} [L]
    Product URI generated example : /zc1/sony-ps3-ir-control
    Get "The requested URL /zc1/sony-ps3-ir-control/ps3ir-1000 was not found on this server."

    Ive also tried many many many other less logical combinations. Alas none worked.

    I restarted Apache and cleared the cache each test

    Quote Originally Posted by conor View Post
    Please note that the directory name should be your FINAL store's directory name as otherwise all your auto-generated URIs will have /zc1 at the start of them. I.e., you should test your store in the exact same subdirectory name as your final store (hence I recommend "shop" or "store" instead of "zc1").
    Ive used "zc1" instead of "store" etc for a reason that now escapes me.
    My Live store http://www.remoteone.com.au has the same name. Having the Test store a different folder to the Live store would indeed be more un-necessary trouble.

    All the generated URIs have /zc1 at the start of them. would this normally be the case (ie "/store/generated_url_name") or should they normally generate as just "/generated_url_name"

    Thanks
    Last edited by remoteone; 4 Aug 2009 at 03:49 PM.
    The Poor Pay Twice.........remoteone.com.au

 

 

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