5 Replies Latest reply on Mar 26, 2012 12:10 AM by DVita

    How to check the url on a specific word

    DVita Level 1

      Making use of htaccess and Google translate I have buttons to several languages  on my site that send the site  to Google translate. This works OK.

      However within Google-translate the same buttons e.g. to switch to another language don't work anymore because of the url has changed.

      So my idea is to use PHP to check the url on the word Google so that the buttons are not shown when if it is found.

      Is there a way within PHP to check if a particular word is part of the url?


      Any help is greatly appreciated.