All Low add-ons are now owned by EEHarbor. Read the blog post.

Support archive

Form action resolving to a different URL

MattV 20 Aug 2013 13:56 question, complete

(This might be a hosting company question, but I thought I'd post here first.)

We host a site at Nexcess, and when we signed up for the account, we were given a temporary URL (call it domain.nextmp.net) before the DNS resolved for our proper domain (call it domain.com). Once the DNS resolved and we pushed the site live, I made sure all the config settings, etc., were set to domain.com.

We just noticed that the Low Search form is sending results to domain.netxtmp.net. Digging into the source, the search form has the following action:

<form method="post" action="http://domain.netxtmp.net/">

If that is happening because of a config setting, I can't seem to find it. As I said, this might ultimately be a question for Nexcess, but I thought I'd ask here first, because you'll know better than anyone how Low Search determines what URL to use as the search form action.

Thanks for your help.

Replies

  1. Low 20 Aug 2013 13:58

    What's the "URL to the root directory of your site" under CP > Admin > General Configuration?

  2. MattV 20 Aug 2013 14:39

    Yeah, that was one of the first places I looked. It's set to the live URL: http://domain.com/

  3. Low 20 Aug 2013 14:50

    Can you make sure all caches are cleared? Empty out the /system/expressionengine/cache/ directory if you can.

    Also, are you setting the 'site_url' config item in config.php?

  4. MattV 20 Aug 2013 15:00

    The config.php was clean, but I hadn't cleared the entire cache. I'm a little surprised that was it, but a good cache clearing did the trick!

    Thanks for your help. Sorry I didn't think of that myself.