how to remove /#!/ symbol fro the url..please advice

Discussion in 'PHP' started by sansinin, Sep 11, 2012.

  1. #1
    Hi

    how to remove /#!/ symbol fro the url..please advice

    when i click services pages..links looks like given below

    com/#!/content-management

    com/#!/contact

    my question is how to remove #! symbol from url

    why it is showing #! symbol in url


    Thanks in advance
     
    Solved! View solution.
    sansinin, Sep 11, 2012 IP
  2. #2
    Simply this

    
    // sample url
    $url = 'http://example.com/#!test';
    
    // remove it
    $url = str_replace('#!', '', $url);
    
    PHP:
    It probably was set by javascript.
     
    gapz101, Sep 12, 2012 IP
  3. danramosd

    danramosd Active Member

    Messages:
    115
    Likes Received:
    1
    Best Answers:
    1
    Trophy Points:
    83
    #3
    danramosd, Sep 12, 2012 IP
  4. sansinin

    sansinin Peon

    Messages:
    15
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Hi

    Thanks for your reply...
     
    sansinin, Sep 12, 2012 IP