May 18 2012 08:49:44
Languages
Navigation
Friends & Affiliates
Roadmap
[N] User Profile Wall
[N] Error log like in P...
[N] Submit photo - Subc...
[N] Warnings - who can ...
[N] [edit profile]Save ...
[N] Moving panels with ...
[N] Forum thread deform...
[N] Thumbnails in downl...
[N] [Locale German] New...
[N] Warnings only for a...
Users Online
· Guests Online: 6

· Members Online: 0

· Total Members: 490
· Newest Member: malgorzatka89
Last Seen Users
· xxyy17:17:19
· lilin0402 1 day
· angel 2 days
· vaesir 4 days
· malgorzatka89 1 week
· Iput23 1 week
· djdandi 1 week
· Cerplyt 1 week
· uygarozan 1 week
· sgejido 1 week

Login
 Username  Password  
View Thread: Character of ěščřžýáíé do escrzyaie. (URL rewrite)
Pimped Fusion - Content Management System » Pimped-Fusion Support & Development » Seo Url-Rewrite Issues
Who is here? 2 Guests
 Print Thread
Character of ěščřžýáíé do escrzyaie. (URL rewrite)
PePe15th
Hello,
Because I'm from the Czech Republic. I need to insert into the seo url rewrite these characters ěščřžýáíé. This means that the address will appear escrzyaie. (Somehow, these characters overwrite)
Thank you in advance

Srry for my English ...
 
http://exgames.cz/
ep98
Backup your current .htaccess

and try with this one

Download source  Code

#Options +FollowSymlinks
RewriteEngine On
RewriteBase /

# Rewrite www.domain.com -> domain.com -- used with SEO Strict URLs plugin
RewriteCond %{HTTP_HOST} .
RewriteCond %{HTTP_HOST} !^example-domain-please-change\.com [NC]
RewriteRule (.*) http://example-domain-please-change.com/$1 [R=301,L]

# or for the opposite domain.com -> www.domain.com use the following
# >>> DO NOT USE BOTH THE ABOVE AND BELOW <<<
#
#RewriteCond %{HTTP_HOST} .
#RewriteCond %{HTTP_HOST} !^www\.example-domain-please-change\.com [NC]
#RewriteRule (.*) http://www.example-domain-please-change.com/$1 [R=301,L]





Mmmm, PiF uses very simple SEO, I'll write a detailed bug report with suggestions on the tracker. Thanks for the notification.
Edited by ep98 on 25-06-2010 02:11
 
www.cmsbg.info
PePe15th
Perhaps you missed my point.
I thought the url article.
 
http://exgames.cz/
ep98
UTF-8 translated address ? You have to wait a lot, such translation requires a lot of work, plus own router system.

After 1.1 or even 2.0. Such SEO Routing procedure which are based on modulating the core, not confirmed in any of the current stages of development for up to 1.1.0.

You can try via .htaccess to rewrite each url, but this is not applicable for dynamic sites, also you will get a lot of problems with some providers (ISP), UTF-8 encoded DNSes are not widely available. They will be supported from Q2 or Q3 2011.

so such addresses:

http://домейн.бг/адрес-към-нещо-си.html - 20-40% errors (bad resolving)
http://domain.tld/address-to-something-in-cz (bcz of 'ěščřžýáíé') - 20-40% errors (bad resolving)

By rewriting each rule, u can set it.. but Fusion is not for static sites.....
Edited by ep98 on 25-06-2010 15:00
 
www.cmsbg.info
Advertising Bot
Posted on 18-05-2012 08:49
Bot Agent

Posts: n^x
Joined: Always

  
PePe15th
For instance, this forum is at http://pimped-fusion.net/forum-thread-335-pid2012-character-of-ae-do-escrzyaie-url-rewrite.html # post_2012
Note the: character-of-a-e > a-e
I do not want a-e, but escrzyaie
Our support we help solve this one file: seoname.php
Download source  Code
<?
 
