开启左侧

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

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

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

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

x
最近两天, 本顺手测试下Google Adsense 广告功能, 嗨!!却发现大问题了。
6 c5 f5 v. c5 W0 w$ y& e
4 F" d4 x9 w' f' c7 |先是将代码测试贴在一个专题页底部:https://www.beimeilife.com/portal.php?mod=topic&topicid=35
- d) k; v1 i& W! r2 U却不显示。
: S( u' f. K& P1 i# X) X* c  w6 ^" U) h
查询下,木有头绪, 所以自前天就给Google Adsense 查询:% a7 m, [. }8 i0 n  w2 B2 b% y
https://productforums.google.com/forum/#!topic/adsense/dfPbvCNKM0U;context-place=forum/adsense$ |. F9 O2 O5 z& ?0 B- c" J0 J

& a# q$ Z" m, k9 g& A9 Z网站从浏览器查看都没有问题, 就是在Chrome上从上面连接的页面中所含的http://beimeilife.duckdns.org/beimeilife.com 打开就会出现' @, D0 q4 I$ [' y  f' m
' z" k7 y* s  I* D6 P
This webpage has a redirect loop
* @5 Y: g' E# x6 Q8 }% l% s) L) f0 ?( g- g! |* z8 `2 _
才知道网站的服务器端设置有问题。一直调整,从.htaccess 到redirect loop 解决方法,以及调整DNS 设置。
# p( i8 p( e2 \3 P1 V4 N7 E+ A1 Y2 m' M2 O( H
熬了一天一夜都没有效果, 气馁,放弃!!5 r1 B" E. @. a. o: I
0 r; b8 M' i+ u% H/ C( g/ A
" z" [1 I8 k9 P  |! ~5 |! k
( b! S* K/ S  Z4 r$ M8 M$ e* v3 |

6 I( R9 {: I2 I" x% d" X, ^! Q; a3 ~0 M# b) t1 f


转载请保留当前帖子的链接: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
( [' x& x! o" G( X! r" |2 b9 q9 ^
ads not showing on my website
/ T$ ]3 `+ @: x" r
Can anyone help me with this?
. O2 I$ D' d, v4 k5 r$ L& P; n4 V- [' v- G& Y
I put it on the bottom of the webpage:
- Q, P5 R. l1 L, C9 s
6 f3 {7 m  b( N8 T+ Whttps://www.beimeilife.com/portal.php?mod=topic&topicid=327 b; R# A, Z* W7 B
! @. b, T6 d: ?6 h+ v/ `
- s2 h- W+ W4 n8 i/ l
This webpage has a redirect loop( p" ~0 B* K  v1 A+ f5 J3 J' T
[size=0.86em]ERR_TOO_MANY_REDIRECTS3 ~+ x0 j, N* t
7 r2 @: j. f5 U' O# A( b# \& O

/ S$ s! r9 G7 y5 i4 t0 A  YYour website URL is:
* u$ d1 u3 l8 C
9 `% G: u' p0 O0 A; ihttps://beimeilife.com/portal.php not the URL you left.# K3 W0 e( e) r8 G' z

: u$ ^6 n( M$ A( }* XPlus, 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' v2 z7 g; z& v! ]

' |6 h1 h( T: O" b2 O$ Z# k
+ }4 T% V, c  G7 J( r+ r9 D" T1 w; Z6 W
Your website URL is:  K3 H) {: C( {& b# m7 R
9 o4 P, u7 v+ m' `* @
https://beimeilife.com/portal.php not the URL you left.. Z  B  Z# m# n" `1 p5 U
8 [& o- P0 r2 P$ k  i- ^/ N" V
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
1 l, t3 p) j* c% K: x
! F! E$ k9 S* v$ k$ K7 @/ P3 S! s2 Z# f! t8 t
) ~4 K2 P$ k# c/ t) n0 M
Many Thanks for your prompt reply and help.) U) S7 l- f0 t
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.- G% U4 I; T6 D1 b; J( L

0 H  z% c0 f3 K; o0 ~& ^$ X% f
Gracey said:  
2 g" q1 C7 o  g9 j' sNo, that's not quite what I mean.$ b7 s! _/ c5 k" f2 K$ `; E
When you apply for Adsense you have to supply the URL of your website, right?
9 g( J: o; E, E) q2 A8 l
) r& m2 f" b% @  x0 SThe 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/,$ V; t; q" P7 c- Q! h4 Q7 x" }9 V
9 h, k( `. L/ C& S) R
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?" y$ A  i, L+ o/ H, S7 g

3 d# A1 c& t# J3 |. E% pThe URL I see is https://beimeilife.com/portal.php  <--- and that not the URL you told AdSense was the URL for your website.
) F9 s- ]9 \6 `8 `; B3 ?) u+ t  b6 I+ F& P' w
Your website's URL has to be the page that loads. It can't be https://beimeilife.com/portal.php
3 E. H( {8 J( b" J
8 F" U5 a' z$ nI'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.0 N4 V) X4 @3 f/ h1 j: I

$ z2 |& r) d( ZYou 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.( a" D( C8 S* [4 o$ Y3 l: A$ q

# g6 h% }  f" g$ A, mWhen 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+ h* \) }9 `, C& I9 u+ Z; C6 a
* z3 K1 t+ Z; J0 E1 M2 Y7 O

- t9 e1 C# I- QI said:  0 d0 w$ \7 m1 d( I; ~3 v% w
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?
1 O5 |( p! ?, A- l3 `; R: q! u( ?  G6 o- S, V# @8 G) k
This really drives me crazy now, need a rope on the neck. 7 ?! l9 n5 X: l1 p
" M2 f$ \0 l% p- N1 j& i
I said:  & G4 L1 R1 L3 @8 G# M9 K, i
let me try another site: http://www.google.com/url?q=http%3A%2F%2Fbackchina.com&sa=D&sntz=1&usg=AFQjCNHK0E04tph7fsKXs2MU0vT6r-m7TQ+ f& D# H( `' I6 Y% Y+ Q
I said:  / O9 p3 h6 F% V2 M) |" c2 c6 Z
no problem, that means something wrong with my site settings.% R  |, Q, S! _, a2 I& _/ ~# A

" _" O: y8 ?( g$ i: B
/ J5 M4 F- [( W  j: _" C8 I. }1 EGracey said:  
$ o+ L' v& ^  `9 s! X5 @5 W.htaccess is not how you fix that. You need to change the DNS settings.' v1 D+ I2 E6 n: j* V4 F

$ B' p( S& G2 z9 @8 a: M) r; B, u8 o' T( @. w* p; N1 T+ a  ^4 D

0 h2 J2 m" J  B  |& s7 t! k& f  `, Y) D* l4 r8 ]
$ O* o1 c" _* [

/ I* m$ v& v( U! n; ]: ]  S
. U8 O0 f; b2 T, v; b2 Q5 w! _" [# ^2 }" F$ K/ T

/ V, M& i) t( b* M" J" a, j/ E. l- `* c

- z. L# l6 f% h$ e" n* D/ Q. E4 }, i: Z) w; M. ^  Z

8 r; D- T2 j: m5 _3 y
7 ?- |. z1 o: h% C; J1 `0 N! ]' ]4 A3 ?- Z, W" P
% g$ W" F. E) c1 x( [( _3 e2 \

' {: \& C- ^3 ^2 m$ T$ H* k- R. W  z% H1 e7 f7 p

& H  z2 e! P! y& ?- ]& i" b7 o3 U) l8 g5 D% H4 L- D

+ x. d8 Q, m1 d% P$ o! b- B" J9 X: d$ A3 ]* T
% U4 {3 Y. Y* a3 E1 I4 G8 r  o- `. {
$ N3 |% g, v/ O8 ^: Y
板凳
发表于 2015-11-17 02:25 | 只看该作者
关于域名定向转换,这是一篇好文章:1 E$ f4 t3 R! \% |7 c# |
* h+ w5 D, ^; p; o1 e/ @3 k
http://blog.viewzhao.com/2014/06/page/2) b$ I; `4 e  ^3 a0 J
as well:
  U1 W: g1 x: @' v# ~8 H! h' X0 U
https://my.fastdomain.com/cgi/help/htaccess_redirect( T, ]9 C% S% ~: R
- O( Q# |" K! `
http://www.discuz.net/thread-2130491-1-1.html; \! @6 j* W! b( W5 x, h! j
地板
发表于 2015-11-17 02:26 | 只看该作者
加强版 google和百度sitemap for discuzX2.0-X3.2. O9 c' I' d, x4 l+ G) W9 V, c

. S; Y: Y7 A! q  b. c% Q2 |http://www.discuz.net/thread-2474942-1-1.html

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

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

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

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