开启左侧

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

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

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

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

x
最近两天, 本顺手测试下Google Adsense 广告功能, 嗨!!却发现大问题了。( N* b/ C6 i+ G& Y% Z
/ u. r) j& q! q9 c( ?( S
先是将代码测试贴在一个专题页底部:https://www.beimeilife.com/portal.php?mod=topic&topicid=35
. ]% W9 \) G4 F) D/ q却不显示。0 \7 Y* K! I0 o

# b( o' E& V7 F3 O查询下,木有头绪, 所以自前天就给Google Adsense 查询:
" h% v6 X3 X& |/ u4 Z  w# Ihttps://productforums.google.com/forum/#!topic/adsense/dfPbvCNKM0U;context-place=forum/adsense
: z$ L0 k2 k* {: K/ y% ]( r; M  b' a8 T+ {& Q: N6 v: J- [
网站从浏览器查看都没有问题, 就是在Chrome上从上面连接的页面中所含的http://beimeilife.duckdns.org/beimeilife.com 打开就会出现
& x. ]' ^. s% E! q& P1 z
7 ]1 {+ M' [2 ]0 XThis webpage has a redirect loop
1 X& G9 x' ?, I! N% I
4 G( @3 E! O% \  f4 w+ f才知道网站的服务器端设置有问题。一直调整,从.htaccess 到redirect loop 解决方法,以及调整DNS 设置。
+ x4 `5 {( z8 U( ^( F) t7 v" @1 e: v) F* \8 j& C* \
熬了一天一夜都没有效果, 气馁,放弃!!, d$ J: K4 ]' m, F
/ r" b  s3 D! p  R

6 @) b/ m2 G2 C- C
/ G7 u5 Y% O% G$ j6 j+ r9 v5 e0 j& y: O2 d" @
3 {" n6 d) b. Y4 X6 B


转载请保留当前帖子的链接: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
, y" \( A# I5 b& k: ?: s
' m& Y% D- h( F6 p; `ads not showing on my website
4 J1 `3 g' j3 A1 Q6 s7 L) W
Can anyone help me with this?
  D9 W8 l3 G. |, Y% d/ |1 b% ^9 v) l6 H" N  V% N; V( h
I put it on the bottom of the webpage:
: @; w: o& m: \( P6 P
' p2 t( a. [  ~$ o* jhttps://www.beimeilife.com/portal.php?mod=topic&topicid=32: \5 i5 C/ }' k9 e& s
/ d, u) p+ `2 H+ g

4 T) j1 T: m7 c8 wThis webpage has a redirect loop, a- B. i+ b9 e* b2 {/ O: S7 e* S
[size=0.86em]ERR_TOO_MANY_REDIRECTS. C& v: q, g8 G' f$ Z; k

( d% q5 i1 f' s5 T$ J9 O9 O# z; r  r7 t! U( e+ {. L
Your website URL is:- P" u% Q& C& T1 ?) H

3 ~( i+ c; G: {: \) Thttps://beimeilife.com/portal.php not the URL you left.
: z& z) A# |# E# I. o1 Z9 U
2 I) [* S# B7 J6 a7 O4 v- Q- KPlus, 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 W& w( Q. c7 Z( ~7 R% h* v  m8 L' h8 Y  H' F5 X
6 ~5 c8 k) [6 Z6 f& ]7 G+ l' {

2 ]$ j5 g. I  x2 H) M8 j9 ZYour website URL is:' @0 I: }) n  V2 D' Q
6 }3 w+ K, e/ U, Q  h1 R1 t% @$ q
https://beimeilife.com/portal.php not the URL you left.
8 l) w+ O5 e: Q
) O0 v& U; J" EPlus, 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
8 y( V5 G* I) N  S
/ T* ]1 N; O/ f. ~. \  |# a! G/ |/ |% n: S

