开启左侧

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

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

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

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

x
最近两天, 本顺手测试下Google Adsense 广告功能, 嗨!!却发现大问题了。# a! ]9 `$ B! h3 ~" A$ @9 b+ x

9 k: S9 F9 p9 C8 R' k$ t先是将代码测试贴在一个专题页底部:https://www.beimeilife.com/portal.php?mod=topic&topicid=35
2 e5 Q$ x+ u( l, C' J3 c3 E- d却不显示。
% C" y& X& u( j; g* d; [2 D' r6 n; L
查询下,木有头绪, 所以自前天就给Google Adsense 查询:
) h  \0 n% h7 F% Y2 F! Y. k+ [/ Nhttps://productforums.google.com/forum/#!topic/adsense/dfPbvCNKM0U;context-place=forum/adsense0 h8 \" W% _  X9 q
7 @8 D7 c/ F! W$ W# f0 A% T- N1 D
网站从浏览器查看都没有问题, 就是在Chrome上从上面连接的页面中所含的http://www.beimeilife.com/beimeilife.com 打开就会出现
% N/ m- ^! l# D, }9 S! R, _
1 z; E" c7 z/ N5 R7 u7 |$ K# TThis webpage has a redirect loop
# ~0 Y2 l5 G; t: D+ q: N
/ Y: G/ a+ \% l* K: O才知道网站的服务器端设置有问题。一直调整,从.htaccess 到redirect loop 解决方法,以及调整DNS 设置。
: B1 j3 b; @1 P6 K/ c' W1 w6 j
熬了一天一夜都没有效果, 气馁,放弃!!
" D+ O! r* `8 K0 o. O/ Y% d; h" T$ \4 d- @+ ~' e' T, ?2 O
3 u( C) S; E4 I$ n

& F) [0 q2 g: j& P' m& W( s) i+ V& r6 Z% U& E
. {/ t5 Q; ^. d) K% Z, n% r: d3 U


转载请保留当前帖子的链接: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+ _! u- ]- k  P
! g$ o6 B$ X3 H
ads not showing on my website

