fix issue in duplication in database mp3 site

Discussion in 'PHP' started by fadhi123, Feb 1, 2014.

  1. #1
    hi
    i have mp3 search engine which is create duplicate recent searches value in database which is not good for seo ex: if i search song like "we cant stop mp3" than it will show recent searches and also save in database than if any other user search same keyword like "we cant stop mp3" than it will also save in recent searches and database which is duplicate i want to get rid from this issue and i want to fix this issue please any body help me i ll pay you thanks
     
    fadhi123, Feb 1, 2014 IP
  2. PoPSiCLe

    PoPSiCLe Illustrious Member

    Messages:
    4,623
    Likes Received:
    725
    Best Answers:
    152
    Trophy Points:
    470
    #2
    Well... if you don't care about the db-storage, you can group by search_value or something when pulling the data from the database, hence removing duplicate entries- or you can check to see if the search is already in the database when a user searches, and if it is, don't add it. However, shouldn't recent searches always just show the recent searches, regardless of if it has been searched for before? Hence you should also have a time-check, to see if the search is there, and if it is, when it was last used - and if it's not in the last 10, or 20, or whatever number, add it again (maybe deleting the previous entry in the process)
     
    PoPSiCLe, Feb 1, 2014 IP
  3. fadhi123

    fadhi123 Well-Known Member

    Messages:
    754
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    130
    Digital Goods:
    1
    #3
    but i fix this issue because there is many duplication in database and every user if he search same song 10time it will add same stings in database which is duplicate and bad for seo i want to get rid from it yes i agree it will 1st check if no search in db it will add otherwise 1st search in db how i fix this issue ?
     
    fadhi123, Feb 1, 2014 IP
  4. vOlLvEriNe

    vOlLvEriNe Member

    Messages:
    99
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #4
    witch script you are using for that ?
     
    vOlLvEriNe, Feb 7, 2014 IP
  5. fadhi123

    fadhi123 Well-Known Member

    Messages:
    754
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    130
    Digital Goods:
    1
    #5
    i m using many other script but i want to upgrade my script and other things if any body help me ?
     
    fadhi123, Feb 7, 2014 IP
  6. vOlLvEriNe

    vOlLvEriNe Member

    Messages:
    99
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #6
    Check this One, Its my own site
    http://imp3skulls.com/
     
    vOlLvEriNe, Feb 8, 2014 IP