It used to go into
Base_URL/downloads/versioninto/myplugin.nfo
Now, the downloads have moved, what about the the nfo file? It cannot simply move also, as the call continues to look for the old place, e.g.:
http://cmsimple.holgerirmler.de/downloa ... ersion.nfo
How do you guys handle this?
Where to put version.hfo now?
Re: Where to put version.nfo now?
Well, one possibility is to stick with the downloads/ folder just for the version.nfo files (i.e. move everything else to userfiles/downloads/, except for the version.nfo files).
An alternative is to establish redirects, as described in the release announcement of XH 1.6:
An alternative is to establish redirects, as described in the release announcement of XH 1.6:
copy all images, downloads and media files to the new environment; note that the images, downloads and media folders have to be subfolders of the userfiles folder, so usually you have to copy images/ to userfiles/images/. Obviously this will break existing links to these files; you can work around this by establishing redirects from the old folders to the new one. E.g. for Apache servers you can put the following .htaccess to the domain root (change "xh16" to the folder name of your test installation):Code: Select all
Redirect /xh16/images /xh16/userfiles/images Redirect /xh16/downloads /xh16/userfiles/downloads Redirect /xh16/media /xh16/userfiles/media
Christoph M. Becker – Plugins for CMSimple_XH