← Back to Multi Domains Support
my first site: site1.example.com second site: site1.example.com/site2/
I've tried to add http://site1.example.com/site2/ in binding but get "Page not found" error.
Please help
To be honest, I do not quite understand why this should be done, since this is one domain and in this case, it is more about redefining a page (do you need different themes for pages? And wouldn't it be easier to do it at the page level and layout?). Please go to the test version of the plugin and see how it is implemented there. In short, you need to match an internal page (standard or static) for a specific Url and write a prefix and suffix. Try to play around with the settings - it should help (the plugin has a switch to advanced settings). This plugin is more for different domains like site1.domain.tld and site2.domain.tld (in your case, the url-address overlaps and there is no point in using the plugin, except to change the theme, but this can be done at the page level by choosing layout).
i want to have a completely different theme on site 2. Please show sample settings. I have tried so many times but failed. I have bought this plugin anyway.
Hello! Sorry, I haven't seen the message before, I thought you had already figured out this issue. There is not enough additional information to understand your problem. Everything is very simple. You need to do this, check all the punkts (to work in a minimal mode of 2 different pages from themes):
- 1) Create 2 different themes
- 2) Create 2 different pages (each in its own topic)
- 3) Make sure the all pages are accessible with the Mdomains plugin disabled
- 4) Make 2 different binds for linking internal pages and themes to urls (in the settings, select only the theme and internal page)
- 5) Check if the "Enable hard mode with replace original cms Router" item is enabled in the plugin settings (there are some internal restrictions without it)
If it doesn't work, please go to the test demo and see the settings for the following binds (by clicking on these links you can see that everything works fine) https://domain2.test.linkonoid.com https://domain2.test.linkonoid.com/newsite
Good luck, if you have any questions, please write to me directly by sending a message from the site (notifications from the forum do not always come).
1-7 of 7