Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
How to Redirect based on page?
Old 05-20-2010, 01:32 PM Re: How to Redirect based on page?
Extreme Talker

Posts: 193
Name: Adam Moseley
Trades: 0
I didnt think about scripting the 404 page but that might work, ill try it out...
__________________

Please login or register to view this content. Registration is FREE
aadam is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 05-20-2010, 01:37 PM Re: How to Redirect based on page?
Extreme Talker

Posts: 193
Name: Adam Moseley
Trades: 0
actually that will not work as it does not go to a 404 page but a page with the errors;

Warning: Cannot modify header information - headers already sent by (output started at /home/moseleya/public_html/zumco.co.uk/index.php:5) in /home/moseleya/public_html/zumco.co.uk/index.php on line 35

Warning: Cannot modify header information - headers already sent by (output started at /home/moseleya/public_html/zumco.co.uk/index.php:5) in /home/moseleya/public_html/zumco.co.uk/index.php on line 36
__________________

Please login or register to view this content. Registration is FREE
aadam is offline
Reply With Quote
View Public Profile
 
Old 05-20-2010, 01:46 PM Re: How to Redirect based on page?
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,384
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Quote:
I didnt think about scripting the 404 page but that might work, ill try it out...
It will work.

Here's something I prepared earlier that uses the 404 page to decode URIs www.modtalk.co.uk
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 05-20-2010, 01:47 PM Re: How to Redirect based on page?
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,384
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Don't send headers after text output!!!!
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 05-21-2010, 02:07 AM Re: How to Redirect based on page?
seminyak's Avatar
Junior Talker

Posts: 2
Name: Nak Seminyak
Trades: 0
Thank for he tutorial !
__________________
Webmaster of

Please login or register to view this content. Registration is FREE
,
Please login or register to view this content. Registration is FREE
seminyak is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to How to Redirect based on page?

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.21427 seconds with 11 queries