function seoname($seoit)  {
    // $seoit = strip_tags($seoit);
    $seoit = str_replace('á','a',$seoit);
    $seoit = str_replace('č','c',$seoit);
   $seoit = str_replace('ď','d',$seoit);
   $seoit = str_replace('ě','e',$seoit);
   $seoit = str_replace('é','e',$seoit);
   $seoit = str_replace('í','i',$seoit);
   $seoit = str_replace('ó','o',$seoit);
   $seoit = str_replace('š','s',$seoit);
   $seoit = str_replace('ť','t',$seoit);
   $seoit = str_replace('ů','u',$seoit);
   $seoit = str_replace('ú','u',$seoit);
   $seoit = str_replace('ý','y',$seoit);
   $seoit = str_replace('ž','z',$seoit);
   $seoit = str_replace('ň','n',$seoit);
   $seoit = str_replace('ř','r',$seoit);
    $seoit = str_replace('Á','a',$seoit);
    $seoit = str_replace('Č','c',$seoit);
   $seoit = str_replace('Ď','d',$seoit);
   $seoit = str_replace('Ě','e',$seoit);
   $seoit = str_replace('É','e',$seoit);
   $seoit = str_replace('Í','i',$seoit);
   $seoit = str_replace('Ó','o',$seoit);
   $seoit = str_replace('Š','s',$seoit);
   $seoit = str_replace('Ť','t',$seoit);
   $seoit = str_replace('Ú','u',$seoit);
   $seoit = str_replace('Ý','y',$seoit);
   $seoit = str_replace('Ž','z',$seoit);
   $seoit = str_replace('Ň','n',$seoit);
   $seoit = str_replace('Ř','r',$seoit);
    $seoit = str_replace('=',' ',$seoit);
    $seoit = str_replace('/',' ',$seoit);
    $seoit = str_replace('\\',' ',$seoit);
    $seoit = str_replace('@',' ',$seoit);
    $seoit = str_replace('~',' ',$seoit);
    $seoit = str_replace('!',' ',$seoit);
    $seoit = str_replace('£',' ',$seoit);
    $seoit = str_replace('$',' ',$seoit);
    $seoit = str_replace('%',' ',$seoit);
    $seoit = str_replace('^',' ',$seoit);
    $seoit = str_replace('*',' ',$seoit);
    $seoit = str_replace('_',' ',$seoit);
    $seoit = str_replace('{',' ',$seoit);
    $seoit = str_replace('}',' ',$seoit);
    $seoit = str_replace('[',' ',$seoit);
    $seoit = str_replace(']',' ',$seoit);
    $seoit = str_replace('-',' ',$seoit);
    $seoit = str_replace(' & ',' ',$seoit);
    $seoit = str_replace('"',' ',$seoit);
    $seoit = str_replace('.',' ',$seoit);
    $seoit = str_replace('\'',' ',$seoit);
    $seoit = str_replace(',',' ',$seoit);
    $seoit = str_replace('   ','-',$seoit);
    $seoit = str_replace('  ','-',$seoit);
    $seoit = str_replace(' ','-',$seoit);
    $seoit = str_replace(':','',$seoit);
    $seoit = str_replace('#','',$seoit);
    $seoit = str_replace('(','',$seoit);
    $seoit = str_replace(')','',$seoit);
   $seoit = str_replace('–','-',$seoit);
    $seoit = str_replace('---','-',$seoit);
    $seoit = str_replace('--','-',$seoit);
    $seoit = strtolower($seoit);
   $seoit = trim($seoit);
    return $seoit;
}
 

function seonewsopts($info,$sep,$class="") {
   global $locale; $res = "";
   $link_class = $class ? " class='$class' " : "";
   if (!isset($_GET['readmore']) && $info['news_ext'] == "y") $res = "<a href='".seoname($info['news_subject'])."-rn".$info['news_id'].".htm'".$link_class.">".$locale['042']."</a> ".$sep." ";
   if ($info['news_allow_comments']) $res .= "<a href='".seoname($info['news_subject'])."-rn".$info['news_id'].".htm'".$link_class.">".$info['news_comments'].$locale['043']."</a> ".$sep." ";
   if ($info['news_ext'] == "y" || $info['news_allow_comments']) $res .= $info['news_reads'].$locale['044']."\n";
   $res .= $sep." <a href='print.php?type=N&amp;item_id=".$info['news_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' style='vertical-align:middle;border:0px;'></a>\n";
   return $res;
}
?>



Thank you
 
http://exgames.cz/
slaughter
In next version a new file will be added which is similar to the one you posted here. In this file you can add some more characters.
  x 1
 
PePe15th
Thank you very much
By the way, when can I expect the next version?
 
http://exgames.cz/
slaughter
The last version was released recently, so next version won't be released soon.
 
PePe15th
please do some replacement solution
I need it necessarilyFrown
thank you so much
 
http://exgames.cz/
slaughter
Try this in attachment
slaughter attached the following file:
seo.zip [14.02 kB, 96 Downloads]
  x 1
 
PePe15th
thank youSmile
 
http://exgames.cz/
Jump to Forum:
Similar Threads
Thread Forum Replies Last Post
SEO URL-Rewrite simplier Feature Requests 8 13-03-2012 03:56
URL Rewrite anpassen... Seo Url-Rewrite Issues 2 25-03-2011 16:40
Url rewrite custom pages not working Seo Url-Rewrite Issues 15 19-10-2010 13:07
Url-rewrite infusion Seo Url-Rewrite Issues 6 08-10-2010 18:17
Url Rewrite? Seo Url-Rewrite Issues 3 26-08-2010 11:56
Share this thread
URL:
BB-Code:
HTML:
AddThis:
Share |
Render time: 0.18 seconds - 109 Queries 989,157 unique visits