• 18-11-2013, 17:17:46
    #1
    Merhaba arkadaşlar forum sitemi başka bir hosta taşıdım.
    Ancak örneğin 3 sayfa olan konu 1. sayfadan 2. ve 3. sayfaya geçmiyor.
    Forumda Seo4smf EKLENTİSİ kurulu.

    Htaccess dosyası şu şekilde;

    ### burdan ###########
    
    #Simple .htaccess Cache Mod
    
    <IfModule mod_deflate.c>
    
       AddOutputFilterByType DEFLATE text/css
    
       AddOutputFilterByType DEFLATE text/javascript application/javascript application/x-javascript text/x-js text/ecmascript application/ecmascript text/vbscript text/fluffscript
    
       AddOutputFilterByType DEFLATE image/svg+xml application/x-font-ttf application/x-font font/opentype font/otf font/ttf application/x-font-truetype application/x-font-opentype application/vnd.ms-fontobject application/vnd.oasis.opendocument.formula-template
    
       AddOutputFilterByType DEFLATE text/xml application/xml
    
    </IfModule>
    
    <IfModule mod_expires.c>
    
    <FilesMatch ".(ico|gif|jpg|JPG|jpeg|png|PNG|swf|css|js|html?|xml|txt)$">
    
    ExpiresActive On
    
    ExpiresDefault "access plus 1 month"
    
    </FilesMatch>
    
    </IfModule>
    
    <ifModule mod_gzip.c>
    
      mod_gzip_on Yes
    
      mod_gzip_dechunk Yes
    
      mod_gzip_item_include file .(html?|txt|css|js|php|pl)$
    
      mod_gzip_item_include handler ^cgi-script$
    
      mod_gzip_item_include mime ^text/.*
    
      mod_gzip_item_include mime ^application/x-javascript.*
    
      mod_gzip_item_exclude mime ^image/.*
    
      mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
    
    </ifModule>
    
    #Simple .htaccess Cache Mod
    
    ### buraya kadar değişiklik yapmayın ###########
    
    
    
    RewriteEngine on
    
    
    
    #Some apache servers need Rewritebase.
    
    #delete # from start of Rewrite base to enable it.
    
    #If your forum is something like http://www.forum-example.com/forum then modify your 
    
    #RewriteBase in this way: RewriteBase /forum
    
    
    
    RewriteBase /
    
    
    
    #Archive/Sitemaps
    
    RewriteRule ^sitemaps-([a-zA-Z0-9-]*).html index.php?dummy=1&action=seo4smfsitemaps&sa=$1 [L]
    
    
    
    #Sitemaps
    
    RewriteRule ^sitemap.xml$ ./index.php?action=seo4smfsitemaps;xml
    
    
    
    #Seo4Smf Tag
    
    RewriteCond %{REQUEST_METHOD} =GET
    
    RewriteCond %{QUERY_STRING} ^action=seo4smftags;tagid=(.*)$
    
    RewriteRule  ^(.*)$ seo4smf-redirect.php?stid=%1 [R=301,L]
    
    
    
    RewriteCond %{QUERY_STRING} ^topic=([0-9]*)$
    
    RewriteRule  ^(.*)$ seo4smf-redirect.php?t=%1 [R=301,L]
    
    
    
    RewriteCond %{QUERY_STRING} ^topic=([0-9]*).([0-9]*)
    
    RewriteRule  ^(.*)$ seo4smf-redirect.php?t=%1 [R=301,L]
    
    
    
    RewriteCond %{QUERY_STRING} ^board=([0-9]*).([0-9]*)
    
    RewriteRule  ^(.*)$ seo4smf-redirect.php?b=%1 [R=301,L]
    
    
    
    #Rewrite Old urls
    
    RewriteRule  ^index.php/board,(.*).html seo4smf-redirect.php?b=$1 [R=301,L]
    
    RewriteRule  ^index.php/board,(.*).html;(.*) seo4smf-redirect.php?b=$1&o=$2 [R=301,L]
    
    
    
    RewriteRule  ^index.php/topic,(.*).html seo4smf-redirect.php?t=$1 [R=301,L]
    
    RewriteRule  ^index.php/topic,(.*).html;(.*) seo4smf-redirect.php?t=$1&o=$2 [R=301,L]
    
    
    
    #Bad Url's
    
    #RewriteCond %{REQUEST_URI} ^(.*).html$
    
    #RewriteCond %{REQUEST_URI} !^(.+)/(.*)-t([0-9]*).([0-9]*).html$
    
    #RewriteRule ^(.*)-t([0-9]*).([0-9]*).html seo4smf-redirect.php?t=$2 [R=301,L]
    
    
    
    RewriteRule  ^(.*)/-t(.*).html seo4smf-redirect.php?t=$2 [R=301,L]
    
    RewriteRule  ^-b(.*)/$ seo4smf-redirect.php?b=$1 [R=301,L]
    
    RewriteRule  ^-b(.*)/(.*)$ seo4smf-redirect.php?b=$1 [R=301,L]
    
    RewriteRule  ^(.*)/-b(.*)/$ seo4smf-redirect.php?b=$2 [R=301,L]
    
    
    
    #New board URL's
    
    RewriteRule ^(.*)-b([0-9]*).([0-9]*)/;(.*) index.php?dummy=1&board=$2.$3&$4 [L]
    
    RewriteRule ^(.*)-b([0-9]*).([0-9]*)/$ index.php?dummy=2&board=$2.$3 [L]
    
    RewriteRule ^(.*)-b([0-9]*).([0-9])$ index.php?dummy=2&board=$2.$3 [L]
    
    
    
    #New topic URL's
    
    RewriteRule ^(.*)-t([0-9]*).([0-9]*).html;((?:from|msg|new)[0-9]*);(.*)$ index.php?dummy=1&topic=$2.$4&$6 [L]
    
    RewriteRule ^(.*)-t([0-9]*).([0-9]*).html;((?:from|msg|new)[0-9]*) index.php?dummy=1&topic=$2.$4 [L]
    
    RewriteRule ^(.*)-t([0-9]*).([0-9]*).html;(.*)$ index.php?dummy=1&topic=$2.$3&$4 [L]
    
    RewriteRule ^(.*)-t([0-9]*).([0-9]*).html$ index.php?dummy=1&topic=$2.$3 [L]
    
    
    
    #Seo4Smf Tag
    
    RewriteRule ^(.*)-g([0-9]*).html$ index.php?dummy=1;action=seo4smftags;tagid=$2 [L]
    Yardımcı olacak arkadaşlara şimdiden teşekkür ederim.
  • 19-11-2013, 00:36:50
    #2
    QueryString.php dosyasını yenileyin sorun çözülecektir.