![]() |
![]() |
![]() |
||||
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. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Elysium
Industry Role:
Join Date: Feb 2011
Location: Prague
Posts: 1,037
|
![]() 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 (/) --> 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> 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? ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
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! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() ![]() |
|||||||
|
|||||||
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 |