Posted: 04/05/2006 7:29:09 PM
I am just wondering if this new New - Friendly URLs with mod_rewrite supports other languages?
Thanks,
media
Posted: 04/05/2006 7:29:09 PM
Posted: 04/06/2006 4:19:53 PM
media wrote: | 04/05/2006 7:29:09 PM |
I am just wondering if this new New - Friendly URLs with mod_rewrite supports other languages? Thanks, media |
Posted: 04/27/2006 8:43:29 AM
Posted: 05/04/2006 10:35:43 AM
media wrote: | 04/27/2006 8:43:29 AM |
[quote id=15984Hello Media, I assume you are talking about non-English support for mod_rewrite. Well, I just recently have tried Hebrew and it seemed to work just fine, so the answer is yes. However, as you realize this is something that is limited by Apache and mod_rewrite itself since for In-portal there is no difference how the URLs were built. Thanks.[/quote] I just tried to use in my lang and i got 404 page not found... If the cat name does not have any non-english chars it is ok, but if there is a non-english char, program returns a 404 page :cry: |
Posted: 05/08/2006 10:32:02 PM
Dmitry wrote: | 05/04/2006 10:35:43 AM | ||||
Hello Media, We've got your support request and going to look into this shortly. Thanks. |
RewriteEngine on
RewriteRule ^([0-9]+)\.html$ index.php?page=$1
RewriteRule ^(.+)/([0-9]+)-([0-9]+)\.html$ index.php?cat=$2&page=$3
RewriteRule ^(.+)/([0-9]+)-([0-9]+)-([0-9]+)\.html$ index.php?cat=$2&page=$3&lpage=$4
RewriteRule ^(.+)/([0-9]+)-0-0-([0-9]+)-([0-9]+)-(.+)\.html$ view.php?id=$2&cat=$3&page=$4&type=$5
RewriteRule ^(.+)/(.+)-([0-9]+)-([0-9]+)-([0-9]+)-(.+)\.html$ view.php?id=$3&cat=$4&page=$5&type=$6
RewriteRule ^alpha-(.+)-([0-9]+)\.html$ alpha.php?letter=$1&page=$2
RewriteRule ^mail-([0-9]+)-([0-9]+)-([0-9]+)\.html$ mail.php?id=$1&cat=$2&page=$3
RewriteRule ^mail2-([0-9]+)-([0-9]+)-([0-9]+)\.html$ mail2.php?id=$1&cat=$2&page=$3
RewriteRule ^view-reviews-([0-9]+)-([0-9]+)-([0-9]+)\.html$ reviews.php?id=$1&cat=$2&page=$3
RewriteRule ^review-([0-9]+)-([0-9]+)-([0-9]+)\.html$ review.php?id=$1&cat=$2&page=$3
RewriteRule ^rating-([0-9]+)-([0-9]+)-([0-9]+)\.html$ view.php?id=$1&cat=$2&page=$3&type=rate
RewriteRule ^offers-([0-9]+)-([0-9]+)-([0-9]+)-(.+)\.html$ offers.php?id=$1&page=$2&cat=$3&type=$4
RewriteRule ^gallery-([0-9]+)-([0-9]+)-([0-9]+)\.html$ gallery.php?id=$1&page=$2&cat=$3
RewriteRule ^documents-([0-9]+)-([0-9]+)-([0-9]+)\.html$ documents.php?id=$1&page=$2&cat=$3
RewriteRule ^out-([0-9]+)\.html$ out.php?ID=$1
Posted: 05/09/2006 9:43:27 AM
Follow In-Portal: Facebook Twitter LinkedIn
In-Portal Jobs - Post Resume
Terms and Conditions of Use | Sale and Service Agreement | Privacy Policy
Web Development by Intechnic | © 1997-2013, In-Portal Non-profit Organization. All Rights Reserved