Results 1 to 10 of 2445

Hybrid View

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

    Default Re: Ceon URI Mapping v4.x

    Hi Danielle,

    Quote Originally Posted by Danielle View Post
    because of the .htaccess rules on the root domain, the subdomain just redirects to the root.

    Can you tell me what I need to put in there to stop it from rewriting the subdomain?
    Yes, Apache will go right back to the DocumentRoot folder for the server when looking for .htaccess files, not just the current site/subdomain.. so a main site's .htaccess file will indeed be parsed and run, affecting what happens with a subdomain whose files are placed in a subdirectory of the main site.

    So if you have a rule to redirect from non www. to www. or vice versa, that'll more than likely mess up your subdomain.

    So you need to change this rewrite rule.

    If the subdomain is new.mysite.com, adding the following condition to the "www. rule" should stop the "main"/"root" site's rewrite rule from messing things up:

    Code:
    # Don't mess with subdirectory new.mysite.com
    RewriteCond %{HTTP_HOST} !^new\.mysite\.com$
    E.g., it might adjust a rule as follows:

    Code:
    RewriteCond %{HTTP_HOST} !^www\.mysite\.com$
    # Don't mess with subdirectory new.mysite.com
    RewriteCond %{HTTP_HOST} !^new\.mysite\.com$
    RewriteRule (.*) http://www.mysite.com/$1 [R=301,L]
    Hope that helps!

    Please note that this obviously isn't a Ceon URI Mapping question so if you're still having trouble it's best to post in a new thread.

    All the best..

    Conor
    ceon

  2. #2
    Join Date
    Oct 2004
    Posts
    1,045
    Plugin Contributions
    0

    Default Re: Ceon URI Mapping v4.x

    Quote Originally Posted by conor View Post
    Hi Danielle,



    Yes, Apache will go right back to the DocumentRoot folder for the server when looking for .htaccess files, not just the current site/subdomain.. so a main site's .htaccess file will indeed be parsed and run, affecting what happens with a subdomain whose files are placed in a subdirectory of the main site.

    So if you have a rule to redirect from non www. to www. or vice versa, that'll more than likely mess up your subdomain.

    So you need to change this rewrite rule.

    If the subdomain is new.mysite.com, adding the following condition to the "www. rule" should stop the "main"/"root" site's rewrite rule from messing things up:

    Code:
    # Don't mess with subdirectory new.mysite.com
    RewriteCond %{HTTP_HOST} !^new\.mysite\.com$
    E.g., it might adjust a rule as follows:

    Code:
    RewriteCond %{HTTP_HOST} !^www\.mysite\.com$
    # Don't mess with subdirectory new.mysite.com
    RewriteCond %{HTTP_HOST} !^new\.mysite\.com$
    RewriteRule (.*) http://www.mysite.com/$1 [R=301,L]
    Hope that helps!

    Please note that this obviously isn't a Ceon URI Mapping question so if you're still having trouble it's best to post in a new thread.

    All the best..

    Conor
    ceon
    There isn't a www rewrite rule in the htaccess though. I tried your solution anyway but it didn't work. I will start a new thread, thank you.
    Danielle

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

    Default Re: Ceon URI Mapping v4.x

    Hi Danielle,

    Quote Originally Posted by Danielle View Post
    There isn't a www rewrite rule in the htaccess though. I tried your solution anyway but it didn't work. I will start a new thread, thank you.
    You can't possibly have tried my solution if there was no appropriate rule to apply it to! :)

    Get in contact with FTP, control panel and admin details and I'll take a quick look for you when I get a chance.

    I won't be posting about it back here though, since it's a server not a URI mapping issue.

    All the best..

    Conor
    ceon

  4. #4
    Join Date
    Oct 2004
    Posts
    1,045
    Plugin Contributions
    0

    Default Re: Ceon URI Mapping v4.x

    I just installed Ceon URI onto a site that already had Fast and Easy Checkout installed. The FEC mod was working perfectly before the installation of the Ceon mod. Now, when I input user info on "/index.php?main_page=no_account" page, the form just refreshes itself and I can't proceed through checkout. A customer account is created though.

    Any ideas on how I can fix this? It looks like these two mods are supposed to be compatible, not sure if I'm just missing something obvious here? Ceon URI is even turned off in the admin, and I still have this issue.
    Danielle

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

    Default Re: Ceon URI Mapping v4.x

    Hi,

    Quote Originally Posted by Danielle View Post
    Any ideas on how I can fix this? It looks like these two mods are supposed to be compatible, not sure if I'm just missing something obvious here? Ceon URI is even turned off in the admin, and I still have this issue.
    They do work together so I'm afraid I don't know what you've done wrong, sorry.

    I probably won't be on the forum much for the next few days so apologies for not being able to comment further.

    All the best..

    Conor
    ceon

 

 

Similar Threads

  1. v139d Ceon uri mapping, how to generate uri mapping for bulk bulk-imported products?
    By mybiz9999 in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 8 Jan 2013, 06:52 AM
  2. CEON URI Mapping
    By jmkent in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 22 Nov 2012, 04:28 PM
  3. Ceon URI Mapping (SEO)
    By conor in forum All Other Contributions/Addons
    Replies: 2906
    Last Post: 9 Sep 2011, 08:31 AM
  4. Ceon URI Mapping v4
    By conor in forum All Other Contributions/Addons
    Replies: 110
    Last Post: 14 Aug 2011, 02:51 PM

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