RewriteRule ^Best-News(\.html)?$ news.php [L,NC]
/*-----------------+
| NORMAL PAGES |
+-----------------*/
function replace_normal_pages($matches)
{
$replace = "'".$matches[1].ucfirst($matches[2]).URL_POSTFIX."'";
return $replace;
}
$pattern = "/'(".$linkpath."|".$siteurl.")?news\.php\'/";
$output = preg_replace($pattern, "$1Best-News".URL_POSTFIX, $output);
Quote
Sepa wrote:
Hello, I can not help it. We deal with the two days. I installed the infusion several times and each time with the same result. When I run SEO and panels disappear from the main page. Leaving only News. I did everything according to the readme, and I also used the patch discussed in #11 I do not know why, but still the same result.
I have version v7.02.05 and other additional infusions are used. We solve it somehow?
EDIT: It seems that everything works ok. only when I enter in the settings as the default page News news.html or so disappear panels on the main page.
function cleanmytext($text)
{
$text = preg_replace('~[^-a-zA-z0-9_]+~', '-', $text);
// $text = preg_replace("/[^a-zA-Z0-9_-\s]/", "", $text);
$text = str_replace(" ", "-", $text);
// $text = preg_replace("/([\s\s]+|[--]+)/", "-", $text);
return $text;
}
$text =
Array("ř","Ď","Č","Ě","Š","Ř","Ž","Ý","Á","Í","É","Ú","Ů",
"ľ","š","č","ť","ž","ý","á","í","é","ä","ú","ô","ů","ě","ď", " ", "+", "/");
$replace =
Array("r","d","c","e","s","r","z","y","a","i","e","u","u","l","s","c","t","z",
"y","a","i","e","a","u","o","u","e","d", "-", "-", "-");
function cleanmytext($text)
{
$text = iconv('UTF-8','ASCII//TRANSLIT',$text);
$text = preg_replace('~[^-a-zA-z0-9_]+~', '-', $text);
//delete tento řádek
//$text = preg_replace("/[^a-zA-Z0-9_-\s]/", "", $text);
//$text = str_replace(" ", "-", $text);
//$text = preg_replace("/([\s\s]+|[--]+)/", "-", $text);
return $text;
}
Quote
I know this has been out for some time and I've know this all along. I tried to make fusion seo friendly but it is a nightmare with all its redirects. I added a thing or two to render redirecting process useless. Currently fusion uses it to prevent double posting however it is the worst method possible. Of course it is definitely necessary in some occasions but not like it is in fusion.
All this addon does is make your urls prettier. As for seo and ranking (if you believe in such a thing) it'll only hurt you. Search engines don't like duplicate content especially duplicate pages.
This addon only makes the urls pretty and yet the old ugly url's are still accessible therefore it'll hurt your rating (again if you believe in it).
You need to start checking the current url and see if it has been prettied up. if not redirect to that page.
Category Forum
Official releases [Infusions]Labels
None yet
Statistics
0 participants
Notifications
You are not receiving notifications from this thread.
Related Questions