English 中文(简体)
E107 改用Facebook剪贴簿错误
原标题:E107 redirect facebook scraping error

以下是我的.httaccess文件:

RewriteCond %{REQUEST_METHOD} POST
RewriteCond %{REQUEST_URI} !^/?(usersettings.php|page.php|news.php|signup.php|admin/|plugins/forum/|plugins/.*/.*config.php)
RewriteCond %{HTTP_REFERER} !^http://(.*.)?lf1medsoc.com [NC]
RewriteRule .* - [F,L]

# 2. Redirect all access to the following user agents and files
RewriteCond %{HTTP_USER_AGENT} ^Mozilla/4.76 [ru] (X11; U; SunOS 5.7 sun4u) [OR]
RewriteCond %{HTTP_USER_AGENT} ^Mozilla/5.0$ [OR]
RewriteCond %{HTTP_USER_AGENT} (Bot Search|kangen|CaSpEr|MaMa|crew|plaNETWORK|dex|perl post$) [NC,OR]
RewriteCond %{REQUEST_URI} (contact.php|help_us.php|forum_index.php|crossdomain.xml|.htaccess)
RewriteRule .* http://%{REMOTE_ADDR}/ [R,L]

# 3. Deny access to requests with contact.php or help_us.php in the query
# string, UNLESS those are referred from our own site (e.g. search)
RewriteCond %{QUERY_STRING} (contact.php|request.phphelp_us.php|casper)
RewriteCond %{HTTP_REFERER} !^http://(.*.)?lf1medsoc.com [NC]
RewriteRule .* - [F,L]

# 4. Redirect empty user agent, UNLESS it s accessing the RSS feed
RewriteCond %{HTTP_USER_AGENT} ^$ 
RewriteCond %{REQUEST_URI} !^/?e107_plugins/rss_menu/rss.php
RewriteRule .* http://%{REMOTE_ADDR}/ [R,L]

# 5. Deny access to these files UNLESS referred from our site.
RewriteCond %{REQUEST_URI} ^/?(top|download|user|search|submitnews|fpw).php
RewriteCond %{HTTP_REFERER} !^http://(.*.)?lf1medsoc.com [NC]
RewriteRule .* - [F]

http://www.lf1medsoc.com/page.php?19” rel=“nofollow”>http://www.lf1medsoc.com/page.php?19 (可公开查阅,不需要登录)

(HWORLE 结果页 )

Scrape 信息

Response Code: 200 Fetched URL: http://www.lf1medsoc.com/page.php?19 Canonical URL: http://www.lf1medsoc.com/ Final URL: http://www.lf1medsoc.com/page.php?2 Errors That Must Be Fixed

圆形重定向路径: 检测到圆形重定向路径( 详情请见 矩形路径 一节 )。

中转路径

original: http://www.lf1medsoc.com/page.php?19 og:url: http://www.lf1medsoc.com/ 302: http://www.lf1medsoc.com/page.php?2 og:url: http://www.lf1medsoc.com/ Final URL is in bold (this is the URL we tried to extract metadata from). URLs that are part of the circular redirect path are highlighted.

Am i missing something in the htaccess? Is there a way to add the facebook useragent to be allowed to acce

注: page.php?2 是主页( 从 lif1 medsoc.com - & gt; index.php - & gt; page.php? 2 )

最佳回答

http://www.lf1medsoc.com/page.php?2 指向http://www.lf1medsoc.com/

改为http://www.lf1medsoc.com/page.php?2

问题回答

暂无回答




相关问题
Facebook Connect login dialog not working

I am using Facebook Connect for iPhone and following the official instructions. I use the following code to display the login dialog: FBLoginDialog* dialog = [[[FBLoginDialog alloc] initWithSession:...

Facebook App Profile Tab is Empty ... No Content Displayed?

I can view my application via the http://apps.facebook.com/myapplication/ link and the content shows up correctly. I also added the application as a tab to a facebook page. However, when viewing the ...

Facebook Platform error: "Object cannot be liked"

I m working on a Facebook Application that generates wall posts. In testing these posts, I ve discovered that the Facebook Platform action of "liking" a post is failing. The specific error message ...

how to call showPermissionsDialog() in php (facebook api)?

I was reading over the documentation yet I could not figure out how to call Facebook.showPermissionsDialog() in php include_once ./facebook-platform/php/facebook.php ; $facebook = new Facebook(my ...

Facebook connect

If I plug in the facebook connect into my website, How can I prevent double signups? Lets say I have a user that s already signed up to my site but he clicked the connect with facebook, is there a ...

热门标签