Web Hosting Talk







View Full Version : htaccess and redirection


3-rx
05-19-2005, 08:27 PM
Hello

how can i redirect[301] only 1 dinamic page to another.

like this:

more.php?id=7710_0_14_0_C

to

more.php?id=1110_0_14_0_C

i try to do this, as i did for static pages, but it don't work :=-(

thx

Voxxit
05-19-2005, 08:36 PM
Can't you just make a page like that and have a PHP redirect in there?

Just a suggestion and thinking here, because I haven't tested it..

Cheers,
Josh

Voxxit
05-19-2005, 08:38 PM
By the way, your health encycolpedia is broken in Safari on Mac :|

Josh

3-rx
05-19-2005, 08:46 PM
Can't you just make a page like that and have a PHP redirect in there?

hmm ... are u sure?

i'm going to delete this file [first file], so i cann't put any js redirection in body. just need to do it via cpanel or htaccess.

By the way, your health encycolpedia is broken in Safari on Mac
may be .. i never use this browser, (only IE, mozilla and opera)
even don't know how can i check online. [as i haven't this browser intalled on my PC and don't going to do it .. .3 browsers is enough on 1 pc :-)

Voxxit
05-19-2005, 09:15 PM
www.browsercam.com

Ackoo-jt
05-19-2005, 10:52 PM
pretty cool site voxxit, but whats the point if you are VNC'ing into the system? Why not just install locally and save the membership fee?

Voxxit
05-20-2005, 12:20 AM
Install on how many PC's?

I personally wouldn't want to buy a mac, and a couple PC's just to test browsers :)

Cheers!

3-rx
05-21-2005, 09:13 PM
btw

imho, it's very difficult or sometimes even impossible if u want to do nice design which will be non brocking for all browsers.


IMHO is enough to optimize it for IE< MoziLLa (aka Netscape) < and OPERA.

make a simple design which will work for all browsers in the world ... => NP

but if u try to do something more .. it's impossible.

3-rx
05-21-2005, 09:56 PM
2 VoxxitDesigns
Can't you just make a page like that and have a PHP redirect in there?
it's the question ? or the answer?

btw .. i find a way how can i redirect one dinamic file to another

Options +FollowSymLinks
RewriteEngine on
RewriteCond %{QUERY_STRING} ^id=7710_0_14_0_C$
RewriteRule ^more\.php$ http://www.example.com/more.php?id=1110_0_14_0_C [R=301,L]

BigBison
05-21-2005, 10:00 PM
Originally posted by Ackoo
pretty cool site voxxit, but whats the point if you are VNC'ing into the system? Why not just install locally and save the membership fee?

I'll field that one. I don't have Linux or Mac machines, I have one Windows machine. On that machine, I don't want to install a bunch of obsolete (insecure, etc.) browsers just for occasional quality-control testing purposes.

Until such time as I acquire a Mac and/or Linux box, I will use Browsercam to test in Safari and other browsers I don't have. They've got a good thing going.