New domain mirroring to Neocities?

Need help with HTML, CSS, JS, PHP etc. and don't want to get berated on stack overflow? We're here to help!
User avatar
NinAcTi0N
Posts: 139
Joined: Sun Oct 01, 2023 3:47 am
Location: The lab, Papercut Islands
Contact:

New domain mirroring to Neocities?

Post by NinAcTi0N »

This is one thing I'll have to do... I've gotten a new domain outside of Neocities, and I want my Neocities subdomain to redirect to it. But I don't want the page to just look ugly when you look at the Neocities userpage, I want it to have the preview of how my enter page in the new domain looks like.

I have no idea how hard this may be, but I'm hoping I can get some help :'] Any ideas are greatly appreciated!
Image Image Image Image
User avatar
pom
administrator
Posts: 92
Joined: Tue Sep 19, 2023 12:14 am
Location: a cloud
Contact:

Re: New domain mirroring to Neocities?

Post by pom »

Sorry, just to understand better do you mean you're hosting off neocities but you want when someone clicks your homepage from the profile to redirect to the new domain but still keep the preview image on your profile?

its possible to do by putting <meta http-equiv = "refresh" content = "3; url = "NEW SITE URL.COM" /> in the <head> tag of the homepage on nc to redirect, just keep the homepage as it is with this added and your profile image won't change

example where my "new site" redirects to pomelo.lol:
https://lycheemilk.github.io/redirecttest.html
view-source:lycheemilk.github.io/redirecttest.html
Image Image Image
User avatar
NinAcTi0N
Posts: 139
Joined: Sun Oct 01, 2023 3:47 am
Location: The lab, Papercut Islands
Contact:

Re: New domain mirroring to Neocities?

Post by NinAcTi0N »

pom wrote: Tue Apr 22, 2025 11:17 pm Sorry, just to understand better do you mean you're hosting off neocities but you want when someone clicks your homepage from the profile to redirect to the new domain but still keep the preview image on your profile?

its possible to do by putting <meta http-equiv = "refresh" content = "3; url = "NEW SITE URL.COM" /> in the <head> tag of the homepage on nc to redirect, just keep the homepage as it is with this added and your profile image won't change

example where my "new site" redirects to pomelo.lol:
https://lycheemilk.github.io/redirecttest.html
view-source:lycheemilk.github.io/redirecttest.html
Oh! I'm so sorry, I only saw this now :cry:

Yeah, I kind of wanted that to happen, since I know a chunk of my following is still on Neocities, and I wanted my updated page to appear for the thumbnail in the profile view. That was pretty much it. I managed to figure it out after a while, but I greatly appreciate the help nonetheless <3

I apparently managed to trick the Neocities thumbnail snapper, so that it would screenshot the page with a redirect fast enough. I just set the redirect timer to zero, and then made the index page barebones, for a super fast loading time :] I do intend on using it for my other pages too, so that people get to see the new updates on Neocities too!
Image Image Image Image
User avatar
pom
administrator
Posts: 92
Joined: Tue Sep 19, 2023 12:14 am
Location: a cloud
Contact:

Re: New domain mirroring to Neocities?

Post by pom »

no worries! thats great you got it to work! :)
Image Image Image
Post Reply