开启左侧

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

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

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

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

x
最近两天, 本顺手测试下Google Adsense 广告功能, 嗨!!却发现大问题了。
* R1 X6 }" @# A* W& c, [7 K6 e" |
) Z4 [6 q, e# C( G  {/ e" Z+ m先是将代码测试贴在一个专题页底部:https://www.beimeilife.com/portal.php?mod=topic&topicid=35: v1 i: @4 ?0 ?. ]* E
却不显示。! y( y/ z. W& q) J+ ?% \1 S& P& G# q

8 \) C% s- v8 h- g查询下,木有头绪, 所以自前天就给Google Adsense 查询:
+ p/ x% m; b  z+ D+ fhttps://productforums.google.com/forum/#!topic/adsense/dfPbvCNKM0U;context-place=forum/adsense2 W: t3 p  j" O! I- m4 a' ^# F
1 z7 J  Y' A9 Y+ d( G
网站从浏览器查看都没有问题, 就是在Chrome上从上面连接的页面中所含的http://beimeilife.duckdns.org/beimeilife.com 打开就会出现4 q" o* N- z' N

( x* Z8 ]( j, x, {) ^8 yThis webpage has a redirect loop6 c3 x: ]2 Q. N* \

' Y9 q& d5 ?2 G# a4 x8 u才知道网站的服务器端设置有问题。一直调整,从.htaccess 到redirect loop 解决方法,以及调整DNS 设置。
  j" Z) O% a+ u6 t
* p  [2 U/ ^* T  _# J熬了一天一夜都没有效果, 气馁,放弃!!. L6 u* G4 n$ [1 y" J! |% H/ @
# a( @$ Z# q# E! |3 X1 k
1 E- R& O( |0 E
2 H( M& h* H, ^9 L: Q5 y3 }
, d. y4 y; W4 N; _0 ]( v3 X  ?

4 a, y% N/ e8 j

转载请保留当前帖子的链接: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$ J/ s9 r. ^; k" H

+ `6 `& b% H* d5 o2 O' ^ads not showing on my website
# m0 l& p% \" V4 {6 }
Can anyone help me with this?! f3 N* M7 L. D9 V3 w
+ y) q) Q6 A  X' T" H
I put it on the bottom of the webpage:# a6 R7 \9 `$ @5 Q5 m! T5 O3 D- J+ z
8 Y3 q; z' J6 J: w( K8 x
https://www.beimeilife.com/portal.php?mod=topic&topicid=325 Q1 P$ ^( T+ S6 e
$ y1 F# Y( W; D1 j
. ?4 h/ c6 t; u3 |3 n
This webpage has a redirect loop
! ]5 E  ^' U# D# y/ K2 c( w[size=0.86em]ERR_TOO_MANY_REDIRECTS# I) C" W8 Z0 _* ~

$ _& J4 `5 z( P( x
& f* y- }* p$ X: ?, [Your website URL is:  _/ _3 q8 k+ u+ L4 D
- r9 _0 ~( D, A0 _/ Y0 c
https://beimeilife.com/portal.php not the URL you left.1 t. i; B, G0 b3 i9 g

1 J2 ^7 z( z$ j# 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/ O& Z# A+ [( `" f
  e1 I0 x8 g$ H

