Results 1 to 4 of 4

Thread: Search BUG

  1. #1
    Thread Starter
    Veteran sonnycool's Avatar
    Join Date
    Mar 2009
    Location
    Malaysia
    Posts
    308
    Thanks
    32
    Thanked 2 Times in 2 Posts

    Search BUG

    404 page doesn't include or it doesn't appear ...

  2. #2
    Thread Starter
    Veteran sonnycool's Avatar
    Join Date
    Mar 2009
    Location
    Malaysia
    Posts
    308
    Thanks
    32
    Thanked 2 Times in 2 Posts

    Re: Search BUG

    add some more info, long phrase search and 404 won't appear ....
    for example : " BMW 320i (A) 2.2 cc 2001/’04 1 owner ", the 404 page won't appear

  3. #3
    Founder dcowgill's Avatar
    Join Date
    Mar 2009
    Location
    San Francisco, CA
    Posts
    1,939
    Thanks
    66
    Thanked 135 Times in 99 Posts

    Re: Search BUG

    It's not liking the slash mark. In the header.php file remove the following bit of code:

    Code:
    onsubmit="location.href='<?php bloginfo('home'); ?>/search/' + encodeURIComponent(this.s.value).replace(/%20/g, '+'); return false;"
    That was just making the search urls pretty (i.e. /search/bmw+320i) vs (i.e. ?s=bmw+320i)

    Basically all the characters (,/?:@&=+$#) need to be encoded via javascript in order for this onsubmit to work. If anyone is willing to help fix this, I'd appreciate it! Otherwise, I'll have to pull it out from the next release.

  4. #4
    Thread Starter
    Veteran sonnycool's Avatar
    Join Date
    Mar 2009
    Location
    Malaysia
    Posts
    308
    Thanks
    32
    Thanked 2 Times in 2 Posts

    Re: Search BUG

    ok ok ... no worry is not that important for me yet

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Changing "Search Classifieds" box to say "Search Listings"
    By ejikoala in forum ClassiPress General Discussion
    Replies: 2
    Last Post: September 29th, 2009, 06:10 AM