Author Topic: 302 status code  (Read 10268 times)

0 Members and 1 Guest are viewing this topic.

Offline Bugfixed

  • Jr. Member
  • **
  • Posts: 96
    • View Profile
    • Lavinya
302 status code
« on: September 09, 2006, 05:44:07 PM »
hello all.

I have big problem. my problem is this system is showing doesnt lacking pages.

for example: there is no addresses like
http://www.mydomain .com/categories.php?cat_id=866
http://www.mydomain .com/details.php?image_id=7111
 
but it is showing . redirect to main page (with 302 status code).

file not 302, it must be 404 status code.

this is spam I think.   8O

please help me    :?
<?php echo 'Hello, World!'; ?>

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: 302 status code
« Reply #1 on: September 09, 2006, 07:09:30 PM »
its showing WHERE? "lacking pages" - what does that mean?
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Bugfixed

  • Jr. Member
  • **
  • Posts: 96
    • View Profile
    • Lavinya
Re: 302 status code
« Reply #2 on: September 09, 2006, 07:26:55 PM »
thanks for reply.

v@no
sorry little my english :(

lacking= not exiting page or 404 page

example your web page:
http://gallery.vano.org/en/c11111

or my webpage
http://www.mydomain .com/categories.php?cat_id=866
http://www.mydomain .com/details.php?image_id=7111

or demo 4homepages.de
http://demo.4homepages.de/details.php?image_id=54548
Code: [Select]
#1 Server Response: http://demo.4homepages.de/details.php?image_id=54548
HTTP Status Code: HTTP/1.1 302
Date: Sat, 09 Sep 2006 17:23:43 GMT
Server: Apache/1.3.37 (Unix)
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Pragma: no-cache
X-Powered-By: PHP/4.4.4
Set-Cookie: sessionid=7df2cf1e5eaffbf42067ff0b3dc88004; path=/
Set-Cookie: 4images_lastvisit=1157822623; expires=Sun, 09 Sep 2007 17:23:43 GMT
Set-Cookie: 4images_userid=-1; expires=Sun, 09 Sep 2007 17:23:43 GMT
Location: http://demo.4homepages.de/index.php?sessionid=7df2cf1e5eaffbf42067ff0b3dc88004
Connection: close
Content-Type: text/html
Redirect Target: http://demo.4homepages.de/index.php?sessionid=7df2cf1e5eaffbf42067ff0b3dc88004

not exiting page.
redirect (with 302) to main page!

this address  status code must be 404  :?
because file absent.
« Last Edit: September 09, 2006, 07:37:59 PM by Bugfixed »
<?php echo 'Hello, World!'; ?>

Offline Nicky

  • Administrator
  • 4images Guru
  • *****
  • Posts: 3.195
    • View Profile
Re: 302 status code
« Reply #3 on: September 09, 2006, 07:42:10 PM »
http://demo.4homepages.de/details.php?image_id=54548
exist
but not that image_id
there should not be a 404
because file details.php is there. all after "?" are variables not files


this is a 404 > http://demo.4homepages.de/details123456789.php?image_id=6464664
cheers
Nicky
Your first three "must do" before you ask a question ! (© by V@no)
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

nicky.net 4 4images
Signature stolen from mawenzi

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: 302 status code
« Reply #4 on: September 09, 2006, 08:15:38 PM »
I think we have a mod that displays error message instead of redirecting to index.php ... I cant remmember the name of it though...
sorry
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Bugfixed

  • Jr. Member
  • **
  • Posts: 96
    • View Profile
    • Lavinya
Re: 302 status code
« Reply #5 on: September 09, 2006, 08:19:19 PM »
thank nick ok.
<?php echo 'Hello, World!'; ?>

Offline artmedia

  • Newbie
  • *
  • Posts: 33
    • View Profile
    • Fotos de chicas
Re: 302 status code
« Reply #6 on: May 24, 2008, 04:06:27 AM »
Hello I got a question about it, i have delete some images, in some pages with good pagerank, but now when the search engines look for that pages there is a 302 temporary redirection to home page, but I want a 301 redirection in order to keep that pagerank of that deleted page, where can i change that 302 redirection?

PD: i want to that the server does not return a 404 code, because i will lost my pagerank, just the 301 redirection thanks so much!