TYPO3: getTypoLink_URL alternative (generating url aliases)?

If you create RealURL aliases("Redirects"), you can create a database query that fetchs the url aliases, you have created Have a look in the realurl redirects table.

If you create RealURL aliases("Redirects"), you can create a database query that fetchs the url aliases, you have created. Have a look in the realurl redirects table.

The redirects table still needs the destination, so I would hit the same problem (not being able to generate the original page url). Also, realurl redirects to the alias, I'm trying to mask it (show the same page on 2 urls without redirecting). – Andrei Serdeliuc Nov 19 '09 at 11:32.

I would recommend creating links in the backend (We usually have a menu separator, and all the links below). That way you're more flexible and TYPO3 will keep track of them so it's not publishing duplicate content (which might be bad for SEO).

Just use the folowing code to generate the link. You might want to load localconf.php. Class Devlib { static function _link($id,$urlParameters='',$target='') { $cObj = t3lib_div::makeInstance('tslib_cObj'); return $cObj->getTypoLink_URL($id,$urlParameters,$target); } }.

I'm trying to create URL aliases, so a page can have multiple URLs (for example "/about" could actually point to "/corporate/home/about"). I'm currently hooking into realurl's hook decodeSpURL_preProc, but TSFE and cObj are not initialised at that point therefore calling cObj->getTypoLink_URL doesn't work. I should add that the url alias should not redirect to the original url.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions