Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 01-16-2025, 11:22 PM   #1
Publisher Bucks
Confirmed User
 
Industry Role:
Join Date: Oct 2018
Location: New Orleans, Louisiana. / Newcastle, England.
Posts: 1,119
Domain redirection question

So we have a rather large website that is broken down into sections, when we register a new domain name, what is the simplest way to redirect that domain to a specific area on our main site?

Say we register thisdomain.com how would the easiest way, without anything happening in the browser, such as a meta refresh, to point the domain directly to https://www.thatdomain.com/index.php...ome%20Category so that as soon as it is typed in, that page is what the surfer sees?

I'm thinking it would be easiest to use .htaccess perhaps, unless anyone can suggest a more robust and easier way.

TIA.
__________________
NOTHING TO SEE HERE
Publisher Bucks is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-16-2025, 11:44 PM   #2
Huggles
GFY'S #1 retard
 
Industry Role:
Join Date: Feb 2003
Location: Kelowna
Posts: 10,466
You can set it right at the domain registrar level to re-direct.
__________________
I make my money from people jerking off
Huggles is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-17-2025, 02:45 PM   #3
cerulean
Web & App Development
 
cerulean's Avatar
 
Industry Role:
Join Date: Oct 2023
Location: United States
Posts: 118
I would recommend doing this with an htaccess, so that you can control it. I'm not sure what would not be robust about an htaccess.

Plus, you may want to redirect something like this later on, and that gives you the freedom to do so:

thisdomain.com/that => thatdomain.com/index.php?category=this&subcategory=that

Huggles is also correct that most domain registrars offer this service, it's basically an htaccess on their end doing the redirect instead.
__________________
Cerulean Software Specializes in Website and App Development. Email me today!

Keep Your Business and Members Area Secure with LoginBlue Password and Content Protection
cerulean is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-17-2025, 05:18 PM   #4
WiredGuy
Pounding Googlebot
 
Industry Role:
Join Date: Aug 2002
Location: Canada
Posts: 34,451
301 redirects with .htaccess is probably the best way to do this.
WG
__________________
I play with Google.
WiredGuy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-17-2025, 05:32 PM   #5
fuzebox
making it rain
 
fuzebox's Avatar
 
Industry Role:
Join Date: Oct 2003
Location: seattle
Posts: 22,006
Namecheap supports redirection to a specific URL. It's the only one I've used that does.
fuzebox is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-17-2025, 07:52 PM   #6
natkejs
Confirmed User
 
Industry Role:
Join Date: Jan 2003
Location: Nomad Land
Posts: 1,602
Quote:
Originally Posted by WiredGuy View Post
301 redirects with .htaccess is probably the best way to do this.
WG
This is what I would do, except there is no .htaccess i nginx
__________________
natkejs is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-18-2025, 06:28 PM   #7
Publisher Bucks
Confirmed User
 
Industry Role:
Join Date: Oct 2018
Location: New Orleans, Louisiana. / Newcastle, England.
Posts: 1,119
I just dont feel comfortable giving a registrar access to redirection, I'd rather set it up myself.
__________________
NOTHING TO SEE HERE
Publisher Bucks is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks

Tags
domain, register, easiest, directly, robust, typed, easier, meta, refresh, tia, page, .htaccess, thinking, surfer, suggest, sections, broken, website, question, redirection, simplest, thisdomain.com, happening, site, main



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.