$ K( g7 D" b( S% \% k, C; O- K
7 w* d7 g* Y$ I2 v8 W9 X! ?. a, \Your website URL is:/ O1 \) c4 ]9 P( r2 O5 g7 T

  D6 }; O: x2 n. ~! h2 rhttps://beimeilife.com/portal.php not the URL you left.. t$ s' o4 u4 X, F6 H& B. s' V& F6 }

  |5 _3 u% z: l1 ]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 l( G# \8 F' Q, b( G5 C6 r! B. a3 l1 D: i
' W5 f. D9 o  z' b; N, ^

! ~" _# k9 i% i' a/ i' _Many Thanks for your prompt reply and help.9 s0 I7 n& I; F2 T/ e: G
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.
4 a8 d4 m( R$ ~! J# [
+ a, G0 {9 X, m  z* {0 M
; ^, l8 E- x2 R6 T2 l* oGracey said:  
; V! \' {, c7 T" e0 a! e: t% ENo, that's not quite what I mean.
5 {' {6 B, }$ b! tWhen you apply for Adsense you have to supply the URL of your website, right?1 q$ K3 a  _9 I: }+ _* b# i

* k$ r2 a, Y: r& u$ x! ~; dThe 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/,
+ a+ i. T# ^! i- H; O. o, K7 o* p. w( L) h1 [
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?
0 T2 [7 s  [" q4 S/ _% m
& R$ a- J. X+ d  u7 n# yThe URL I see is https://beimeilife.com/portal.php  <--- and that not the URL you told AdSense was the URL for your website.
- f2 W1 C. h6 B( F* P5 i- {% `0 R3 i1 j, E* u
Your website's URL has to be the page that loads. It can't be https://beimeilife.com/portal.php5 m5 k6 d& ~. m% v7 J
$ O) g& ~& \0 A  T5 o
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.) H3 Z5 ^9 Q# I* G0 Z

0 M/ m# f8 g, ^; GYou 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.  [7 k( Z3 d8 X% N# B( b

" [( P" ~/ s' c: ~6 m  EWhen 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.
6 s4 g9 `" @) l5 F: w
" Q' N# E& P+ ^  w1 ?; u( z, x4 }; `& O9 q
I said:  ; u! ?; P$ T; p: j, Z' V6 p
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?
# ?& P. _- \6 I! ?2 h& d+ P9 _7 S5 y0 [7 U$ c4 |
This really drives me crazy now, need a rope on the neck.
, ?3 K; B% u9 G$ G, ]' Y# ?0 {: x' Q7 ]! G
I said:  
: J7 ?, N( ]  f4 S. ulet me try another site: http://www.google.com/url?q=http%3A%2F%2Fbackchina.com&sa=D&sntz=1&usg=AFQjCNHK0E04tph7fsKXs2MU0vT6r-m7TQ
) D, _1 C( Y6 H, g# j. @I said:  ) g7 P" o/ e! T) h+ S
no problem, that means something wrong with my site settings.+ {" S9 i2 A; t0 P5 V: t0 {
5 f3 `* b, v+ T, h: N. E) }* x
$ a" B8 R+ \" a2 ~- C& c
Gracey said:    h: d4 [. V3 ?! T/ u+ i
.htaccess is not how you fix that. You need to change the DNS settings.. w, h7 [! o( e; A. L; }8 Z1 T& ?

, H- i9 F' P! U
7 \" S, I  c, O- M8 C2 ?7 N, F! s0 l6 A. F/ f6 Z( ?8 g; r  i; g
; ~$ A" ]1 b1 ~( ~. n. q

/ S5 H& {4 c. X& c7 @! ]* Y, n& j. j
6 I0 ]/ I9 K) D$ [' P1 X* Q
. D3 \  p6 v9 n1 q6 K, ~1 L1 |( C( u

, m) d, q  D4 N, G- m3 Z9 V% ~
0 }% Q( T$ m, u6 n+ |, a
$ I( x% v- }( w' C* B
5 x. q5 u* P( q8 [. v( L4 c
5 `* ~+ w# `4 w! s" k3 ]- v' a! g* o! [; h' L, Q2 N% n) z) E' J
0 S9 W* B0 ^1 b0 E- _

% U" s" t; z1 X( [' m" {% T9 Q! o- q" W* e: k9 C

, O! n) Q; l3 R5 c
9 Z/ y$ k; E$ t. g1 n  j+ y. j, w& |3 ]/ r: f, T

. a0 u$ k0 h7 B$ Z. z- |$ s8 A: c2 G% S3 W' }' d) W: X7 M

4 |6 e& j# V3 \! w: R
8 ?0 C! l% ^! O4 `$ ^$ C
板凳
发表于 2015-11-17 02:25 | 只看该作者
关于域名定向转换,这是一篇好文章:! }& r7 D& q& n* Z. x
' M# ?' I& |9 X  `9 H, @! t8 X
http://blog.viewzhao.com/2014/06/page/2
, `3 L$ O5 Y9 M$ P; l. vas well:
% u" m- I' H. v$ _
# K" X% c' b6 c. u1 |" U! whttps://my.fastdomain.com/cgi/help/htaccess_redirect1 k# s! B# a# i" ~4 V
% t: ]5 X3 G; J6 }: `/ h
http://www.discuz.net/thread-2130491-1-1.html" g! J' C+ h" _$ E
地板
发表于 2015-11-17 02:26 | 只看该作者
加强版 google和百度sitemap for discuzX2.0-X3.2
8 G, w- ^" s. c0 J% B  s3 _8 J  L( X- \+ T! e( M
http://www.discuz.net/thread-2474942-1-1.html

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

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

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

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