![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I do not understand how Google saved https://www.scaiecat-spa-gigi.com/sv...omitalien.php/ I can only find among my files https://www.scaiecat-spa-gigi.com/sv/faktaomitalien.php so, I cannot modify the contents of https://www.scaiecat-spa-gigi.com/php/ |
#3
| |||
| |||
|
|
I meant I cannot modify https://www.scaiecat-spa-gigi.com/sv...omitalien.php/ |
#4
| |||
| |||
|
|
"Luigi Donatello Asero" <jaggillarfotboll (AT) telia (DOT) com> wrote: I meant I cannot modify https://www.scaiecat-spa-gigi.com/sv...omitalien.php/ Of course you can, it calls the same script, but with the PATH_INFO variable set. E.g., you can also use: https://www.scaiecat-spa-gigi.com/sv...ked_girls.html |
|
gives the same page :-) But you probably don't want all those extra/funny URLs. You can use either mod_rewrite to 301 redirect, or check in your PHP script the value of PHP_INFO (I am not sure what it contains in the / case, probably just / and empty normally), and 301 redirect if the info is not what it should be. |

#5
| |||
| |||
|
|
John Bokma wrote: "Luigi Donatello Asero" <jaggillarfotboll (AT) telia (DOT) com> wrote: I meant I cannot modify https://www.scaiecat-spa-gigi.com/sv...omitalien.php/ Of course you can, it calls the same script, but with the PATH_INFO variable set. E.g., you can also use: https://www.scaiecat-spa-gigi.com/sv...naked_girls.ht ml How long before google picks up that one? |
|
gives the same page :-) But you probably don't want all those extra/funny URLs. You can use either mod_rewrite to 301 redirect, or check in your PHP script the value of PHP_INFO (I am not sure what it contains in the / case, probably just / and empty normally), and 301 redirect if the info is not what it should be. that will depend on the server really, if they aren't using apache, they need to use another means than mod_rewrite... ![]() |
#6
| |||
| |||
|
|
Justin Koivisto <justin (AT) koivi (DOT) com> wrote: John Bokma wrote: "Luigi Donatello Asero" <jaggillarfotboll (AT) telia (DOT) com> wrote: I meant I cannot modify https://www.scaiecat-spa-gigi.com/sv...omitalien.php/ Of course you can, it calls the same script, but with the PATH_INFO variable set. E.g., you can also use: https://www.scaiecat-spa-gigi.com/sv...naked_girls.ht ml How long before google picks up that one? More important how long will it take him to pictures on that page? :-D. gives the same page :-) But you probably don't want all those extra/funny URLs. You can use either mod_rewrite to 301 redirect, or check in your PHP script the value of PHP_INFO (I am not sure what it contains in the / case, probably just / and empty normally), and 301 redirect if the info is not what it should be. that will depend on the server really, if they aren't using apache, they need to use another means than mod_rewrite... ![]() In that case, check PATH_INFO (not PHP_INFO, as I wrote), like I explained. |
#7
| |||||
| |||||
|
|
"John Bokma" <john (AT) castleamber (DOT) com> skrev i meddelandet news:Xns973AAEBE69353castleamber (AT) 130 (DOT) 133.1.4... Justin Koivisto <justin (AT) koivi (DOT) com> wrote: John Bokma wrote: "Luigi Donatello Asero" <jaggillarfotboll (AT) telia (DOT) com> wrote: I meant I cannot modify https://www.scaiecat-spa-gigi.com/sv...omitalien.php/ Of course you can, it calls the same script, but with the PATH_INFO variable set. E.g., you can also use: https://www.scaiecat-spa- gigi.com/sv/faktaomitalien.php/naked_girls .ht ml How long before google picks up that one? More important how long will it take him to pictures on that page? :-D. gives the same page :-) But you probably don't want all those extra/funny URLs. You can use either mod_rewrite to 301 redirect, or check in your PHP script the value of PHP_INFO (I am not sure what it contains in the / case, probably just / and empty normally), and 301 redirect if the info is not what it should be. that will depend on the server really, if they aren't using apache, they need to use another means than mod_rewrite... ![]() In that case, check PATH_INFO (not PHP_INFO, as I wrote), like I explained. I am not sure I understand what you mean. FIrst of all the content of https://www.scaiecat-spa-gigi.com/sv/faktaomitalien.php sounds to be different from the contents of https://www.scaiecat-spa-gigi.com/sv...omitalien.php/ |
|
Secondly I wonder where PATH_INFO or PHP_INFO should be. |
|
Perhaps i need ask my webhost. Ín any case, do you mean that someone else who is not my webhost could have changed it or added the file. |
|
Thirdly, when I tried to use rewrite 301 redirect it did not work. So, if you have any code to suggest I might test it but again were it not easier to disallow that page in the file robots.txt then? |
|
Finally, I have created a subsubdirectory Italien which contains subsubsubdirectories so that for example italien-toscana is one of them https://www.scaiecat-spa-gigi.com/sv...alien-toscana/ |
#8
| ||||
| ||||
|
|
"Luigi Donatello Asero" <jaggillarfotboll (AT) telia (DOT) com> wrote: "John Bokma" <john (AT) castleamber (DOT) com> skrev i meddelandet news:Xns973AAEBE69353castleamber (AT) 130 (DOT) 133.1.4... Justin Koivisto <justin (AT) koivi (DOT) com> wrote: John Bokma wrote: "Luigi Donatello Asero" <jaggillarfotboll (AT) telia (DOT) com> wrote: I meant I cannot modify https://www.scaiecat-spa-gigi.com/sv...omitalien.php/ Of course you can, it calls the same script, but with the PATH_INFO variable set. E.g., you can also use: https://www.scaiecat-spa- gigi.com/sv/faktaomitalien.php/naked_girls .ht ml How long before google picks up that one? More important how long will it take him to pictures on that page? :-D. gives the same page :-) But you probably don't want all those extra/funny URLs. You can use either mod_rewrite to 301 redirect, or check in your PHP script the value of PHP_INFO (I am not sure what it contains in the / case, probably just / and empty normally), and 301 redirect if the info is not what it should be. that will depend on the server really, if they aren't using apache, they need to use another means than mod_rewrite... ![]() In that case, check PATH_INFO (not PHP_INFO, as I wrote), like I explained. I am not sure I understand what you mean. FIrst of all the content of https://www.scaiecat-spa-gigi.com/sv/faktaomitalien.php sounds to be different from the contents of https://www.scaiecat-spa-gigi.com/sv...omitalien.php/ I didn't listen to it, so I have no idea. It looked the same though. No style sheet on faktaomitalien.php/ |
|
Secondly I wonder where PATH_INFO or PHP_INFO should be. quote check in your PHP script the value of /quote PATH_INFO, see also: http://mx2.php.net/pathinfo http://mx2.php.net/reserved.variables This is a subject I know very little about. |
|
Perhaps i need ask my webhost. Ín any case, do you mean that someone else who is not my webhost could have changed it or added the file. There is no file. https://www.scaiecat-spa-gigi.com/sv...mud_wrestling/ Did I add a file? no Does that URL work? yes Does it give the same page as https://www.scaiecat-spa-gigi.com/sv/faktaomitalien.php ? yes Your server "sees" https://www.scaiecat-spa-gigi.com/sv/faktaomitalien.php and hence calls the script, and passes all that comes after the php into the variable PATH_INFO. Thirdly, when I tried to use rewrite 301 redirect it did not work. So, if you have any code to suggest I might test it but again were it not easier to disallow that page in the file robots.txt then? I think it's easier to handle this in PHP in this case, or using mod_rewrite |
|
Finally, I have created a subsubdirectory Italien which contains subsubsubdirectories so that for example italien-toscana is one of them https://www.scaiecat-spa-gigi.com/sv...alien-toscana/ And the question is? |
#9
| |||||
| |||||
|
|
"John Bokma" <john (AT) castleamber (DOT) com> skrev i meddelandet news:Xns973AD06038254castleamber (AT) 130 (DOT) 133.1.4... "Luigi Donatello Asero" <jaggillarfotboll (AT) telia (DOT) com> wrote: |
|
I am not sure I understand what you mean. FIrst of all the content of https://www.scaiecat-spa-gigi.com/sv/faktaomitalien.php sounds to be different from the contents of https://www.scaiecat-spa-gigi.com/sv...omitalien.php/ I didn't listen to it, so I have no idea. It looked the same though. No style sheet on faktaomitalien.php/ Style sheet on faktaomitalien.php |
|
PATH_INFO, see also: http://mx2.php.net/pathinfo http://mx2.php.net/reserved.variables This is a subject I know very little about. Do you mean the script that the webhost might has installed on the server? |
|
I think it's easier to handle this in PHP in this case, or using mod_rewrite Was not mod.rewrite what you were talking about above? |
|
Finally, I have created a subsubdirectory Italien which contains subsubsubdirectories so that for example italien-toscana is one of them https://www.scaiecat-spa-gigi.com/sv...alien-toscana/ And the question is? Well, Google seems to have taken https://www.scaiecat-spa-gigi.com/sv...omitalien.php/ and left https://www.scaiecat-spa-gigi.com/sv/faktaomitalien.php In the subdirectory de i have a subsubdirectory italien so I wondered whether the problem was that the regions had been collocated at a deeper level than in sv and that Google robots tried and create this level by using faktaomitalien.php/ By adding the subsubdirectory italien in sv/ I might have helped to solve this problem. Let´s say that I tried to solve it. Do you think that it will help? |
![]() |
| Thread Tools | |
| Display Modes | |
| |