$ l0 n0 o" I/ Z0 I9 tMany Thanks for your prompt reply and help.
; A: s+ M% o% v. x5 y0 h* h  B  myou 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.
5 l; K, x8 b: E! x% ?; H: P+ ~) p) O6 i
! R2 B1 M( m; ?( y" c+ ^! q( }( H6 _; @2 u8 w7 ?3 s
Gracey said:  
! y7 c* S, r0 N* p: GNo, that's not quite what I mean.2 D4 B" o. w" A: e/ j7 I
When you apply for Adsense you have to supply the URL of your website, right?, R3 Z- _0 m9 s8 ?4 `
) o- G# i4 k' d/ j$ E$ Q0 u
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/,1 F) U$ {& G0 r9 F
- |4 r; Z, Q* Q
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?2 X9 P) v. R# o& y) x% V. |3 y1 u2 R

2 s: C4 E1 C- y8 Y5 A0 \: E: M7 PThe URL I see is https://beimeilife.com/portal.php  <--- and that not the URL you told AdSense was the URL for your website.
# m( s, P6 B" @
/ j2 Q, p# P& a0 T5 KYour website's URL has to be the page that loads. It can't be https://beimeilife.com/portal.php
6 p1 L1 R+ ~: u3 x! {) R0 O$ x: I& x
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.5 l9 @0 ~5 X2 T3 P& x8 ]# Y/ R0 j( w3 c

* c1 Z4 g. i1 S* l- cYou 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.% n4 z8 q# m2 J

* ~9 F4 H. V0 g5 b+ ?$ GWhen 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.
# _2 v7 {0 d9 g8 A  U3 k, ]* e" i! E' {5 l1 O) W+ T/ w4 d

: Q5 j5 Q% y8 S6 f" p9 _I said:  % N6 E4 G* q% l1 k
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?4 j1 K9 N! S3 w/ D4 ^
! s( M- d$ a0 x0 e7 }
This really drives me crazy now, need a rope on the neck. / X/ P7 [& \' `' }2 E

' m3 z" L; Z! f4 ZI said:  
! n2 F6 ^0 Y& Z& ^8 J, _0 k2 Ulet me try another site: http://www.google.com/url?q=http%3A%2F%2Fbackchina.com&sa=D&sntz=1&usg=AFQjCNHK0E04tph7fsKXs2MU0vT6r-m7TQ9 m, K1 j" C, N$ f; Z* w3 [- _0 @
I said:  
3 p6 t  k$ F  U3 Hno problem, that means something wrong with my site settings.
% A& y, B' u. Z& x: c) @3 _& n3 R2 h
# d3 l1 ]! E  U0 b* H  W/ W/ U+ t0 ^, x
Gracey said:  
! K3 }( {5 {3 s- w1 d; e5 Y.htaccess is not how you fix that. You need to change the DNS settings.
  o' A9 ]$ ]) Z7 d2 u5 |( ~+ L6 ?4 W9 f: N- v
# u' d: b4 s; e4 m2 C$ O

+ A/ \* K% t- {9 }
5 x1 v# h; p3 ~1 t+ c+ w6 u
+ R+ s! p  n; _
) S9 t  I: c$ Q9 P) X4 }# L# G4 l! Z( h! ?; S/ I
+ U; @/ U, l1 v/ J3 O' s- T
9 D. o- A+ r. k) Q( c, H

0 a4 `, @* l2 i) q9 e: P1 @+ y0 h& }) y/ c
7 H9 e# H9 L0 ?) g; P! Q, D
( S3 [. N0 @- h& h# h& R
8 P; n6 p  l; t! J+ c- o' b
0 ]/ P/ W& |3 R% t3 o0 P# j' d# r

2 Z' f$ m" y" [$ X  G$ o$ b* _! g2 b# N, L$ I3 K! l9 W1 N
6 o* K+ p8 E1 |

+ R$ e9 E9 x# h& h
' }6 F% L5 h: a) }3 x8 L: H
3 ?! k9 I8 w- X4 \
5 R/ q3 j: F6 i6 w, ?0 \$ ~. y. J0 m2 d  k3 D  E
8 B+ o4 G, Q3 ~: f
板凳
发表于 2015-11-17 02:25 | 只看该作者
关于域名定向转换,这是一篇好文章:2 E* w  _( k9 a, w, h) r
( s2 Y$ ]  w, c3 M0 p9 `
http://blog.viewzhao.com/2014/06/page/2: {' u5 {1 e& t8 K& f
as well:
0 \% {& H: k+ l. N! g* v$ }& @
* ~& X8 h) H( D) G3 V% Vhttps://my.fastdomain.com/cgi/help/htaccess_redirect8 O) k. V1 m8 z& ~
. o) Y' b  _3 X: K; s- ?5 r7 f9 G
http://www.discuz.net/thread-2130491-1-1.html
2 y. V0 Q5 q% h9 A# Y, h! h; f0 [
地板
发表于 2015-11-17 02:26 | 只看该作者
加强版 google和百度sitemap for discuzX2.0-X3.2- q" B% w- `5 V
3 C1 a4 g. W8 b! y" v9 {' j
http://www.discuz.net/thread-2474942-1-1.html

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

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

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

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