Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 11-06-2016, 02:24 PM   #1
RachelBlackG
Elysium
 
RachelBlackG's Avatar
 
Industry Role:
Join Date: Feb 2011
Location: Prague
Posts: 1,037
:mad 2 webmaster tools questions

I'm currently trying to solve some issues I found on my blog, but I can't find solution.

1) Webmaster Tools via robots.txt says:

Code:
<!-- permalink_structure ends with slash (/) but REQUEST_URI does not end with slash (/) -->
I have my permalink structure set in WP as "Post name" and my htaccess rewrite:

Code:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^www.site.com [NC]
RewriteRule ^(.*)$ http\:\/\/site\.com\/$1 [R=301,L]

# Start WPFC Exclude
# End WPFC Exclude

RewriteCond %{HTTP_USER_AGENT} !(facebookexternalhit|WhatsApp|Mediatoolkitbot)
RewriteCond %{REQUEST_METHOD} !POST
RewriteCond %{HTTPS} !=on
RewriteCond %{REQUEST_URI} !(\/){2}$
RewriteCond %{REQUEST_URI} \/$
RewriteCond %{QUERY_STRING} !.+
RewriteCond %{HTTP:Profile} !^[a-z0-9\"]+ [NC]
RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/all/$1/index.html -f [or]
RewriteCond /usr/www/virtual/server/www.site.com/wp-content/cache/all/$1/index.html -f
RewriteRule ^(.*) "/wp-content/cache/all/$1/index.html" [L]
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
Is there anything wrong in my htacces? It was all set by plugins.

2) Webmaster Tools report that it can't find my pages and this number increases and increases, but those pages are urls from my other website. How to fix it?
RachelBlackG is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-06-2016, 04:22 PM   #2
TitanWM
Confirmed User
 
TitanWM's Avatar
 
Industry Role:
Join Date: Dec 2015
Posts: 111
I dont use WP. You have possibilities to influence the permalink structure like:
/permalink/
or
/permalink

Maybe: RewriteRule ^(.*)$ http\:\/\/site\.com\/$1\/ [R=301,L]
__________________
CamSoda invite link - promote an unsatisfied cam site!
TitanWM is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks

Tags
rewritecond, rewriterule, [l], tools, webmaster, pages, %request_filename, exclude, wpfc, increases, set, [nc], rewritebase, %request_uri, rewriteengine, post, [or], ^index.php$, /index.php, urls, website, crap, fix, ^[a-z0-9]+, htacces



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.