开启左侧

哎, 有一种挫败,叫无功而返!!

[复制链接]
发表于 2015-11-13 23:24 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有帐号?注册

x
最近两天, 本顺手测试下Google Adsense 广告功能, 嗨!!却发现大问题了。  y0 z4 [& ~4 W% @4 H9 J# v/ [5 X

% \5 C- |+ N$ C  t- e先是将代码测试贴在一个专题页底部:https://www.beimeilife.com/portal.php?mod=topic&topicid=35! G. s3 J  w0 Q/ T' d& Q
却不显示。
' a7 ?( S0 b- _
- q* t6 a" X& Y查询下,木有头绪, 所以自前天就给Google Adsense 查询:
5 e4 U: q9 K8 X/ q  n0 o$ G7 fhttps://productforums.google.com/forum/#!topic/adsense/dfPbvCNKM0U;context-place=forum/adsense  a3 |6 |2 e  w) L6 ~! L0 E
. D4 }& S3 f: Z6 H
网站从浏览器查看都没有问题, 就是在Chrome上从上面连接的页面中所含的http://www.beimeilife.com/beimeilife.com 打开就会出现3 u8 s2 d# a. k& a, V
. ~% T5 ?5 C9 k) c
This webpage has a redirect loop, S  I! P- f: y# G; S6 D, H+ Q

. d2 Z& }; J- H7 S: ]# m才知道网站的服务器端设置有问题。一直调整,从.htaccess 到redirect loop 解决方法,以及调整DNS 设置。
1 b# U% ^. i: u3 e5 T; w
) ~3 b1 ?$ L7 o; @' M: D熬了一天一夜都没有效果, 气馁,放弃!!5 S$ V7 B9 e2 [' t
6 ?3 r1 l/ O8 |+ g# ]
& F5 R# b' E( \3 t1 \5 ]: M
, n0 N( Z8 c$ H3 B: Q. ^

; U' n% k1 P2 X- P( P* W, O" b4 c4 L1 P+ a! n7 k4 C1 i3 Z


转载请保留当前帖子的链接:https://www.beimeilife.com/thread-2724-1-1.html 谢谢
发表于 2015-11-13 23:26 | 显示全部楼层
https://productforums.google.com/forum/#!topic/adsense/dfPbvCNKM0U;context-place=forum/adsense
; _/ n/ r; i3 v! b7 ]7 t6 ]+ e% w, \, U
ads not showing on my website

5 p+ H2 [! W( }/ eCan anyone help me with this?
1 f/ w" \/ g- J4 ?# I6 }
1 s4 _- N  Z5 i/ R) X0 h. N I put it on the bottom of the webpage:, r3 k9 K4 c) a7 T
- [2 \6 \) n2 n2 w& k+ @
https://www.beimeilife.com/portal.php?mod=topic&topicid=32
' S/ r; k' `( R. T5 I) T, s# `+ O6 [3 X* c% r

) s( \$ G! p) ?This webpage has a redirect loop
9 T; ?0 W, u: ^# d* |[size=0.86em]ERR_TOO_MANY_REDIRECTS
& j+ y# u: v# ~& `" ]; E& i7 Y5 x) T# W

