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
Redirect - Problem Needs Sorting Fast!
Old 01-19-2009, 02:24 PM Re: Redirect - Problem Needs Sorting Fast!
tripy's Avatar
Do not try this at home!

Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
Trades: 0
Chris, I'm wondering...
How did you even reached the 404 page ?
I tried several tools (like lynx) as well as a direct connection from my server(I'm after 2 chained proxies at home) but got no html.
Only a 301 redirect.
__________________
Only a biker knows why a dog sticks his head out the window.
tripy is offline
Reply With Quote
View Public Profile Visit tripy's homepage!
 
 
Register now for full access!
Old 01-19-2009, 02:25 PM Re: Redirect - Problem Needs Sorting Fast!
tripy's Avatar
Do not try this at home!

Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
Trades: 0
Quote:
Originally Posted by AD7863 View Post
So like what does that mean??
It looks like it means that your 404 custom error page is redirecting to a itself in an infinite loop.
It means too that there was a problem with wordpress saving the post, because it was not found in the public part of the site.
__________________
Only a biker knows why a dog sticks his head out the window.
tripy is offline
Reply With Quote
View Public Profile Visit tripy's homepage!
 
Old 01-19-2009, 02:34 PM Re: Redirect - Problem Needs Sorting Fast!
AD7863's Avatar
Major Geek

Posts: 435
Name: Artful Dodger
Location: England, UK
Trades: 0
What can I do to fix it?
__________________

Please login or register to view this content. Registration is FREE
AD7863 is offline
Reply With Quote
View Public Profile Visit AD7863's homepage!
 
Old 01-19-2009, 02:38 PM Re: Redirect - Problem Needs Sorting Fast!
AD7863's Avatar
Major Geek

Posts: 435
Name: Artful Dodger
Location: England, UK
Trades: 0
If I give you guys my 404 error page code can you fix it? It's in PHP and I don't really know PHP lol.
__________________

Please login or register to view this content. Registration is FREE
AD7863 is offline
Reply With Quote
View Public Profile Visit AD7863's homepage!
 
Old 01-19-2009, 06:10 PM Re: Redirect - Problem Needs Sorting Fast!
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,516
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Quote:
Originally Posted by tripy View Post
Chris, I'm wondering...
How did you even reached the 404 page ?
I tried several tools (like lynx) as well as a direct connection from my server(I'm after 2 chained proxies at home) but got no html.
Only a 301 redirect.
I wrote my own "source code scraper" and header reader long long ago And it's quite handy sometimes, to "pretend" to be something else

Though this one only needs WebBug to grab the source code.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I 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 01-20-2009, 09:54 AM Re: Redirect - Problem Needs Sorting Fast!
anderswc's Avatar
Super Talker

Posts: 132
Name: Will Anderson
Location: Terre Haute, IN
Trades: 0
AD7863, have you disabled ALL plugins?
Additionally, create a php file and put the following code in it.

I had problems with infinite redirects a while back on a server that stored an incorrect HTTP_HOST value in $_SERVER which made WordPress do an infinite redirection loop (because it always thought it was at the wrong domain).
What I had to do was add the following line in the config.php file.

Code:
remove_action('template_redirect', 'redirect_canonical');
You might give that a try and see if it works.
__________________
Will Anderson

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
anderswc is offline
Reply With Quote
View Public Profile Visit anderswc's homepage!
 
Old 01-20-2009, 01:01 PM Re: Redirect - Problem Needs Sorting Fast!
AD7863's Avatar
Major Geek

Posts: 435
Name: Artful Dodger
Location: England, UK
Trades: 0
Great thanks, I'll give this a go
__________________

Please login or register to view this content. Registration is FREE
AD7863 is offline
Reply With Quote
View Public Profile Visit AD7863's homepage!
 
Old 01-20-2009, 01:06 PM Re: Redirect - Problem Needs Sorting Fast!
anderswc's Avatar
Super Talker

Posts: 132
Name: Will Anderson
Location: Terre Haute, IN
Trades: 0
random I know, but your post count is now 301
__________________
Will Anderson

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
anderswc is offline
Reply With Quote
View Public Profile Visit anderswc's homepage!
 
Old 01-20-2009, 01:07 PM Re: Redirect - Problem Needs Sorting Fast!
AD7863's Avatar
Major Geek

Posts: 435
Name: Artful Dodger
Location: England, UK
Trades: 0
Hey I put this code at the end of wp-config.php and it still didnt work...
__________________

Please login or register to view this content. Registration is FREE
AD7863 is offline
Reply With Quote
View Public Profile Visit AD7863's homepage!
 
Old 01-20-2009, 01:26 PM Re: Redirect - Problem Needs Sorting Fast!
anderswc's Avatar
Super Talker

Posts: 132
Name: Will Anderson
Location: Terre Haute, IN
Trades: 0
ok, I don't know what else to do. sorry
__________________
Will Anderson

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
anderswc is offline
Reply With Quote
View Public Profile Visit anderswc's homepage!
 
Old 01-20-2009, 01:43 PM Re: Redirect - Problem Needs Sorting Fast!
AD7863's Avatar
Major Geek

Posts: 435
Name: Artful Dodger
Location: England, UK
Trades: 0
Oh ok
__________________

Please login or register to view this content. Registration is FREE
AD7863 is offline
Reply With Quote
View Public Profile Visit AD7863's homepage!
 
Old 01-20-2009, 02:26 PM Re: Redirect - Problem Needs Sorting Fast!
tripy's Avatar
Do not try this at home!

Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
Trades: 0
Me neither...
Did you tried to delete your post, and re-create it ?
Maybe it would sort the issue.
__________________
Only a biker knows why a dog sticks his head out the window.
tripy is offline
Reply With Quote
View Public Profile Visit tripy's homepage!
 
Old 01-20-2009, 02:30 PM Re: Redirect - Problem Needs Sorting Fast!
AD7863's Avatar
Major Geek

Posts: 435
Name: Artful Dodger
Location: England, UK
Trades: 0
Hey I did try and delete the post and then repost it but it didnt work. Anyway I've fixed it now. It was a plugin I installed called redirection. Anyone else had a problem with this plugin before?
__________________

Please login or register to view this content. Registration is FREE
AD7863 is offline
Reply With Quote
View Public Profile Visit AD7863's homepage!
 
Old 01-20-2009, 03:21 PM Re: Redirect - Problem Needs Sorting Fast!
anderswc's Avatar
Super Talker

Posts: 132
Name: Will Anderson
Location: Terre Haute, IN
Trades: 0
never used it, but the name sounds kinda suspicious
__________________
Will Anderson

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
anderswc is offline
Reply With Quote
View Public Profile Visit anderswc's homepage!
 
Old 01-20-2009, 03:22 PM Re: Redirect - Problem Needs Sorting Fast!
tripy's Avatar
Do not try this at home!

Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
Trades: 0
Quote:
It was a plugin I installed called redirection.
:-/
At least it did his job. Maybe a bit too thoroughly.
__________________
Only a biker knows why a dog sticks his head out the window.
tripy is offline
Reply With Quote
View Public Profile Visit tripy's homepage!
 
Old 01-20-2009, 03:37 PM Re: Redirect - Problem Needs Sorting Fast!
AD7863's Avatar
Major Geek

Posts: 435
Name: Artful Dodger
Location: England, UK
Trades: 0
Hmm... but why did it only not work for the post on Twitter? Maybe its cursed!! lol..
__________________

Please login or register to view this content. Registration is FREE
AD7863 is offline
Reply With Quote
View Public Profile Visit AD7863's homepage!
 
Old 01-20-2009, 07:52 PM Re: Redirect - Problem Needs Sorting Fast!
anderswc's Avatar
Super Talker

Posts: 132
Name: Will Anderson
Location: Terre Haute, IN
Trades: 0
what do you mean "not work for the post on twitter"? seems to work for me.
__________________
Will Anderson

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE

Last edited by anderswc; 01-20-2009 at 07:55 PM..
anderswc is offline
Reply With Quote
View Public Profile Visit anderswc's homepage!
 
Old 01-21-2009, 12:31 PM Re: Redirect - Problem Needs Sorting Fast!
AD7863's Avatar
Major Geek

Posts: 435
Name: Artful Dodger
Location: England, UK
Trades: 0
It works now... because I fixed it by disabling the redirection plugin lol.
__________________

Please login or register to view this content. Registration is FREE
AD7863 is offline
Reply With Quote
View Public Profile Visit AD7863's homepage!
 
Reply     « Reply to Redirect - Problem Needs Sorting Fast!

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.69819 seconds with 11 queries