Forum FAQForum FAQSearchSearch MemberlistMemberlist Forum ignore listForum ignore list RegisterRegister ProfileProfile Log in to check your private messagesLog in to check your private messages Log inLog in
2 domene - pitanje

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Server-side
View previous topic :: View next topic  
Author Message
Brklj@



Joined: 23 May 2005
Posts: 19
Location: Doma

PostPosted: 18.03.2006 07:02    Post subject: 2 domene - pitanje Add user to your forum ignore list Reply with quote

Evo ovako, trenutno imam domenu oblika stranica.net, a kroz par dana će postat aktivna i stranica.hr

Godinu dana ću imat aktivne obje domene, a zatim .net isključiti. Zanima me kako mogu napraviti slijedeće:

www.stranica.net -> otvori upozornje.php
www.stranica.hr -> otvoti index.php ili index2.php

Htio bi u upozorenje.php staviti kao da smo promijenili domenu i da ljudi promijene bookmarke.
(naravno linux server!)

Edit: Ne kužim se baš u to, ali htio bi pomoću skripte u index.php a ne da moraju mjenjat nameservere na .net domeni Wink

Unaprijed hvala na pomoći!

_________________
www.budalizacija.net !!!
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
BS
Guest





PostPosted: 18.03.2006 12:36    Post subject: Reply with quote

Zar ti nije najjednostavnije rješenje 301 redirekt sa .net verzije na novu?
Back to top
Brklj@



Joined: 23 May 2005
Posts: 19
Location: Doma

PostPosted: 18.03.2006 22:18    Post subject: Add user to your forum ignore list Reply with quote

BS wrote:
Zar ti nije najjednostavnije rješenje 301 redirekt sa .net verzije na novu?


a to je? Very Happy

Daj plz objasni Very Happy

_________________
www.budalizacija.net !!!
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
BS
Guest





PostPosted: 18.03.2006 22:46    Post subject: Reply with quote

Ako želiš da ti posjetitelji koji otvore .net verziju budu prebačeni na .hr redirektom:

http://www.webconfs.com/how-to-redirect-a-webpage.php

Redirect with htaccess
Quote:
Redirect permanent / http://www.new-url.com


čemu da otvaraju prvo ovu domenu pa da moraju kliknut da bi došli na novu, možda ih se pola na putu predomisli Smile[/quote]
Back to top
Brklj@



Joined: 23 May 2005
Posts: 19
Location: Doma

PostPosted: 18.03.2006 22:50    Post subject: Add user to your forum ignore list Reply with quote

ma složio bi ja redirect u upozorenje.php za npr. 5-6 sekundi, sam da ljudi vide..


Je da, ali sa ovim redirectom koji si mi stavi ne mogu napisat neku pametnu poruku...

jel postoji neš ko što sam ja htio, ono da .net otvara upozorenje.php (na kojem će bit redirect)

fala,
pozdrav

_________________
www.budalizacija.net !!!
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
:cosmos:



Joined: 12 Sep 2003
Posts: 2098
Location: México

PostPosted: 18.03.2006 23:02    Post subject: Add user to your forum ignore list Reply with quote

pa napravi obican html i stavi gore u meta tag refresh na 6 sekundi link koji da otvori, i gotovo. cak mozes i neki dizajn rjesit za to upozorenje haha
Back to top
View user's profile Send private message Send e-mail Visit poster's website Twitter profile
Brklj@



Joined: 23 May 2005
Posts: 19
Location: Doma

PostPosted: 18.03.2006 23:04    Post subject: Add user to your forum ignore list Reply with quote

:cosmos: wrote:
cak mozes i neki dizajn rjesit za to upozorenje haha


To mi je i namjera.. Al gle kak ne kužiš.. Very Happy kad neko ode na stranica.net otvara index.php ko i da ides na stranica.hr tako da ne mogu ja složit nikakav redirect u indexu!

.hr mora otvarat index.php a .net upozorenje.php!

_________________
www.budalizacija.net !!!
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
BS
Guest





PostPosted: 18.03.2006 23:09    Post subject: Reply with quote

ja ti ne bi preporučio meta refresh ako su stranice dosad bile aktivne i u indeksu tražilica
Back to top
Brklj@



Joined: 23 May 2005
Posts: 19
Location: Doma

PostPosted: 18.03.2006 23:11    Post subject: Add user to your forum ignore list Reply with quote

BS wrote:
ja ti ne bi preporučio meta refresh ako su stranice dosad bile aktivne i u indeksu tražilica


daj mi onda reci(te) kaj da napravim Very Happy

_________________
www.budalizacija.net !!!
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
tubak



Joined: 14 Mar 2005
Posts: 133
Location: Istra

PostPosted: 19.03.2006 05:09    Post subject: Add user to your forum ignore list Reply with quote

Otvori jedan direktorij s imenom .net domene (nesto bezveze), i u njega stavi index.php sa delayom od 6 sekundi i preusmjerenjem na .hr domenu, a hosting provideru posalji mail na support@provajder.xx da zelis da ti tvoju .net domenu pointa na taj gore kreirani direktorij (to im je 5 minuta posla i ne naplacuje se dodatno!). I to je to! Ko pasulj!
Back to top
View user's profile Send private message Visit poster's website
Brklj@



Joined: 23 May 2005
Posts: 19
Location: Doma

PostPosted: 21.03.2006 08:50    Post subject: Add user to your forum ignore list Reply with quote

Ovo mi se čini najpametnije Very Happy

Fala

_________________
www.budalizacija.net !!!
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Server-side All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group