[英]Link to detail page of tt_news is not updated
I edited the title of the news: 我编辑了新闻的标题:
Old link: 旧链接:
www.domain.com/news/article/some-article-name.html www.domain.com/news/article/some-article-name.html
New link: 新链接:
www.domain.com/news/article/test.html www.domain.com/news/article/test.html
Now I wanted to change the title back to get a URL like this 现在我想改回标题以获得这样的URL
www.domain.com/news/article/some-article-name.html www.domain.com/news/article/some-article-name.html
but I still get the old URL: 但我仍然得到旧的URL:
www.domain.com/news/article/test.html www.domain.com/news/article/test.html
I generate my link to a tt_news detail page as follows: 我生成了一个tt_news详细信息页面的链接,如下所示:
$typolink_conf = array(
"title" => '',
"ATagParams" =>'',
"no_cache" => 0,
"parameter" => 25,
"additionalParams" => '&tx_ttnews[tt_news]=' . $data['uid'],
"useCacheHash" => 0
);
$link = $this->cObj->typolink_URL($typolink_conf);
$link = $GLOBALS['TSFE']->tmpl->setup['config.']['baseURL'] . $link;
I already tried to clear all caches, clear the cache from real_url and so on. 我已经尝试清除所有缓存,清除real_url中的缓存等等。 What I'm doing wrong?
我做错了什么?
That must be a cache problem. 那一定是缓存问题。 Did you also delete the unique aliases for tt_news?
您是否还删除了tt_news的唯一别名?
Go to: 去:
Web -> Info -> RealUrl management -> Show: Unique Aliases -> tt_news
Web - > Info - > RealUrl管理 - >显示:唯一别名 - > tt_news
And delete all or your specific news from this list. 并从此列表中删除所有或您的特定新闻。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.