Results 1 to 3 of 3
-
19th Nov 2011, 01:46 AM #1OPBannedWebsite's:
WarezRelease.org ThatHosting.coForward 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
PHP Code:RewriteRule ^download-([^/]+)-([^/]+)\.html download.php?id=$1 [QSA,L,NC]
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
-
19th Nov 2011, 09:39 AM #2MemberWebsite's:
wscripts.net damnlolscript.com lulzjet.comyou need to edit your seo function where you replace spaces with - you must add "/" too
-
19th Nov 2011, 03:36 PM #3OPBannedWebsite's:
WarezRelease.org ThatHosting.cohere 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;
}
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Comedies in 2011 To Look Forward To
By Daniel in forum General DiscussionReplies: 2Last Post: 14th Mar 2011, 01:55 PM -
Which 2011 sequel are you most looking forward to?
By shanit in forum Polling PlazaReplies: 8Last Post: 3rd Feb 2011, 07:58 PM -
Which 2011 sequel are you most looking forward to?
By Maniac_ in forum Polling PlazaReplies: 21Last Post: 2nd Feb 2011, 08:07 PM -
How to forward a domain
By desibreaker in forum Tutorials and GuidesReplies: 1Last Post: 5th Jul 2010, 05:48 AM -
Are you looking forward to HTML5?
By cyberloads in forum Web Development AreaReplies: 5Last Post: 7th Jun 2010, 06:15 PM
themaPoster - post to forums and...
Version 5.23 released. Open older version (or...