Use RealURL in sub-directory

Write this in the TYPOSCRIPT-Setup:

config.simulateStaticDocuments = 0
config.baseURL = http://localhost/subdirectory/
config.tx_realurl_enable = 1

And this to your .htaccess-file.

RewriteBase /subdirectory/

While “subdirectory” is the name of the sub-directory. Change this to your purpose.

If it doesn’t work, look if you try hard-coded links, which is a common mistake. I did it last day, ;-).

This entry was posted in TYPO3 and tagged , on by .

About Erdal Gök

Erdal Gök is a web consultant. He works since 1996 as a webworker and is self-employed since 2004. His main skills starts from building concepts for web-projects over designing and implemanting web-frameworks like TYPO3 or creating frontend templates on HTML / CSS or getting interactivity with Javascript.

One thought on “Use RealURL in sub-directory

Leave a Reply

Your email address will not be published. Required fields are marked *