Who is here? 2 Guests
Character of ěščřžýáíé do escrzyaie. (URL rewrite)
PePe15th
Posted on 24-06-2010 18:23
Offline
Newbie
Posts: 8
Joined: 24.06.10
Gender: male
Age: 18
Warnings:
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 ...
ep98
Posted on 25-06-2010 02:04
Offline
Admin
Posts: 147
Joined: 21.05.10
Gender: male
Age: 38
Warnings:
Backup your current .htaccess
and try with this one
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
PePe15th
Posted on 25-06-2010 14:49
Offline
Newbie
Posts: 8
Joined: 24.06.10
Gender: male
Age: 18
Warnings:
Perhaps you missed my point.
I thought the url article.
ep98
Posted on 25-06-2010 14:58
Offline
Admin
Posts: 147
Joined: 21.05.10
Gender: male
Age: 38
Warnings:
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
Advertising Bot Posted on 18-05-2012 08:49
Bot Agent Posts: n^xJoined: Always
PePe15th
Posted on 25-06-2010 15:05
Offline
Newbie
Posts: 8
Joined: 24.06.10
Gender: male
Age: 18
Warnings:
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
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&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
slaughter
Posted on 25-06-2010 16:00
Offline
Head Developer
Super Admin
Posts: 1091
Joined: 28.12.09
Gender: male
Warnings:
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
Posted on 25-06-2010 16:09
Offline
Newbie
Posts: 8
Joined: 24.06.10
Gender: male
Age: 18
Warnings:
Thank you very much
By the way, when can I expect the next version?
slaughter
Posted on 25-06-2010 17:15
Offline
Head Developer
Super Admin
Posts: 1091
Joined: 28.12.09
Gender: male
Warnings:
The last version was released recently, so next version won't be released soon.
PePe15th
Posted on 26-06-2010 17:26
Offline
Newbie
Posts: 8
Joined: 24.06.10
Gender: male
Age: 18
Warnings:
please do some replacement solution
I need it necessarily
thank you so much
slaughter
Posted on 26-06-2010 17:43
Offline
Head Developer
Super Admin
Posts: 1091
Joined: 28.12.09
Gender: male
Warnings:
Try this in attachment
slaughter attached the following file:
seo.zip [14.02 kB, 96 Downloads]
x 1
PePe15th
Posted on 26-06-2010 17:46
Offline
Newbie
Posts: 8
Joined: 24.06.10
Gender: male
Age: 18
Warnings:
thank you
Jump to Forum:
Sicherheit & Bekanntmachungen
Allgemeine Fragen
Administration in Pimped-Fusion
Bugs und Fehlermeldungen
Feature-Anfragen
Seo Url-Rewrite Issues
Multi-Language Content
Installation
Updates
-Updates (von PHP-Fusion)
-Updates (von Pimped-Fusion)
Sprachdateien
Security Issues & Announcements
General Questions
Administration Issues
Suspected Bugs and Errors
Feature Requests
Seo Url-Rewrite Issues
Multi-Language Content
Installation Issues
Upgrading issues
-Upgrading issues (from PHP-Fusion)
-Upgrading issues (Pimped-Fusion)
Locales
Saugumo klausimai ir pranešimai
Bendrieji klausimai
Administravimo klausimai
Pastebėtos klaidos
Ypatybių prašymai
SEO URL-perrašymo klausimai
Multi-kalbų turinys
Instaliavimo klausimai
Atnaujinimo klausimai
Kalbos
Infusionen
Modifikationen
Themes
Seitenvorstellungen
Infusions
Modifications
Themes
Post Your Site
Įskiepiai
Modifikacijos
Temos
Jūsų tinklalapis
General Discussion
Allgemeine Diskussionen
Bendros diskusijos
Kwestie bezpieczeństwa i sprawy ogólne
Pytania ogólne
Problemy z Panelem Administracyjnym
Znalezione błędy
Propozycje zmian w Pimped-Fusion
Problemy z SEO Url-Rewrite
Problemy z Multi-Language
Problemy z instalacja
Problemy z aktualizacją
-Problemy z aktualizacją (z PHP-Fusion)
-Problemy z aktualizacją (z Pimped-Fusion)
Dyskusja o Pimped-Fusion