Results 1 to 2 of 2
Thread: Google wp-content/uploads/
Hybrid View
-
13th May 2018 15:38 #1Registered User
Join Date: Jan:2018
Location: Sofia
Posts: 11
Google wp-content/uploads/
,
wp-content/uploads/ wordpress search console , ! , .
?
robot.txt ... , !
.htaccess ..
robot.txt :
User-agent:*
Disallow:/wp-content/
Allow:/wp-content/uploads/
Allow:/wp-content/plugins/yourplugin/*.js
Allow: /wp-content/plugins/yourplugin/*.css
.htaccess :
<Files ~ "\.(css|js)";>
Header set X-Robots-Tag "noindex"
</Files>
..
-
11th June 2018 14:54 #2Registered User
Join Date: Jun:2018
Location:
Posts: 1
.htaccess :
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
- https://codex.wordpress.org/htaccess
- http://www.wpbeginner.com/wp-tutoria...ing-wordpress/




Reply With Quote
Lenovo ThinkPad 15 IdeaPad 15
5th May 2023, 22:16 in