Kopusha |
|
||||||
---|---|---|---|---|---|---|---|
How turn page categories in to subdomains (make a virtual redirect from site.com/category to category.site.com)
2. Place the file subdomains.dat into the /plugins/urleditor/presets/ folder.
In the settings of the URLeditor plugin, choose the preset "subdomains". 3. Enable loading of custom functions in config.php: $cfg['customfuncs'] = true; After completing the above steps, all your links of the form site.com/docs will be rewritten to docs.site.com. 4. However, for everything to work, you need to add A-records to the domain settings like this:
Repeat this for each subdomain section. Otherwise, you will encounter an error when opening a link with a subdomain. |