Page 129 of 291 FirstFirst ... 2979119127128129130131139179229 ... LastLast
Results 1,281 to 1,290 of 2907
  1. #1281
    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 Berserker View Post
    Will this module work for an addon domain? Im getting HTTP 404 Not Found when im using exactly the same .htaccess as the main domain.
    It'll work for any domain.. the module doesn't care where it is placed.

    What is not working for you is your rewrite rule.. that's completely separate from the module.

    You've obviously messed up when creating a rewrite rule for your "addon" domain (what's an addon domain? I guess you mean a subdomain?).

    Make sure that your site for the subdomain either loads htaccess files and has the proper rewrite rule in the .htaccess file for the subdomain site or set the rewrite rule in the virtualhost directive for the subdomain site.

    Also make sure your subdomain's setup doesn't clash with your main domain!

    If you aren't sure what to do you might want to search the net for more information or pay a developer to help you.

    Hope that helps!

    All the best..

    Conor
    ceon

  2. #1282
    Join Date
    May 2006
    Posts
    725
    Plugin Contributions
    0

    Default Re: Ceon URI Mapping (SEO)

    It's an add-on domain. It has it's own domain name instead of using the same domain name as the main account (subdomain).
    I've spoken with my webhost and they said that their addon domains does support .htaccess files.
    Below is what I have in my .htaccess file

    # 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]

    The above rules is the same as in the main account and the module works there.

    Thanks

  3. #1283
    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 Berserker View Post
    It's an add-on domain. It has it's own domain name instead of using the same domain name as the main account (subdomain).

    The above rules is the same as in the main account and the module works there.
    "Addon domains", "Main accounts".. I don't know what you mean.

    A domain has a webspace account with it. That's it! :) Whatever this "addon" stuff is, you need to get your host to sort it out so that you can have it work as a "real" domain.

    Sorry I can't be more help than that but this thread is for support of the module, not for general hosting/rewrite rule questions, you should start a new thread for that!

    All the best...

    Conor
    ceon

  4. #1284
    Join Date
    Jul 2006
    Location
    SF Bay Area
    Posts
    867
    Plugin Contributions
    1

    Default Re: Ceon URI Mapping (SEO)

    If you are using "add-on" domains, I find this works:

    to your .htaccess add:

    Code:
    RewriteCond %{HTTP_HOST} ^(www\.)?YOUR-ADD-ON-DOMAIN-NAME\.com
    
    RewriteRule .* - [L]
    and for the directory the add-on lives in:

    Code:
    RewriteCond %{REQUEST_URI} !^/YOUR-ADD-ON-DIRECTORY.* [NC]

  5. #1285
    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 kiddo View Post
    If you are using "add-on" domains, I find this works:
    Thanks for posting the info.. hopefully it works!

    What are these "add-on" domains you are both talking about?

    Ridiculously cheap ways to host additional sites or something? (Hosting is so cheap these days I can't for the life of me see the need for anything like that?).

    All the best..

    Conor
    ceon

  6. #1286
    Join Date
    Jul 2006
    Location
    SF Bay Area
    Posts
    867
    Plugin Contributions
    1

    Default Re: Ceon URI Mapping (SEO)

    One more... Put the above in your main web root.
    And if you use the CEON mod in the ad-on domain, put the .htaccess file in the directory of the add-on as if it was its own domain.

    You can do this for multiple add-ons as long as you accomodate them (ignore them) in your main .htaccess

    Clear as mud?

  7. #1287
    Join Date
    Jul 2006
    Location
    SF Bay Area
    Posts
    867
    Plugin Contributions
    1

    Default Re: Ceon URI Mapping (SEO)

    Quote Originally Posted by conor View Post
    Hi,



    Thanks for posting the info.. hopefully it works!

    What are these "add-on" domains you are both talking about?

    Ridiculously cheap ways to host additional sites or something? (Hosting is so cheap these days I can't for the life of me see the need for anything like that?).

    All the best..

    Conor
    ceon
    Some hosts allow you to point additional domains at your account and host them as if they were stand-alone domains. For the most part, it works pretty well. Each add-on lives in a directory under the main web root.

    I know BH, HM and CH offer this. Seems to be pretty common these days.

  8. #1288
    Join Date
    May 2006
    Posts
    725
    Plugin Contributions
    0

    Default Re: Ceon URI Mapping (SEO)

    I was hoping it would work but didnt...

    This is what i have in the htaccess of the main domain

    RewriteCond %{REQUEST_URI} !^/addondomain.com.* [NC]

    RewriteCond %{HTTP_HOST} ^(www\.)?addondomain\.com
    Rewriterule .* - [L]

    # 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 livezilla directory
    RewriteCond %{REQUEST_URI} !^/livezilla.* [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]


    And this is what I have in the htaccess of the addon domain

    RewriteCond %{HTTP_HOST} ^(www\.)?addondomain\.com

    RewriteRule .* - [L]

    RewriteCond %{HTTP_HOST} ^addondomain\.com
    RewriteRule ^(.*)$ http://www.addondomain.com/$1 [R=permanent,L]

    #RewriteCond %{HTTP_HOST} ^addondomain.com$
    #RewriteRule ^/?$ "http\:\/\/www\.addondomain\.com" [R=301,L]


    # 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]


    This module works in the main account but does not for the addon. There's not much difference between both htaccess file...

    Thanks

  9. #1289
    Join Date
    Mar 2010
    Location
    UK
    Posts
    445
    Plugin Contributions
    0

    Default Re: Ceon URI Mapping (SEO)

    In ALL of the RewriteCond patterns above, remove the unwanted trailing .* part of the pattern where you are not capturing it in a backreference.

    That is, !^/editors.* should be !^/editors here. Same for all of the other patterns.

  10. #1290
    Join Date
    Dec 2008
    Posts
    55
    Plugin Contributions
    0

    Default Re: Ceon URI Mapping (SEO)

    Quote Originally Posted by g1smd View Post
    In ALL of the RewriteCond patterns, remove the unwanted trailing .* part of the pattern where you are not capturing it in a backreference.

    Change the reference to 'admin' to reflect what your admin folder is actually called.

    Beware of paths that are localised when used with RewriteRule when the .htaccess is in a folder.
    Okay thanks, I will try that.

    Quote Originally Posted by DivaVocals View Post
    You have your store in a subdirectory and are using a redirect so that when folks hit your main domain they are redirected to the sub-directory??? Why do you have Zen Cart setup in this manner?? You could solve a LOT of your issues by moving Zen Cart into your site root and NOT use a sub directory at all..
    Not really sure why. I do have non-Zen stuff stored on the server as well. I came from OSC a year or 2 back so that might have something to do with it.

    Thanks for the replies.

 

 

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