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, ;-).

Dieser Beitrag wurde am von in TYPO3 veröffentlicht. Schlagworte: , .

Über 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.

1 thought on “Use RealURL in sub-directory

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert.