北美网备份站

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

作者: 北美生活网    时间: 2015-11-13 23:24
标题: 哎, 有一种挫败,叫无功而返!!
最近两天, 本顺手测试下Google Adsense 广告功能, 嗨!!却发现大问题了。
, }, J2 O& x% H/ C0 N6 A0 }! ~& l6 a" U7 H; Q9 R% k
先是将代码测试贴在一个专题页底部:https://www.beimeilife.com/portal.php?mod=topic&topicid=35/ F+ G. l/ ^+ R9 g
却不显示。+ U& ~( ?& k6 h9 x" T7 g: I9 e9 a' j

, q- ]) e7 N3 [1 _9 A$ G* V8 v查询下,木有头绪, 所以自前天就给Google Adsense 查询:( L! a' [: q, S1 J
https://productforums.google.com/forum/#!topic/adsense/dfPbvCNKM0U;context-place=forum/adsense
9 v9 N6 D2 N) E- z5 U: p0 V0 Q& z: v' e: f* P& _$ d
网站从浏览器查看都没有问题, 就是在Chrome上从上面连接的页面中所含的http://beimeilife.duckdns.org/beimeilife.com 打开就会出现
, Y/ B/ _1 ^4 c% u7 U) K7 W( p; z( Z
. u: |8 R- {' x+ Y6 E0 aThis webpage has a redirect loop; A$ m- Y1 _1 }% ^$ J+ Y
  B- s" ~% l/ _8 x! E- P+ g
才知道网站的服务器端设置有问题。一直调整,从.htaccess 到redirect loop 解决方法,以及调整DNS 设置。8 D9 y: e5 b. `. D1 ^

4 r5 o% H0 Y* U) k熬了一天一夜都没有效果, 气馁,放弃!!
! J/ o$ ]- P, w) J* h: {, c; h3 @9 u1 I) b2 I* t  o
1 w" _# n: V2 a" z5 i/ Z) }
, ]) t+ G3 T6 q5 g) J

! C1 `: i/ t6 K0 k: e) i. w# W7 N- M  W. V( S0 q- }; j

作者: 北美生活网    时间: 2015-11-13 23:26
https://productforums.google.com/forum/#!topic/adsense/dfPbvCNKM0U;context-place=forum/adsense
# ^; `" D' X. ^, j2 ]- }
: n$ Q8 N* w" ]0 k& H0 jads not showing on my website

  R* l& g7 q+ ?- p) ^! R: BCan anyone help me with this?
' K- ?: c/ U; j
& y) C6 \" D6 T4 J3 O5 N* }4 k I put it on the bottom of the webpage:! @8 z5 r" _5 `+ ~3 c: O1 A- B. v
; K  @9 \1 U$ ^, ^& B& r% [: K
https://www.beimeilife.com/portal.php?mod=topic&topicid=320 ]# h! k- S; s# t# U
& h! I: u( \. D* w) d# C- g

7 C: L+ N, c; K  BThis webpage has a redirect loop( r0 a9 L& ^) x  x8 j
[size=0.86em]ERR_TOO_MANY_REDIRECTS
: F0 M! j/ Q6 r& }; B& m* m6 I
; c7 i, S! S9 k4 o, w# S8 Q; j1 h( E2 s( z
Your website URL is:3 J! l5 T  F0 e# j* J1 p

/ ~' @$ ~$ P3 t# a$ O# l1 k! Bhttps://beimeilife.com/portal.php not the URL you left.+ H: Q" t7 @6 |# y6 `9 y9 S

* ?0 o* c+ C, \4 jPlus, 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; a. ?  S  e3 r

% G7 S3 G& ^. E" y& z+ e/ K) T  [9 ~6 |1 L$ C* N! ?7 e( o
' T* x* v; q0 s9 N* T
Your website URL is:( h. A. t' _* B$ Y- p' T5 k2 x

" c) Z  Y: ~6 P4 H" `  l6 xhttps://beimeilife.com/portal.php not the URL you left.
5 n) C# D" y+ C% t  c8 X3 @& m1 E1 d5 k% r2 P
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
( \/ J" D8 P: v0 Q( y/ H
& W/ _* y% A5 Y  Y" \. G( m, f% q* ~3 k: N& G! \

  L7 }0 _) t" j* ^' V: aMany Thanks for your prompt reply and help.
# B9 y$ N  p- i" E& ~' e# Myou 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., W! q+ `+ X; T. Z, w$ W) a

! I. m3 z0 _/ P% h( ]) D4 v1 \) {
Gracey said:  
7 T! Q  P4 l5 G5 T* ONo, that's not quite what I mean.
0 x. h1 x. Z* W% J% k5 d1 wWhen you apply for Adsense you have to supply the URL of your website, right?" Y8 l! b1 N  m- a" ^# h+ [4 n* o
8 Z2 m/ X( j5 _3 R
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/,
2 G+ Z5 w0 [# t$ P$ F* ?' Y5 L3 Y$ [4 _% P9 ?
So, 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?
6 B) M* _3 y& W; Q1 P3 F$ w) A8 |+ j! y
The URL I see is https://beimeilife.com/portal.php  <--- and that not the URL you told AdSense was the URL for your website.
7 E1 ]/ W, U0 H# k9 F6 D8 o5 Y2 K3 n) |& O+ D7 F* E! b/ J
Your website's URL has to be the page that loads. It can't be https://beimeilife.com/portal.php
1 \. ]$ s$ K, ~( K4 `
, S- Q0 M* ?* t9 i4 r2 s4 VI'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.
4 Q; K6 O) _& a! Q, [' @. y* S, N+ x8 {7 }4 E$ C9 }2 m
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.
3 u, [( p6 T/ s: @+ P, @4 V* t* q
5 N: B2 c( u* A5 q  q% A5 DWhen 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.
% t  M& l' S% j" M  e( O! g$ s7 D
$ m6 k) a, ]* {2 Y) b. B  V7 w9 I" w/ d& R
I said:  
% z, O. d+ J5 u4 E0 {8 oI 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?
! ?$ X6 H! x$ P8 `3 C/ F$ p8 Y( m! p
This really drives me crazy now, need a rope on the neck.
5 ?! M8 z$ U0 {1 @: \; M6 o( R8 s/ ?/ ?# ~2 w1 Z  b7 H
I said:  
) W, T5 Q4 E0 x$ glet me try another site: http://www.google.com/url?q=http%3A%2F%2Fbackchina.com&sa=D&sntz=1&usg=AFQjCNHK0E04tph7fsKXs2MU0vT6r-m7TQ2 W+ Y) o8 t6 {- ^
I said:  
6 ?* s/ I8 l' J: F" b9 Uno problem, that means something wrong with my site settings." J$ T* F% A- r4 b

& A$ m& ?1 @7 w1 F! v' h) C( w( }" M/ I+ z- \" u
Gracey said:  
6 ?9 B$ K! C5 W; X/ ^0 Q; ^, H.htaccess is not how you fix that. You need to change the DNS settings.0 t: q0 ?5 c$ [" |0 J& m1 s! J( ^! e
8 l, R5 O1 j4 U, g1 p2 C: P
* F9 D( K5 p/ ]& w$ e- e/ Y3 R" `  e

. ^- F# g2 ^$ B( T& `, E( I
$ D! M9 A/ ?2 q  |
" |2 d0 N5 c4 d. F: X% e) ^) A) X7 w( o( j% g& P0 E( ?4 p  {

* b7 j! o" s9 u& }) _
" S/ D+ I+ W/ x. S( L# X
) m( A  Y8 t% d4 H$ @0 h; c6 [0 _4 p% o" }2 v3 l9 B0 }! g
* f; [! T1 i0 @* t8 b" q! E# y
9 A+ S  X7 x( W8 K8 P

$ g8 K% z9 J+ t/ `: U9 H1 ~* j" `& v; P* [; T$ H7 B4 C

7 u+ E' |8 T6 e- {& i2 M% i8 H" d8 x( R2 W

5 ^9 N4 X0 \4 o! Y' H$ N9 `: ^# E  r( x6 m
* l0 ^, w% I2 D5 f

- \7 f/ c9 D% T. ]9 F# w
& c& X( j& Q! q2 k! r& j! U8 o6 W4 [
& T- _' \5 l4 P% N& U
$ ]  w9 s1 S0 t+ V, v  `! {+ Q& a5 M/ d2 y+ s" q: W9 S( \

作者: 北美生活网    时间: 2015-11-17 02:25
关于域名定向转换,这是一篇好文章:
/ Y/ f  G' A8 H  W9 I5 v  T) @3 |9 _7 H5 g* @
http://blog.viewzhao.com/2014/06/page/2
' C  j5 m& n6 D+ D! V- v4 m6 kas well:' k) Z7 a& y, u3 k+ \, m
; ?( r! v1 u1 z& k8 h" i
https://my.fastdomain.com/cgi/help/htaccess_redirect
; D$ z% t* V8 w. W
: x9 w' ~, t; E) n6 L3 c. Qhttp://www.discuz.net/thread-2130491-1-1.html
, m- T% K3 ^" s: ~, d, @$ [
作者: 北美生活网    时间: 2015-11-17 02:26
加强版 google和百度sitemap for discuzX2.0-X3.2* `- ?( G2 I- ]9 s( t

) F4 I0 r! [8 P$ o! S# n9 phttp://www.discuz.net/thread-2474942-1-1.html




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