Activity Stream
48,167 MEMBERS
6830 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Results 1 to 3 of 3
  1.     
    #1
    Banned
    Website's:
    WarezRelease.org ThatHosting.co

    Default Forward Slash in URLs

    See the prob in this URL

    Code: 
    http://mysite.org/download-13944-Windows-7-Electric-Blue-Ultimate-x86/ENG/ISO/Final/2011.html
    See ?t? The /. i need them to be a - instead, i checked .htaccess and i dont think thats a prob btw heres wot i got

    PHP Code: 
    RewriteRule ^download-([^/]+)-([^/]+)\.html download.php?id=$[QSA,L,NC
    Cos rite now the links think they're in a dir and its causing a 404 error.

    any1 can help fix....
    Chris2k Reviewed by Chris2k on . Forward Slash in URLs See the prob in this URL http://mysite.org/download-13944-Windows-7-Electric-Blue-Ultimate-x86/ENG/ISO/Final/2011.html See ?t? The /. i need them to be a - instead, i checked .htaccess and i dont think thats a prob btw heres wot i got RewriteRule ^download-(+)-(+)\.html download.php?id=$1 Cos rite now the links think they're in a dir and its causing a 404 error. Rating: 5

  2.   Sponsored Links

  3.     
    #2
    Member
    Website's:
    wscripts.net damnlolscript.com lulzjet.com
    you need to edit your seo function where you replace spaces with - you must add "/" too

  4.     
    #3
    Banned
    Website's:
    WarezRelease.org ThatHosting.co
    here is my full seo function, i modified it when i started my ddl....

    PHP Code: 
    function remove_words($str){
      
    // Special characters to be removed
       
    $remove = array('!','@','#','$','%','^','*','_','+','{','}','|','"','<','>','?','[',']','\\',';',',','.','/','?','`','=');
       
    $str str_replace($remove""$str);
       
       
    // Remove whitespaces and double dashes and replace them with a single dash for SEO
       
    $replace = array("--");
       
    $str str_replace($replace"-"$str);

       
    $replace = array("/");
       
    $str str_replace($replace"-"$str);
       
       
    $replace = array("&");
       
    $str str_replace($replace"and"$str);
       return 
    $str;

    am i doing it rite cos it doesn't work?

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Comedies in 2011 To Look Forward To
    By Daniel in forum General Discussion
    Replies: 2
    Last Post: 14th Mar 2011, 01:55 PM
  2. Which 2011 sequel are you most looking forward to?
    By shanit in forum Polling Plaza
    Replies: 8
    Last Post: 3rd Feb 2011, 07:58 PM
  3. Which 2011 sequel are you most looking forward to?
    By Maniac_ in forum Polling Plaza
    Replies: 21
    Last Post: 2nd Feb 2011, 08:07 PM
  4. How to forward a domain
    By desibreaker in forum Tutorials and Guides
    Replies: 1
    Last Post: 5th Jul 2010, 05:48 AM
  5. Are you looking forward to HTML5?
    By cyberloads in forum Web Development Area
    Replies: 5
    Last Post: 7th Jun 2010, 06:15 PM

Tags for this Thread

BE SOCIAL