Joeri van Veen
Forum Replies Created
-
Forum: Plugins
In reply to: [Each Domain a Page] Displaying more pages with one domainHi @plabo , thank you for using my plugin!
Yes, it is possible, when you have your main page
my-domain-com
that reacts to https://www.my-domain.com you can add child pages by making a page e.g.contact-us
and setting its Parent to the main pagemy-domain-com
. That way it will react to https://www.my-domain.com/contact-us. This can be nested deeper as wel (e.g. https://www.my-domain.com/locations/paris etc.). Currently all the child pages must be visited using the preferred domain as well for them to register in the plugin.This is an example: https://www.wp-developer.eu/child-page/ Where I set the Parent of
child-page
to thewp-developer-eu
page.Let me know if this works out for you. Feel free to close this thread if everything is ok.
Kind regards,
JoeriForum: Plugins
In reply to: [Each Domain a Page] Favicon for each domainThank you for sharing the code, I will use it to provide the functionality in the plugin when I can devote some time to it again, hopefully beginning next year. It is pretty cool what ChatGPT can do nowadays ??
Forum: Plugins
In reply to: [Each Domain a Page] Favicon for each domainAh, very nice solution! I am definitely interested in the code, can you share it with me?
Forum: Plugins
In reply to: [Each Domain a Page] Favicon for each domainHello @djek , thank you for using this plugin and getting in touch!
Some time ago a user of this plugin set it up in their
functions.php
file based onpost id
, but I can’t seem to find the thread or e-mail conversation. However, the conclusion was: each-domain-a-page allows you to use different favicons without interference.That said, I suppose your question pertains to whether this will be built into the plugin. I am afraid this functionality would make the plugin quite complicated. Do you have a suggestion how it should work for the end user?
Ideally I guess the favicon should be managed in the post / page, that would be quite an addition to this plugin (meta box with file upload field). Or do you have a better idea?
I think it’s a good suggestion, will think some more about this.
Kind regards,
Joeri
Forum: Plugins
In reply to: [Each Domain a Page] redirectionHi @leninzapata , thank you for considering my plugin ‘Each domain a page’.
For displaying a specific page for a domain, the internal WordPress request object is manipulated, so the content is served fluently in the same response. You can verify this in your browsers network tab, by seeing there is a
200 OK
response and the content is served immediately. The page behaves exactly as if it were hosted separately on that domain.There is however a ‘redirect’ option in my plugin, which is ment to send people accessing the page through the original WordPress domain (e.g.
domain.com/my-domain-eu
), to the correct domain (my-domain.eu
). This is also semantically correct, because the correct domain is the location you want the page served at. This can be switched on or off in the settings.Does this make sense to you, did I answer your question?
Have a great day,
Joeri van VeenAssuming this indeed works, I will mark this thread as solved. Please let me know if this is in error.
Marking this as ‘solved’ for lack of activity. Please feel free to re-open or open a new thread when the problem persists and you can share a problematic domain and page that I can investigate.
Forum: Plugins
In reply to: [Each Domain a Page] Child page not workingExcellent work, thank you for getting back to me in this thread!
Forum: Plugins
In reply to: [Each Domain a Page] Child page not working- You could try / troubleshoot by switching off
each-domain-a-page
and going to any page on makergeorge.me, when configured correctly, it should show the homepage of your WordPress install, a WordPress 404 or a specific page if you requested an existing page (WordPress reacts to any domain pointing at it). - Maybe a RewriteRule in the
.htaccess
in your root is picking up everything after the root/
and sending it to the main domain only, or bust. I would look there first, come to think of it.
Let me know if you need further assistance. My Apache is a bit rusty (using Nginx now) but I hope we can solve this!
Kind regards, Joeri
Forum: Plugins
In reply to: [Each Domain a Page] Child page not workingHello @linuxarchitect , thank you for using my plugin!
You did right by the instructions indeed, but I think something is amiss in your server config, when you compare the 404 from https://makergeorge.me/child-page-1/ with some other non-existing page in your WordPress install, for example https://georgeboyce.me/makergeorge-me/child-page-2/ they are quite different.
I think your Apache only sends makergeorge.me to the location of your WordPress install, and for some reason does not react when a specific page is requested. My plugin itself will not send a 404, because when it does not find a candidate to display, it will simply pass on the original request to WordPress without interfering. And WordPress will show its own 404 when nothing can be found for that address.
Does this help, do you have an idea what could be happening?
- This reply was modified 6 months, 2 weeks ago by Joeri van Veen.
Did you see this thread? This might help for your situation as well:
https://www.ads-software.com/support/topic/cors-policy-errors-2/Hi @picturgency , thank you for using my plugin and thank you for contacting me about this.
I have not tested the plugin with Elementor, but I can guess why some things might not work, now that you make me aware of this. Can you share a url to a page you are having trouble with, as well as the root domain, please? This may give me some pointers as to what’s happening.
Today I have to work elsewhere but I can look into it this evening (CET).
Kind regards,
Joeri
Good morning, thank you for reaching out.
I believe Each Domain a Page is already used with Cloudflare DNS by some people. At this point I can not think of a reason it would not work. The plugin reacts to the server variables that are sent to the WordPress install, no matter where they come from.
Let me know how it goes! Kind regards,
Joeri
- This reply was modified 7 months ago by Joeri van Veen.
Forum: Plugins
In reply to: [Each Domain a Page] 404 errorOn the server itself, is the domain caught by the WordPress install / virtual server as well? If you switch off my plugin and the domain is pointing at your WordPress install, it should show the normal homepage. Can you check this? Do you have more than one extra domain?
Hoping we can solve this,Joeri
Forum: Plugins
In reply to: [WP Reading Progress] Can the bar be with gradient colors ?Yes excellent, I was going to suggest something like that. Cool that you fixed it already!
- You could try / troubleshoot by switching off