donators

n@work Internet Informationssysteme GmbH
Your ad here

Advertising

realURL setup for typo3-unleashed.net

This is the complete setup I used for use with realURL. I added some annotations because there are some strange things to consider.

First of all, I start with the setup of the webserver. Here is the .htaccess I put in my root folder:

That's all you need. The next thing is the realURL configuration which is located in typo3conf/localconf.php.

This is pretty easy. Please note, that I don't use the userfunction for pathes as it is mentioned in many how-tos for realURL. I had some problems with it and because all of my pages have aliases I can leave that out.

Next step is the setup of tt_news:

Please note which part you have to copy to constants and which one to your setup!

Now come the tricky part. At this point, everything should be working fine. (Don't forget to install and enable realURL!) The links in the listviews should be rendered something like date/2007/06/03/my-birthday.html. But if you call the rss.xml file, the links are not that nice as they should be. In my case they looked like date////my-birthday.html. What a pitty because nobody knows when my birthday is if he only reads the RSS feed. The funny thing is, that the links still work. When you click them you will be successfully guided to the singleview page.

After using a bad hack in the first try I now found out the solution. Well, Rupi told me the solution! ;-) Simply add the following two lines to your setup and the links will be correct in the XML:

 

That's all folks. This is how it works for me. I don't promise anything about this description. Maybe it works for you, maybe not. Give it a try! :-)