Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Emre i look forward to new versiyon for css combine.
    Take it easy.

    Sorry esmi.
    But i know a little english and WP support forum in our language is useless in this case.
    i ‘ll try to be carefull about your warnings.
    Thanks.

    Hi Cartographer

    try to change this line
    RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
    with
    RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L]

    and have a look access and error log in your server.

    Hi cartographer .
    Maybe directions at the belove solve your problem.

    1) write this to your .htaccess file

    # BEGIN GzipWpFastestCache
    <IfModule mod_deflate.c>
    AddOutputFilterByType DEFLATE text/plain
    AddOutputFilterByType DEFLATE text/html
    AddOutputFilterByType DEFLATE text/xml
    AddOutputFilterByType DEFLATE text/css
    AddOutputFilterByType DEFLATE application/xml
    AddOutputFilterByType DEFLATE application/xhtml+xml
    AddOutputFilterByType DEFLATE application/rss+xml
    AddOutputFilterByType DEFLATE application/javascript
    AddOutputFilterByType DEFLATE application/x-javascript
    </IfModule>
    # END GzipWpFastestCache
    
    # BEGIN WpFastestCache
    <IfModule mod_rewrite.c>
    
    RewriteEngine On
    RewriteCond %{HTTPS} off
    RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
    
    RewriteBase /
    RewriteCond %{REQUEST_METHOD} !POST
    RewriteCond %{QUERY_STRING} !.*=.*
    RewriteCond %{HTTP:Cookie} !^.*(comment_author_|wordpress_logged_in|wp-postpass_).*$
    RewriteCond %{HTTP:X-Wap-Profile} !^[a-z0-9\"]+ [NC]
    RewriteCond %{HTTP:Profile} !^[a-z0-9\"]+ [NC]
    RewriteCond %{HTTPS} !on
    RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/all/$1/index.html -f
    RewriteRule ^(.*) "/wp-content/cache/all/$1/index.html" [L]
    
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WpFastestCache

    2) change checkInternal function with belowe code in css-utilites.php.

    public function checkInternal($link){
    			$contentUrl = str_replace(array("http://www.", "http://", "https://", "https://www."), "", content_url());
    			$httpHost = str_replace("www.", "", $_SERVER["HTTP_HOST"]);
    			if(preg_match("/href=[\"\'](.*?)[\"\']/", $link, $href)){
    				if(strpos($href[1], $httpHost)){
    					if(strpos($href[1], $contentUrl."/themes") || strpos($href[1], $contentUrl."/plugins"))
    					{
    						return $href[1];
    					}
    				}
    			}
    			return false;
    		}

    [Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]

    After this point i want to continue with turkish. make it easy.

    Emre programın çok güzel gerçekten. 7.8.8 sürümünü kullanıyorum ve css konusunda sıkıntıları vardı biraz. Css urleleri ve pathları ile ilgili sıkıntıları yeniden yazarak çözdüm. Ama asıl sorun css-utilities.php deki sıkıştırma işlevlerinin kullandığım versiyonda işe yaramaması. Bu son sürümde çözüldümü.Ayrıca bu sıkıştırlan css dosyalarını eğer <!– [if IE]–> gibi etiketler içinde değilse tek bir dosya halinde tutmak çok daha yararlı olacaktır.htaccess dosyasında yapılacak değişiklikler kullanıcların sistemine bağlı olduğu için, rewritebase gibi, yönetim panelinde bu tarz şeyleri parametrik olarak istemek yararlı olacaktır.
    Eline sağlık kolay gelsin.

    Thread Starter selimforever

    (@selimforever)

    Sorry i have just seen your repply.
    i think some html markups in the translated strings cause this error. And i remove all of them. Serilazed strings are stored in language post but couldnt be deserialized at frontpage or administrator panel.I solved the error deleting all azerbaijan translations and recreating them without html markups.
    Thanks for your repply.

Viewing 4 replies - 1 through 4 (of 4 total)