开启左侧

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

[复制链接] 3
回复
3430
查看
打印 上一主题 下一主题
楼主
跳转到指定楼层
发表于 2015-11-13 23:24 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式

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

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

x
最近两天, 本顺手测试下Google Adsense 广告功能, 嗨!!却发现大问题了。. v& o$ F! s; W9 q  `' i+ W# w

- O! E! ], c% U9 T' e; H先是将代码测试贴在一个专题页底部:https://www.beimeilife.com/portal.php?mod=topic&topicid=35
. Z* }  R, D2 @& s+ V- M却不显示。! X1 Z+ |0 x  n8 D
! K8 v; A2 |: J$ l& _
查询下,木有头绪, 所以自前天就给Google Adsense 查询:6 \6 h. F) e' G9 U5 c/ S
https://productforums.google.com/forum/#!topic/adsense/dfPbvCNKM0U;context-place=forum/adsense; w6 ?  f3 t. S' j& d

4 Z+ @5 S7 R' p网站从浏览器查看都没有问题, 就是在Chrome上从上面连接的页面中所含的http://beimeilife.duckdns.org/beimeilife.com 打开就会出现' }: N0 o6 I0 _% L) x+ a

- {; n2 I& W# \! t* a: V: s- EThis webpage has a redirect loop6 p' A* q" U  y" Q) R
0 e* b3 t/ S( W5 ~! f+ v
才知道网站的服务器端设置有问题。一直调整,从.htaccess 到redirect loop 解决方法,以及调整DNS 设置。$ X* C7 U& y3 M' q  p
- ?8 o: l9 v4 Z
熬了一天一夜都没有效果, 气馁,放弃!!
" E' A0 R- `% G7 O) K# n6 w* z+ {3 [
" Y/ A0 H  F2 K5 H2 \
0 }" V: |) O9 `* c( U+ d# x
  ~; J* e1 t# |/ P0 P9 G+ Y
. v9 C4 }, ?" B4 V# b) {" c


转载请保留当前帖子的链接: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/adsense1 x) E; C& R9 _9 \- w) s  [, Y- g

% w. Q3 Z9 [: `/ y! ~% |2 Uads not showing on my website
- ~: C" u5 r5 i) |0 P6 v
Can anyone help me with this?" j$ s. x2 e2 R0 Z

/ A7 m3 [5 }2 g I put it on the bottom of the webpage:+ r1 t( T, ^7 |! \8 |0 L% _: Y& `
& |& h5 Z: o* H6 T$ N$ r
https://www.beimeilife.com/portal.php?mod=topic&topicid=32. n4 g( S& R- z+ h  w% C
& b3 u& O; e% H3 |8 a/ q
* s6 R& E, t% M* o7 Q9 D
This webpage has a redirect loop
8 B9 o+ O. F  h4 \- y5 _7 ~$ S3 T[size=0.86em]ERR_TOO_MANY_REDIRECTS
: r6 A( i( d* _9 v  F: v% E8 ]
; X% _2 W9 i  p& p* D' P/ }$ P& {2 ^. V% P
Your website URL is:
" z) u7 f: L. x  Z
( I+ J/ V# w* w' Chttps://beimeilife.com/portal.php not the URL you left.- E* ^" g/ e" J) x) V- @
3 P& U$ ^* R8 e4 J. e3 |
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
0 z2 w$ ?% l- T! K( F2 y. F; y
+ ~. D* g' U3 f, x) I; z2 B# o8 o1 a7 w  |4 z, \# v: Y+ t
3 h5 Q1 S: u, s; |4 o
Your website URL is:; J1 V( u5 q$ ^8 ]& Y7 m
) i8 t6 n7 G) U+ J
https://beimeilife.com/portal.php not the URL you left.
; h: V6 I: b% N/ }
# [* ], n0 G* H8 Y+ T7 Q: @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
, \; u& U; D0 a, T- b
  J) n# x( }  L6 X$ D) W1 U( L$ \$ Y1 a, |
0 l' U6 m# k  J# a
Many Thanks for your prompt reply and help.  J8 G3 A* b. u2 n% H, A
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.
1 \0 L$ ]" Z( c% Z( |5 d
: B5 d% h* o' ?/ X
0 o& @2 ?) v$ T* U( o; r7 t4 c$ p& VGracey said:  
! r# _: m; ~  t- uNo, that's not quite what I mean.  m9 Q) m: W4 n9 h) w5 [4 C& Q
When you apply for Adsense you have to supply the URL of your website, right?2 n( ?% h# ?; e% @2 }2 b- C
+ |( C! U9 K% ^
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/,. f1 O  t4 e! D1 b, g

9 D( X# Z+ `) s+ ?1 x- E& GSo, 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?3 T; T" m3 y' y4 ~# U
4 J* }( F; |4 n6 J& ^8 Y/ s
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 O) x9 H# ~* u  V2 }

+ t, d. e2 D" V- EYour website's URL has to be the page that loads. It can't be https://beimeilife.com/portal.php& E7 r# ]( v/ p  o

; f* `5 u+ O+ r: {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.+ m( m. P/ o( L/ \; k& T, ]1 h( i

9 b6 Z6 X  H$ s4 |/ yYou 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.2 }  z4 o/ |) s+ |" j! L) s  u7 W
. ]: [5 |4 T: a$ _* N& M
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.
4 q( }+ j2 R; t1 j
, U6 H, ?( e  ~8 o; T. e
& q' q: G5 P5 qI said:  - Z  g/ U* c/ J2 G& F1 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?8 k6 N8 O- y5 F& Z7 l/ d" Z1 e6 o
, |3 ~1 E5 d3 a+ B8 d
This really drives me crazy now, need a rope on the neck. 6 ^& t6 J3 y% A

, f4 d2 x* p) ], O# W1 FI said:  + b% @% i: C; v
let me try another site: http://www.google.com/url?q=http%3A%2F%2Fbackchina.com&sa=D&sntz=1&usg=AFQjCNHK0E04tph7fsKXs2MU0vT6r-m7TQ
, R! X' n, {! M( A9 t9 ~/ JI said:  8 ]4 ?% \2 ]  r# y6 J+ B. |
no problem, that means something wrong with my site settings.: N7 T0 k0 m$ t# r8 A6 ~: D) u

1 b8 U! X' M& n5 F( T8 l
6 V, D# e, P5 hGracey said:  $ [! H8 d- L( ?" _! m+ c4 @  X
.htaccess is not how you fix that. You need to change the DNS settings.0 D2 p, p9 P$ O  o0 `) B+ M

0 h4 I0 B$ k2 X. m) n2 Z* \, y) a. K1 U! z. o% {
) @( `5 U1 V" T! C# i

! w6 W- w( x  c
) P8 `& e' b- }$ V  V0 e1 T
7 }5 K4 P' e4 K7 @- w7 i+ q% i2 W1 C* O4 {/ e' _
* y2 O* k2 @. [4 Z5 n
+ @1 j! B/ ?! L# R+ O2 a' n2 V. B* G
( j2 x( U7 H' k; Q' f/ l

1 T2 }/ W1 s1 K# `0 P; Q) t9 T1 A6 N2 z$ l: K7 u: u! m

  }: M5 G+ P# T  u, @
/ n( |" z. U2 m2 m" c* H: a- x; A. k$ D* B; F

8 y4 T: \; A* D! B% t
5 p* _! L+ e. ]9 }4 P1 {1 r3 O
$ Z8 W) C3 O2 x4 _  }
" }1 {8 f$ O& b/ i1 z" D
- C6 Z0 @3 D$ h& g
1 |: ^" T9 X% l  X$ W
- n' E" J1 y6 f4 d9 [: P+ \6 Q" m0 i' \& R, F: G" |; j
: w) m8 F3 @- h- u+ o4 F; A/ {; D  @
板凳
发表于 2015-11-17 02:25 | 只看该作者
关于域名定向转换,这是一篇好文章:, G4 F3 j4 U4 S( z

# I0 g' [1 Z# M+ w) Ohttp://blog.viewzhao.com/2014/06/page/24 M7 E$ c; i; r* D
as well:2 A2 r- c8 e. B% c; s, q5 W
2 j& ?- K6 ]& M7 P
https://my.fastdomain.com/cgi/help/htaccess_redirect3 Q8 z3 j8 L3 G# \6 Q
* [. p$ i, F/ F7 G9 B
http://www.discuz.net/thread-2130491-1-1.html
. ]2 Z+ e* T* n% x) w7 W2 d, g- J; `
地板
发表于 2015-11-17 02:26 | 只看该作者
加强版 google和百度sitemap for discuzX2.0-X3.2" {0 G8 |8 q6 X, M; w/ U
9 T& o; R" H- h9 Z; @! P1 O
http://www.discuz.net/thread-2474942-1-1.html

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

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

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

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