ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

removing " .ehclients" from URL

July 05, 2011 8:14pm

Subscribe [3]
  • #1 / Jul 05, 2011 8:14pm

    Jacobmiso

    51 posts

    After developing a site offline as domain.ehclients.com , we have now gone live and would prefer if the url didn’t display .ehclients.

    This was very easy to do manually of course with any links written or generated sitewide.

    The trouble I am having is with a couple of dynamic search fields:

    My template code is

    <form method=“post” action=”{path="main/_sales_main"}”>

    However it renders that line as

    <form method=“post” action=“http://epgcaribbean.ehclients.com/index.php/main/_sales_main”>

    I’m not sure where it’s pulling the ehclients part from

    ?

    Thanks as always,

    c.

  • #2 / Jul 06, 2011 1:41am

    Kurt Deutscher

    827 posts

    Hi Jacobmiso,

    Four places to double-check that your paths got updated after launch:

    In the CP:

    1. Admin > General Config > URL to the root directory of your site

    This first one is something that gets reset by hand on launch day.

    2. Admin > Channel Administration > Channels > Edit Preferences (of the channel with the path issue) > Path Settings

    The Second one is written automatically in the first Channel you create (and if you’ve never removed it, it might still be there.

    On the server:

    3. /www/eh#####/public_html/index.php

    If you were masking the CP or running MSM or other, you may find there’s a path set in the index.php you need to update.

    4. /www/eh#####/system/expressionengine/config/config.php

    ** hint, you may have renamed your system folder.

    You shouldn’t ever have to touch this last one, but we once didn’t have the file permissions at the recommended “666” and it didn’t update when it should have.

    When you are done checking, and especially if you updated a path, then clear caching and see if things are better:

    In the CP: Tools > Data > Clear Caching > Clear All

    If this didn’t fix it, then the paid support here will want to know what version of EE and build you’re running and if you have add-ons and such.

    Good luck finding that pesky path!

    - Kurt

  • #3 / Jul 06, 2011 1:47am

    Jacobmiso

    51 posts

    Thank You Kurt

    I will follow up on all of those suggestions.

    btw
    **If you don’t mind - an informal question as a web developer:

    I personally find EE’s url generation to be one of the best out there, so I honestly don’t mind seeing the ehclients string here and there.
    I’m looking into this on behalf of a client.

    Thoughts?

  • #4 / Jul 06, 2011 2:03am

    Kurt Deutscher

    827 posts

    Hm… I had maybe 3 hours sleep last night, so my brain is running on empty, but the fist *rule* that comes to mind is:

    “Avoid diluting your brand” Basically, don’t mix your brand up with another brand, even if you think the other brand is stronger, unless you have some very compelling reason to do so.

    The second thing that comes to mind is that it could dilute the site’s SEO too, and confuse visitors, so I would remove it everywhere.

    If I go on much more here, you support request may get banished over to the “How-to” forum, and we want to avoid that until after we know you have your site working as you client wants.

  • #5 / Jul 06, 2011 2:07am

    Jacobmiso

    51 posts

    Interesting Comments Kurt,

    I’m going to get back to work in the CP and find that path.

    Cheers

  • #6 / Jul 06, 2011 4:32am

    Jacobmiso

    51 posts

    Got it sorted out.

    Thanks. It was essentially the General Config root path that was the mysterious part. (Dont know how I missed that).

    But I also had some conditional {embed/...} files in my navigation that the css was bringing up based on page IDs here and there.

    This site was frankly a bit ambitious for me:
    I planned to recreate an MLS listing service created with 7 unique channels all searchable by 20+ parameters. And I wanted them to display results by price, date or alpha depending on the context.

    Anyway, on day one it was a complete mystery, but by building on some ideas from a few people here it all was working very smoothly within a day or two of trial and error.

    Thanks for the tech help as well as the brand and SEO thoughts.

  • #7 / Jul 06, 2011 12:51pm

    Sue Crocker

    26054 posts

    Thanks for the assist, Kurt.

    Jacobmiso - If anything else comes up, please start a new thread so that we can help you.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases