北美网备份站

标题: 哎, 有一种挫败,叫无功而返!! [打印本页]

作者: 北美生活网    时间: 2015-11-13 23:24
标题: 哎, 有一种挫败,叫无功而返!!
最近两天, 本顺手测试下Google Adsense 广告功能, 嗨!!却发现大问题了。7 y% W/ o/ i+ `& y5 \
' A( W1 ^6 q9 W: E$ h6 M6 I
先是将代码测试贴在一个专题页底部:https://www.beimeilife.com/portal.php?mod=topic&topicid=35
2 v8 O, T  A! E6 y1 y6 Z/ ?( o# T却不显示。
5 l+ h" b8 U! [7 t* b
7 z; ^# V# [9 w查询下,木有头绪, 所以自前天就给Google Adsense 查询:) n/ ]' A6 a& F+ D  b
https://productforums.google.com/forum/#!topic/adsense/dfPbvCNKM0U;context-place=forum/adsense! c& w2 G* _% y& Y/ [. i2 a/ A7 S

/ k. Y* c# G" R) o& w* n  H0 B! D$ M8 ?网站从浏览器查看都没有问题, 就是在Chrome上从上面连接的页面中所含的http://beimeilife.duckdns.org/beimeilife.com 打开就会出现+ S' i6 H* l& [* B& |5 I

1 j. |! b8 K  Z4 }+ _  ^This webpage has a redirect loop
+ P% C- \$ j5 I5 N
7 ^0 r# Y7 f7 p) {% H: }. ?& j& f才知道网站的服务器端设置有问题。一直调整,从.htaccess 到redirect loop 解决方法,以及调整DNS 设置。
1 ~  w- O6 r" l5 `( c  A
- X3 |& R+ @. N2 s7 {熬了一天一夜都没有效果, 气馁,放弃!!1 O" J7 v& u5 e5 ]! u" R3 x
: l* a+ W. R' I" d( w. V* x- X
! n6 ]* a3 y& D; J: f" z
. t( `2 o$ C/ ~6 v

* `5 n5 w. [# g- m6 P: H# y1 {
! x, o1 E% z; a3 w9 Z- a5 @
作者: 北美生活网    时间: 2015-11-13 23:26
https://productforums.google.com/forum/#!topic/adsense/dfPbvCNKM0U;context-place=forum/adsense) g3 F7 ^5 s9 a1 K: _
* r6 k% ?$ f, k; ?- y
ads not showing on my website

  U7 p3 j' d2 x- N% hCan anyone help me with this?. `# r2 v* A! z; l% t

2 u; F( z; v6 L" C- w' \+ ^ I put it on the bottom of the webpage:2 F  }4 f* v2 V. a: P* o

$ K; s! V4 O3 u; L1 {: lhttps://www.beimeilife.com/portal.php?mod=topic&topicid=32
* q8 Y, F& W# [6 b6 o
* N9 C# R/ [* A# o" i: P+ v
+ {* w# a, Q4 T5 i% {This webpage has a redirect loop1 t. R. W4 |% |8 s1 ~
[size=0.86em]ERR_TOO_MANY_REDIRECTS5 W' p, o, B% j8 Y! o6 i, O$ X7 s
1 d: N0 M* b0 T9 G8 [( A0 O
. c  f( u1 G' _1 C! Q
Your website URL is:
# ?+ b! l0 Y5 ?9 r' f/ l/ W# h$ I, R, |. }; f& x
https://beimeilife.com/portal.php not the URL you left.
6 i( N) |* ~- K
  d5 p. C. T1 e3 k; i( ~+ D3 pPlus, you can't possibly have applied with the URL you left, so I assume you applied with beimeilife.com, which redirects to https://beimeilife.com/portal.php. AdSense won't follow a redirect. If you applied with beimeilife.com , then that's the web page that has to load for the adsense crawlers, not https://beimeilife.com/portal.php
1 \% U- V# I. C. W$ A8 S2 e% ~5 E/ V0 m5 a

5 N; n) b) n# h5 i1 y- x( U
+ ]& {3 |/ k! l) c: W& q  WYour website URL is:
& _8 _" T1 V4 _3 W
0 f# |/ t1 N* ^; a8 shttps://beimeilife.com/portal.php not the URL you left.
! L! z, C' `: C$ L; X, B/ U" A8 h" J- e; G( J& b% n
Plus, you can't possibly have applied with the URL you left, so I assume you applied with beimeilife.com, which redirects to https://beimeilife.com/portal.php. AdSense won't follow a redirect. If you applied with beimeilife.com , then that's the web page that has to load for the adsense crawlers, not https://beimeilife.com/portal.php$ W- i3 X6 U% i6 t) G$ P

2 R( m& O3 x8 r% L1 |! |3 i1 y8 F8 x& t: e# i$ q) d7 p5 b

! C# E: w( C" }' @% Z: K9 ?4 ~+ NMany Thanks for your prompt reply and help.- [. [2 k* H7 f) p. N& o
you mean I need add each web page to URL Channels before adding code to the page? I thought I owned the website, so would be include every pages, now for testing purpose, I added https://www.beimeilife.com/portal.php?mod=topic&topicid=32, and http://www.google.com/url?q=http%3A%2F%2Fwww.beimeilife.com%2Fportal.php%3Fmod%3Dtopic%26topicid%3D35&sa=D&sntz=1&usg=AFQjCNHbh9cKsbWuvN8IipPxNyEBam7phA to URL channels, but still not showing, really panic and frustratiing, domn't know how., anyway, thanks again.3 _* N6 s/ o7 E% e
" B+ i; D! F' V! ?5 Y* j4 {
2 G) k; W9 ^! v
Gracey said:  ' u2 N7 O- a+ v
No, that's not quite what I mean.
  D, y0 @2 E; I. @2 w( UWhen you apply for Adsense you have to supply the URL of your website, right?. {- f6 J% b5 C3 U( k. w/ C# \' Q
9 q1 s; I; Q: V& ^& z) o& O
The URL I assume you supplied was this one: https://beimeilife.com/  <--- exactly like that, without the www, cause your www url doesn't work, and without the /portal.php, because you can't use a url with a path (that's the slash) when applying for adsense. You can only add the domain https://beimeilife.com/,0 t  I( c7 ^) p; R

7 z6 C3 P3 q% q* h" VSo, if you go to http://www.google.com/url?q=http%3A%2F%2Fbeimeilife.com&sa=D&sntz=1&usg=AFQjCNFvboQjoLI934UD_ef3e2-QGJkQpg  what URL do you see in the search bar after you arrive on your website?( a4 {9 P* G3 E' z4 ]- s$ w
5 `+ e4 E) z: k( Y5 }4 d4 m2 p7 ?
The URL I see is https://beimeilife.com/portal.php  <--- and that not the URL you told AdSense was the URL for your website.
* j  m  j9 R$ k/ i% T3 E: D+ y4 r" k  P  [/ w" u( @
Your website's URL has to be the page that loads. It can't be https://beimeilife.com/portal.php
7 F8 G! r8 X! y  y3 @7 `6 \/ e5 X" n' A  V5 J! k) z
I'm sorry, I might not be explaining it very well, but if you don't understand what a redirect is and how it works, you might need to ask someone who does for help. You have to set up your website so it doesn't have a redirect to the /portal.php page. Maybe your domain registrar can help you, or your webhosting provider.0 b' _! U7 a! H0 A9 ?9 O
: ]1 B9 s- N7 x7 d) A
You can put the ad code in active page on your website, but you have to first fix the redirect problem or adsense will not find your site.; \+ o- T! T, Z( ]

; ^( Z; k/ M  r$ b; e0 Y" \$ mWhen they go to https://beimeilife.com/ with their crawler, the crawler will stop. It won't go on to https://beimeilife.com/portal.php, so it won't see anything on your site, including the ad code.5 J5 _! D% i- R5 I# w0 L6 }

" p1 f# s% G0 D3 ]* s. i  e+ b: Q* F  I  m, s
I said:  4 v0 c# a& x0 @6 a7 g2 K
I modified .htaccess, and also modified Apache server redirect the https://beimeilife.com/ to [url=]www.beimeilife.com. On[/url] any browser( Chrome/IE/FF, https://beimeilife.com/ has no problem redirecting to https://www.beimeilife.com/, I also checked the https://beimeilife.com/ on website http://www.redirect-checker.org/index.php with no problem. But,  each time I click the links you added here, got a error message "This page can’t be displayed", but refresh the address it auto comes to https://www.beimeilife.com/ , does this means so no luck to achieve the codes displaying?0 _2 Z0 {8 k5 m" X: u& \

  T. i2 |0 l8 b, a4 Z# oThis really drives me crazy now, need a rope on the neck.
- z" `. l0 Z8 h: J7 W* [
8 q1 P5 R  W9 ?' qI said:  3 M- Q/ s; K5 E7 F; C& T2 N
let me try another site: http://www.google.com/url?q=http%3A%2F%2Fbackchina.com&sa=D&sntz=1&usg=AFQjCNHK0E04tph7fsKXs2MU0vT6r-m7TQ
  n7 ]" ], M" E1 ~I said:  + K% e; z  S- J1 O4 I
no problem, that means something wrong with my site settings.
2 r$ l( P" x" g5 p) j8 s+ P0 b6 B8 p, X1 O

- `# E* G( [% S; O, t+ Q/ SGracey said:  ; B. a: `* K3 V8 v: o
.htaccess is not how you fix that. You need to change the DNS settings.
& u6 r. @( {6 k; b
# ?$ \3 `+ ]* l. H* W8 j$ L+ s( g- I( |2 M* f

$ m  Y8 j, n$ r+ u# ]$ ]( @8 C+ r/ o2 h( y- d# f1 r0 H" h

, g/ y+ }* T" ?0 Y% r* F- F
7 A$ `! G( [5 J/ {" S4 r: \. ~( Q; f7 Q+ i

+ d8 T( p6 k3 Y0 H4 |9 Y( \/ B9 Y: t# C* {! j: Y  n
3 S7 a) F' n' a: K# e; o2 E- C
6 M" j3 r. B% D+ |  g8 w
/ h# i. b  \) B5 F2 d
( k! L1 K7 A" {8 o, P& j  U8 M2 [% {

! [; E0 }9 L- z7 Y9 L: @/ _' K# v

( B* k) {' e3 i. @- T
# @6 W2 c3 v( t' K6 w' Y! h5 C% {2 b5 i

6 q3 x! r0 G) E& K0 e) U  ]. k" Y
" s3 B  A. t0 I: S) ^, R; m3 t# A3 {: E" I/ J9 f

0 e# {6 l4 y- j+ D% E+ A) c& g
$ F+ y( H. o8 W0 l  r
+ ?, l" O- f1 v: U# h
作者: 北美生活网    时间: 2015-11-17 02:25
关于域名定向转换,这是一篇好文章:
. G6 Q; c( v/ j0 ~
4 [4 @$ m' Z3 n, e' }4 \http://blog.viewzhao.com/2014/06/page/2
3 {4 n$ r0 X; N) g& @- eas well:( G3 s% r2 N" ?" G& g

( @, p" ]" h0 \3 X5 l4 `! khttps://my.fastdomain.com/cgi/help/htaccess_redirect  P/ K/ U2 ?$ V/ f5 f% c( j* E  ^

2 G4 ]/ u4 V3 C: F/ \: S! m0 W8 chttp://www.discuz.net/thread-2130491-1-1.html/ m6 W9 y8 |8 E

作者: 北美生活网    时间: 2015-11-17 02:26
加强版 google和百度sitemap for discuzX2.0-X3.28 X5 G& z" W# U$ V: K

2 n7 c5 J/ [/ \5 t' O# P, Lhttp://www.discuz.net/thread-2474942-1-1.html




欢迎光临 北美网备份站 (http://beimeilife.duckdns.org/) Powered by Discuz! X3.2