# N# E! Z) I0 w1 s5 c4 _7 n) oYour website URL is:
1 z0 Y2 P2 J4 F# l( j8 h0 }, h
3 t7 J& Q3 k* \- m8 d( _- _https://beimeilife.com/portal.php not the URL you left.: b7 u- ^4 c" x4 d* Z9 A
; V# b9 R6 V8 P4 ?
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
& m( l9 |) v4 H" Q
- U8 i: W0 E! l4 V. @0 X& G# ?6 {
- ^4 _9 N5 s! i/ |' w( a0 ~- B  y* u5 D% a2 w1 I: p$ D
Your website URL is:7 \2 S/ u5 v9 v- e, `' D

0 t6 g4 F3 N) K4 F$ N+ Khttps://beimeilife.com/portal.php not the URL you left.9 O4 N6 x0 |8 r$ D5 h, t: b! I
' `# |( ~6 c# r. _3 h) K
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
. \) v1 K( V/ t
' ^' ]) C$ A5 Y, C$ e8 ?# M* s4 D- Y$ ^
4 G* k6 P: X4 A% `
Many Thanks for your prompt reply and help.& _( r  U* p) T! Y
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." B, h. e1 e, g9 E" N6 Y

5 Q4 Z: k2 h5 D
0 O( M7 ^. ?: i4 W5 ZGracey said:  
  A" {2 F6 f4 \( o0 a7 {No, that's not quite what I mean.: N% |  z" r6 h7 J  p6 [+ h9 N
When you apply for Adsense you have to supply the URL of your website, right?
/ E) X9 H* y4 y: D6 v; y! ^5 N
- |  s4 \; x6 a2 d& U6 r0 UThe 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/,
: h  m* g9 S+ p9 L% h
( K3 h2 Z& {, f0 dSo, 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?
5 P4 |  k% T1 w& {; l; O: j5 x
% m' O- X2 l. z* N" ~  p9 n  DThe URL I see is https://beimeilife.com/portal.php  <--- and that not the URL you told AdSense was the URL for your website.
' j9 U6 g) ~% u' Z$ g* G
$ q& R6 V9 X3 a, v2 ]8 KYour website's URL has to be the page that loads. It can't be https://beimeilife.com/portal.php* \/ x' }/ f$ j! a) x. w' E

$ R! A7 K! ^  w- u, GI'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 C( O) P7 s8 J& [; j0 z" L
! u$ z* w; r1 J  O& p
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./ X3 z- s4 |# q; q" m+ Q* X! X
7 p6 z3 M4 A( M8 j
When 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.
& S7 {, O' \* [* f
2 W. b0 d* G# K7 b. |8 V* q; R5 U, V/ t
I said:  # r# L0 @" S- I' A
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?2 c- x5 y( q7 O4 u, b! U3 G
7 f# K1 @  t. \. z
This really drives me crazy now, need a rope on the neck.
% _7 x! ^8 D1 d" r( V
! F8 f; [% \) D: ~% m% zI said:  / e  ?! W+ Y1 I; I
let me try another site: http://www.google.com/url?q=http%3A%2F%2Fbackchina.com&sa=D&sntz=1&usg=AFQjCNHK0E04tph7fsKXs2MU0vT6r-m7TQ, c: b4 i* w/ p* H
I said:  1 r) X2 C: }) ?$ ?: i
no problem, that means something wrong with my site settings.# u. [% v. ^% Z0 W( h% z
) M6 |; b$ B+ o: w6 w) y$ V
+ i# j+ k1 j/ H1 S$ p+ ~& h' y7 j
Gracey said:  
9 W" `. y, P- j5 a: Q9 _.htaccess is not how you fix that. You need to change the DNS settings.) x3 f9 x$ P, r2 l8 a5 ^# c
# M* C) c- J* r

3 t/ d) R' |8 O6 w. U; S; E1 P$ q. |
1 a. \5 T, d. q9 O! s

7 }& Y6 O$ i4 H% q5 }
4 u9 i$ v: v1 a+ S7 ~1 g# K9 m- P1 z) G" W7 r

- B7 Y* w6 \( y- [2 k
) m' S0 p+ Y- g  |7 D, N7 N
. y& L! y: B2 p$ R% K: [6 r8 G
% N+ J0 b. U8 M/ U! d% h6 [8 w) o# h/ w: d
. u% i+ g7 Q1 q

3 E! q' K- g' n; P& Y; W! |( M6 D9 g0 }* N
( ~, s) G; g  W% B. h) G

/ k- h* e* {, C5 e* [0 W' \9 W( u' a5 P" y9 D4 s/ J
$ e5 m5 ]8 W% V2 h
; A% X& b7 z7 i

; J1 r) D3 _3 ^+ ?  F  ]
5 Y2 j5 T. Z. D9 D( x+ I
+ D* ^# [8 U* T7 C1 w' Y" C1 q( @9 F7 b8 }. y7 h* i; Y
发表于 2015-11-17 02:25 | 显示全部楼层
关于域名定向转换,这是一篇好文章:2 d7 |2 e. z' i( a1 e) ], ~0 A

- Y4 k" y) u8 z7 g/ Z- ohttp://blog.viewzhao.com/2014/06/page/2
% |1 a# E9 ]7 Das well:
3 Q) t3 f5 W8 j2 K# ~
' W$ u+ s' a8 d7 Rhttps://my.fastdomain.com/cgi/help/htaccess_redirect
( {8 [/ s. B! ^3 I3 K2 u+ ^$ u8 [# Y
http://www.discuz.net/thread-2130491-1-1.html
/ z, [! t) M# a+ i( W% Q  i- |4 |9 D
发表于 2015-11-17 02:26 | 显示全部楼层
加强版 google和百度sitemap for discuzX2.0-X3.2
9 M3 i) h$ Z4 c' h; }( `( A# k
; P3 C. E; S3 nhttp://www.discuz.net/thread-2474942-1-1.html

使用高级回帖 (可批量传图、插入视频等)快速回复

您需要登录后才可以回帖 登录 | 注册

本版积分规则   Ctrl + Enter 快速发布  

发帖时请遵守我国法律,网站会将有关你发帖内容、时间以及发帖IP地址等记录保留,只要接到合法请求,即会将信息提供给有关政府机构。
快速回复 返回顶部 返回列表