5 A: I; I' ]: `% A' z. `Can anyone help me with this?
7 s5 Q) @. A- Z5 G. p( {0 B( ~; F/ t7 m) c/ Y5 o
I put it on the bottom of the webpage:
, n0 A- P5 y3 H! W, I' A& Q
% M5 |4 {* ?+ J7 s: [https://www.beimeilife.com/portal.php?mod=topic&topicid=32
9 u9 R% @: E, p/ A9 K: J$ @, Z3 r' K6 k
) I. M4 |+ h4 j
This webpage has a redirect loop
8 Z% a0 }9 P! ?, I[size=0.86em]ERR_TOO_MANY_REDIRECTS
. z+ q) p+ U. r3 Y9 J. U1 r* ^4 W& ~; y0 _+ L
+ M% E! H, U  k  h# O" f
Your website URL is:) B& [: m7 F4 k- n: K* U
3 f) W" J% i1 q# N- i# L# m4 p
https://beimeilife.com/portal.php not the URL you left., \! b4 X( R8 A  n& K9 R

, W& [  S+ J8 V$ bPlus, 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+ K1 v) I% c+ V  R

5 z8 {" v# O: `; c! I; E
# p3 f0 I, c1 q7 a$ f& g1 V
+ P7 u* i* l! t, KYour website URL is:5 {0 S' z4 \) e$ ]$ D/ |" N" |; C
+ F; J2 Q) K) X: \# P
https://beimeilife.com/portal.php not the URL you left.
( L/ C. z  ?/ S1 `, ~0 r& d/ K  {0 H! F# `! 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
. T/ g6 I- K% X9 n' X/ i" e1 b& e8 L. n
# \& S; B4 v* s2 N! l1 y' s! I7 R
7 x2 w, Q9 L8 D; n7 Y! s' E
Many Thanks for your prompt reply and help.3 H5 `0 u" t7 \
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.
/ j1 ~( k$ s! p+ N
- X* Q& v% [; }6 ~: q6 R# E! l) h6 i9 W
Gracey said:  4 X0 L3 I% i/ e
No, that's not quite what I mean.
: V6 ?) y( ^" ?4 t& GWhen you apply for Adsense you have to supply the URL of your website, right?
( s. o! K  W( ]! u# }3 H; P$ |& a0 `0 t0 U1 G+ ^7 r1 c& E
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/,
% X8 }2 o. C- l& {1 @
0 m2 x& G9 e  H1 f4 S( Z- lSo, 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?4 ?3 w8 m/ q$ p
' D# o( l8 `0 P" J7 ^
The URL I see is https://beimeilife.com/portal.php  <--- and that not the URL you told AdSense was the URL for your website.+ P% n  s. E( E3 O% |( j

, l% P2 M9 x& D* G( Z0 rYour website's URL has to be the page that loads. It can't be https://beimeilife.com/portal.php
4 ]% K0 g1 y+ ~; H: E/ y# c* T" }1 }; }
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.
( m7 ^3 H' K2 u$ H. @/ }0 e; ?& m. h
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.
1 _0 A3 J2 S6 m4 j5 s6 ~/ j
) d! [; Y. q5 K# n1 r- wWhen 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.
' Z5 s! i0 ^! X8 y0 f) v# `) h& \8 G
. H# |# e. \# w( P6 |4 X6 K4 g
2 Y  j4 O+ }4 I, [/ N9 _2 gI said:  ' p0 d, U- \7 b
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?
/ |" g9 ^1 c. z+ s& \) ^2 T$ h" ?) r! @6 [
This really drives me crazy now, need a rope on the neck. 6 \3 ]7 z6 t) X. [' @3 D' E+ D
* e5 x3 U) g4 T
I said:  
0 A2 h; w$ b. ]5 x  k- Jlet me try another site: http://www.google.com/url?q=http%3A%2F%2Fbackchina.com&sa=D&sntz=1&usg=AFQjCNHK0E04tph7fsKXs2MU0vT6r-m7TQ
7 N0 P5 [' y+ HI said:  4 d. G, ^: O0 Y3 x& r! F. A" P: U
no problem, that means something wrong with my site settings.
# O+ ~; M/ P1 y1 N  L. T/ F/ s3 A4 h' X: k% Z

. P1 i$ h% D1 C, y+ b* `$ Y$ ]! ?Gracey said:  + f- v% @6 J8 e3 p: m6 H* B: I
.htaccess is not how you fix that. You need to change the DNS settings., K- B, N: a7 h7 F/ t

0 r' z4 }: J5 r2 R( q
% s- U0 X4 j( U9 D! g
4 v+ B4 c: i, z# p6 d! [. q4 G5 b" ^% J3 j2 R% q7 b: {6 \, a
' _$ f/ E4 b5 S
3 O" [7 y: S" g, a. Q) G

6 n- z/ |, t* a% F
3 J* q0 J0 c# r% ?7 R
7 ^; I+ Z( u5 j: h; C2 }+ ]( I  W$ O( h5 u6 V& L
! C% M% x/ P' q7 f# @  I
1 o- _( X8 z8 y2 S1 f

9 h- Y* W3 u: T! P6 b( E, Z5 T4 j6 O4 w( @4 H$ p

" r2 ^5 F. s6 j8 D6 c. z
6 w# q3 h/ C4 I8 E7 D8 S: a/ |" f6 v6 D& D6 {

% ^& X( F* z4 H
# t' P( C$ J5 M  V
$ c8 w2 ~: V) K: c
2 q1 y. B( f. X0 T3 R; D. d. K% g5 a$ c) V0 G7 k
0 b' @8 l  a8 ]- L% n& v

4 X* `+ [& V% W& W1 k! f) \" u1 ~1 [1 J
发表于 2015-11-17 02:25 | 显示全部楼层
关于域名定向转换,这是一篇好文章:& l& f1 U' o0 z2 D1 [2 {/ z
) ]. A# y9 |/ n9 I0 f( c" n
http://blog.viewzhao.com/2014/06/page/23 i+ a4 f9 o: l  s
as well:/ ]3 n2 C; ]2 t5 W4 o& A' _6 y1 h
. \( f. D; ~8 Q1 N; e9 }
https://my.fastdomain.com/cgi/help/htaccess_redirect
9 k) E' J: _- G* X4 h* {& U# p( k0 h; W" J9 U
http://www.discuz.net/thread-2130491-1-1.html
. c9 S! |- s3 k1 @3 m" A5 W# S
发表于 2015-11-17 02:26 | 显示全部楼层
加强版 google和百度sitemap for discuzX2.0-X3.2$ f4 W5 Y0 y+ E. |: D' u+ x

5 f, C8 V$ @& X4 S' l' S0 e) _* i/ Ghttp://www.discuz.net/thread-2474942-1-1.html

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

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

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

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