2 webmaster tools questions

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • RachelBlackG
    Elysium
    • Feb 2011
    • 1037

    #1

    Tech 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?
  • TitanWM
    Confirmed User
    • Dec 2015
    • 111

    #2
    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!

    Comment

    Working...