![]() |
|
| Domain Name Sales | Domain Software | Calculate UK Domain Drop Dates | Domain Registration | NameDrive | Domain Parking | Subscribe to our Domains For Sale newsletter |
| | ||||||
| Home | Register | Rules | Membership Upgrade | Domains For Sale | Domain Name Escrow | Mark Forums Read | Domain Classified | Chat Room |
| General Board General discussions. Please check main forum categories before posting here. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 (permalink) |
![]() | Little help
Hi guys, i posted a month ago regarding DNS and who to direct all domain names to one page, sorted that thanks to a few on here. Next question is as i am having 1 generic page is there anyway for me to list the domain name they have been diverted from on the page? ie, The domain name (domainname.co.uk) may be for sale. Red static text, domainname.co.uk the dynamic bit. Any help would be great. |
| |
| | #2 (permalink) |
![]() |
I don't know if this is the best way of doing things, but one way to get it to work is to create a php holding page that redirects to another page on your generic website. There a session will be set and then further redirected to the landing page. EDIT: This code required manual intervention. Below I've produced a script that is completely automated.
__________________ Tag: ALEXJORDAN Sites: alexjordan.co.uk | Griptape.co.uk For Sale/Offers Invited: LLL.org.uk | VVV.org.uk | 090.co.uk | 029.co.uk Last edited by alex; 07-03-2010 at 10:12:01 AM. |
| |
| | #3 (permalink) |
![]() |
Wow, thanks for that Alex, rep added for this post! Does this show where you have come from? I have forwarded 01925.co.uk and just get "The domain name your domain here may be for sale" Have i done something wrong What i am looking for is something that knows where i have come from originally, like the domain name 01925.co.uk is for sale without me typing 01925? dont know if it can be done as i am shit with this stuff lol. Last edited by retired_member15; 07-03-2010 at 02:07:17 AM. |
| |
| | #4 (permalink) |
![]() |
No problem, glad to help. Thanks for the rep. EDIT: the code requires some manual intervention. I'll make you an automated script now and PM it to you.
__________________ Tag: ALEXJORDAN Sites: alexjordan.co.uk | Griptape.co.uk For Sale/Offers Invited: LLL.org.uk | VVV.org.uk | 090.co.uk | 029.co.uk Last edited by alex; 07-03-2010 at 03:12:09 AM. |
| |
| | #5 (permalink) |
![]() |
PM sent with automated script that shows the original domain without you having to manually intervene other than pointing the domain to the file. Let me know if you have any problems. Alex Just tested, works perfectly
__________________ Tag: ALEXJORDAN Sites: alexjordan.co.uk | Griptape.co.uk For Sale/Offers Invited: LLL.org.uk | VVV.org.uk | 090.co.uk | 029.co.uk Last edited by alex; 07-03-2010 at 03:06:09 AM. |
| |
| | #6 (permalink) |
![]() |
For my domains I simply have a single page which I park all names ontop of. There is some basic PHP code which dispays the domain which has been typed in by the user (in the format "domain.co.uk") and works perfectly, if you still need this feel free to PM me and I'll let you know what to do |
| |
| | #7 (permalink) | |
![]() | Quote:
| |
| |
| | #8 (permalink) |
![]() |
My landing page, e.g. tqt.co.uk uses this: PHP Code:
__________________ Me: Blog | Company | Twitter Coming Soon: DaveDomains | DaveCatcher | FreeToReg.co.uk |
| |
| | #9 (permalink) | |
![]() | Quote:
This is the script I produced. It works fine, but wb's may be better. This will automate everything, all you have to do is set the first index file as the home page for all the forwarding domains. Stages 2 and 3 willl need to go in a seperate directory. 1) create a directory on the server and name the following code ‘index.php’, then set this as the home page for any domain you want forwarding. PHP Code: PHP Code: PHP Code: This works with no problems, but seeing other posts in the thread others may be more experienced than me and can produce the same effect with minimal code. Just to clarify, the above script displays with or without the 'www.' depending on whether or not it is typed in by the visitor when visiting the site. If you need it to always include/exclude the 'www.' then let me know and I'll update it.
__________________ Tag: ALEXJORDAN Sites: alexjordan.co.uk | Griptape.co.uk For Sale/Offers Invited: LLL.org.uk | VVV.org.uk | 090.co.uk | 029.co.uk Last edited by alex; 08-03-2010 at 10:26:34 PM. | |
| |
| | #10 (permalink) |
![]() |
Alex's reply seems best for this post if you wish to forward to another domain If however like my domains you want to have a parking page which can get indexed, use the following code wherever you want the URL to be displayed (this code automatically leaves out the "www." whether it is entered or not). PHP Code: You only need to set this code up on one domain (I suggest using something like "parked.your-business-website.co.uk"), then simply park all your names for sale ontop of it. Feel free to add rep if this has helped |
| |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |