开启左侧

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

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

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

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

x
最近两天, 本顺手测试下Google Adsense 广告功能, 嗨!!却发现大问题了。
6 @1 B: t0 V( c' Z2 |) W7 Z# [- @
先是将代码测试贴在一个专题页底部:https://www.beimeilife.com/portal.php?mod=topic&topicid=35
6 H0 i1 J4 |2 F( V2 ^却不显示。
9 R( x% y7 h7 U6 f% a; \8 O! X' a+ W$ e+ b; x0 d! @! S% C% n/ k
查询下,木有头绪, 所以自前天就给Google Adsense 查询:
( S' m+ o* e: uhttps://productforums.google.com/forum/#!topic/adsense/dfPbvCNKM0U;context-place=forum/adsense
5 U: {5 g4 x2 J2 w# g$ r$ G0 L
& v( J+ Z% S& y, n5 Y. P网站从浏览器查看都没有问题, 就是在Chrome上从上面连接的页面中所含的http://www.beimeilife.com/beimeilife.com 打开就会出现
) W, E5 x: b/ _
0 [9 e+ q1 T# ~* Y$ {This webpage has a redirect loop
0 J7 c( s9 S$ F5 V
& W8 B2 O7 N) {% L. e3 ]才知道网站的服务器端设置有问题。一直调整,从.htaccess 到redirect loop 解决方法,以及调整DNS 设置。
1 O, Z& O8 V& Q# L7 D3 o) s) U
, y# l4 I' A+ Q- z' [; b熬了一天一夜都没有效果, 气馁,放弃!!8 p! w% U# y( h' G( y

+ n& x, s* v) ~
1 w$ r4 }9 L! o! c6 G. N. ^. Z
5 S/ j% l" I0 r# Q" V. C9 l* E4 c2 h7 i0 D

) u. z4 W: n( |- ~. |0 _8 O4 H9 `' e

转载请保留当前帖子的链接: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/ P6 u& M# o) M0 `
! n) W7 @9 O! |& z4 ^, R& L9 x
ads not showing on my website

  _( x1 o& v1 Y; K/ ?+ PCan anyone help me with this?+ k9 L' b+ X! k0 _2 ?/ }6 }. z

5 ?7 |4 G2 C  a0 ~3 u I put it on the bottom of the webpage:& \* Y/ Y0 a( z. j, L! ?; D
4 M2 P) m2 H% _" {( a, n4 ~! y% z
https://www.beimeilife.com/portal.php?mod=topic&topicid=32, e- t* ^+ k" J0 |7 s

/ n: o* m! i" s2 X; p& u# @; B; t  l6 b6 E- e
This webpage has a redirect loop& U8 j. O" J9 O- o
[size=0.86em]ERR_TOO_MANY_REDIRECTS
" y4 k9 Q$ p4 o: R6 H0 \! O
- f$ k& c0 x; v# m
/ Z" a# i- s, iYour website URL is:
8 |) E% n  @2 w  N7 c
. b0 Y: S& _9 `5 E2 Ihttps://beimeilife.com/portal.php not the URL you left.
% o9 {' w) Y4 ?9 D) A+ B, B' Z. A% E; X' B6 \% b
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
7 C% i# W. A/ m5 N1 P4 D9 L7 c
: y, H, V3 S: H. V" l9 m# {0 p) S3 J6 [+ f& l8 C
- u4 S( |; C; A9 P
Your website URL is:
9 R* i7 L/ ~& w. @1 @7 g5 L
* U6 o0 A  S" o3 M1 t) [https://beimeilife.com/portal.php not the URL you left.
3 k& S# r+ R* F, Q3 R
8 u" [7 Y. V  j, f& {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& C4 P* N* _7 V" ^  x8 {* L
  \4 P/ P3 W: ?
9 p! g7 E5 U2 C( j  u* q) r
$ F! [( w* J! b& L# A2 H) P
Many Thanks for your prompt reply and help.
* l- o& m* B  M4 }4 `3 oyou 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.! A$ R+ A& O' n6 X4 e

% _! U5 p) k6 p: \  c  k( _! y3 J! k+ M7 o5 P( R6 U
Gracey said:  & w5 ^# Y  `: [: N; f# f& T
No, that's not quite what I mean.
1 {( T9 E! o# l% W* i2 qWhen you apply for Adsense you have to supply the URL of your website, right?
' j3 O0 w2 E# _- A  |/ m, b* ?& ^2 B
7 U* b6 ?+ Z# B: B* }& A# _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/,
; ]* ]. M6 X7 E- K; u9 M# |0 G0 w* N& k; {+ k
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?+ V9 J9 `# g# W6 b. x; W

8 P9 d3 V- |, H, r  {1 YThe URL I see is https://beimeilife.com/portal.php  <--- and that not the URL you told AdSense was the URL for your website.. Y" J, B/ k" ~9 k! W1 O7 J

' |: H/ X  G9 o- z4 d& F' oYour website's URL has to be the page that loads. It can't be https://beimeilife.com/portal.php' K: R) d& g! m" m7 i

0 l& |# ]# X. l/ `7 ]/ x  wI'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.
- d. }* I) b" p% a# e+ N8 I
" v( R8 m  a* i) VYou 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.$ U% r/ K  K0 |, A$ T" {

* L8 Q4 O' k4 CWhen 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.) m/ ~4 ~  I- a

. C8 [) X' w! G7 p
; O1 k8 v/ w3 C2 Y' m& QI said:  7 F* m7 H' S+ f
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?. u1 k& `- D; T8 S0 |

6 ]. [: j$ Y) V/ p$ GThis really drives me crazy now, need a rope on the neck.
( G% }9 \) U# Y0 V! X7 U
/ o* a5 J7 h- w) j, T) FI said:  
' Y& S6 J* T, a# S6 mlet me try another site: http://www.google.com/url?q=http%3A%2F%2Fbackchina.com&sa=D&sntz=1&usg=AFQjCNHK0E04tph7fsKXs2MU0vT6r-m7TQ7 A. o! V6 _' t& S( `0 {
I said:  # {2 i- }/ E+ B6 f# `: W& p
no problem, that means something wrong with my site settings.
! Y* w3 J; i, i2 E$ d$ [: M4 h3 a8 Y) z$ u% S# g
# m; ~1 T0 [/ A9 z, y# ~
Gracey said:  
. V! w6 q" D% p' U1 y9 n.htaccess is not how you fix that. You need to change the DNS settings.
; O" U0 I9 P! q/ U* G& ]6 C
" I7 \7 L3 G% h% r
6 W, O0 h+ I  B- ^& [( G9 x7 R- }) y5 ?; k7 U: x

8 ~- p$ r& }. U/ y- F, f' M
( v" {8 d0 d5 g3 ?9 s& g- @, \$ r! {" E$ W: |

$ w  J- n) N2 T) f
" k$ m3 Z4 B$ r' `- D' _& c* M8 m& y& B, @

3 o1 U. l, k3 [1 o; J2 _0 [/ l+ ^" s

1 G! [( g+ `4 P; c1 a. l1 A7 a' A7 d: j& p" q0 ?

, f+ z- \& ]4 U1 J5 j
' I+ Z; [, ?, f& t! t* _+ t$ c  A4 W7 k; u0 n
/ c6 `7 v) s9 n9 p1 B1 }" Q8 O
% I- M7 X. z/ V9 l, r& X7 o' x
7 T" {4 {% b- V6 E4 v# h& x

! v# w+ }  }* d# y4 g7 @
; l4 r" w$ X0 a5 H( o8 Y& E
0 [2 K; O! [1 L+ e
4 A; y+ Z0 i% o5 [, y2 N, A: d
7 v5 p4 m0 @: P- |; ~: B8 o
发表于 2015-11-17 02:25 | 显示全部楼层
关于域名定向转换,这是一篇好文章:
5 j- G5 C% B" D- [8 d
+ s) a5 W6 G4 v% x, u0 Fhttp://blog.viewzhao.com/2014/06/page/2# e8 v/ N# i9 [; P
as well:7 y8 F' U4 e- w! y( U
( }/ y# C# l, u3 b
https://my.fastdomain.com/cgi/help/htaccess_redirect
4 H8 V  |5 \, l" D2 Y9 c& {" k1 G) R7 W
http://www.discuz.net/thread-2130491-1-1.html
4 L7 t4 b4 v; }3 p
发表于 2015-11-17 02:26 | 显示全部楼层
加强版 google和百度sitemap for discuzX2.0-X3.27 b% u) }- w+ ^; Q' {

& S; q# w0 F3 r5 `3 g! u+ Thttp://www.discuz.net/thread-2474942-1-1.html

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

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

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

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