• 10-05-2016, 17:59:26
    #1
    Merhaba,

    Opencart web siteme eklediğim ürünlerin linki seo uyumlu olmuyor. Ayarlar bölümünden seo link yapısını aktif yaptım. Sunucuda da gerekli eklentiler kurulu ama linkler seo uyumlu olmuyor. Ücretli veya ücretsiz yardımcı olabilecek olursa memnun olurum.
  • 10-05-2016, 18:03:10
    #2
    Manuel linki yazmanız gerekir. Yazıyormusunuz seo url detayını peki


    Sent from my iPhone using Tapatalk
  • 10-05-2016, 18:14:36
    #3
    Montana adlı üyeden alıntı: mesajı görüntüle
    Manuel linki yazmanız gerekir. Yazıyormusunuz seo url detayını peki


    Sent from my iPhone using Tapatalk
    Merhaba,

    Manuel yazdığımda ürünün içine girmiyor.
  • 10-05-2016, 18:17:19
    #4
    onurozmen adlı üyeden alıntı: mesajı görüntüle
    Merhaba,

    Manuel yazdığımda ürünün içine girmiyor.
    opencartın kurulu olduğu anadizine .htaccess dosyası olmalı (Bazı ftp programlarında gizli olabilir) o dosyanın içeriğini burada paylaşırmısın.

    Ayrıca sadece ürün sayfalarında mı bu sorunu yaşıyorsun yoksa sabit sayfalarda da bu problem varmı?
  • 10-05-2016, 18:22:07
    #5
    Montana adlı üyeden alıntı: mesajı görüntüle
    opencartın kurulu olduğu anadizine .htaccess dosyası olmalı (Bazı ftp programlarında gizli olabilir) o dosyanın içeriğini burada paylaşırmısın.

    Ayrıca sadece ürün sayfalarında mı bu sorunu yaşıyorsun yoksa sabit sayfalarda da bu problem varmı?
    Hiçbir sayfa, ürün seo yapısı linkte değil. Manuel olarak link yazdığımda ise kategoriler ve ürünlere giriş yapamıyorum. Ayrıca sayfalarada girmiyor. htaccess dosya içeriği aşağıdaki gibi;

    DirectoryIndex index.html index.php

    <IfModule mod_deflate.c>
    # Compress HTML, CSS, JavaScript, Text, XML, fonts
    AddOutputFilterByType DEFLATE application/javascript application/x-javascript text/javascript application/json
    AddOutputFilterByType DEFLATE application/x-font application/x-font-opentype application/x-font-otf application/x-font-truetype application/x-font-ttf font/opentype font/otf font/ttf application/x-woff application/x-font-woff
    AddOutputFilterByType DEFLATE text/css text/html text/plain

    <IfModule mod_headers.c>
    # Remove browser bugs (only needed for really old browsers)
    BrowserMatch ^Mozilla/4 gzip-only-text/html
    BrowserMatch ^Mozilla/4\.0[678] no-gzip
    BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
    Header append Vary User-Agent
    </IfModule>
    </IfModule>

    <IfModule mod_headers.c>
    <FilesMatch "\.(ttf|ttc|otf|eot|woff|css|png|gif|ico|jpe?g )$">
    Header set Access-Control-Allow-Origin "*"
    </FilesMatch>
    </IfModule>

    # Cache all images for 2 weeks
    <IfModule mod_expires.c>
    <FilesMatch "\.(jpg|jpeg|png|gif|tiff|bmp|js|css)$">
    ExpiresActive on
    ExpiresDefault "access plus 2 weeks"
    </FilesMatch>
    </IfModule>

    <IfModule mod_headers.c>
    <filesMatch "\.(gif|png|jpg|jpeg|ico|js|css)$">
    Header set Cache-Control "max-age=1209600"
    </filesMatch>
    </IfModule>

    <IfModule mod_rewrite.c>
    RewriteEngine on
    # Please note that RewriteBase setting is obsolete use it only in case you experience some problems with SEO addon.
    # Some hostings require RewriteBase to be uncommented
    # Example:
    # Your store url is http://www.yourcompany.com/store/cart
    # So "RewriteBase" should be:
    # RewriteBase /store/cart
    # RewriteBase /
    Options -MultiViews

    RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

    RewriteCond %{REQUEST_URI} ^api/(.*)$ [or]
    RewriteCond %{REQUEST_URI} .*/api/(.*)$
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule .*api/(.*)$ api.php?_d=$1 [L,QSA]

    RewriteCond %{REQUEST_URI} \.(png|gif|ico|swf|jpe?g|js|css|ttf|svg|eot|woff|y ml|xml)$ [or]
    RewriteCond %{REQUEST_URI} store_closed.html$
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*?)\/(.*)$ $2 [L]

    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . index.php [L,QSA]

    </IfModule>

    # This prevents possible problems when downloading files
    <IfModule mod_php5.c>
    php_flag zlib.output_compression Off
    </IfModule>
  • 10-05-2016, 18:27:21
    #6
    onurozmen adlı üyeden alıntı: mesajı görüntüle
    Hiçbir sayfa, ürün seo yapısı linkte değil. Manuel olarak link yazdığımda ise kategoriler ve ürünlere giriş yapamıyorum. Ayrıca sayfalarada girmiyor. htaccess dosya içeriği aşağıdaki gibi;

    DirectoryIndex index.html index.php

    <IfModule mod_deflate.c>
    # Compress HTML, CSS, JavaScript, Text, XML, fonts
    AddOutputFilterByType DEFLATE application/javascript application/x-javascript text/javascript application/json
    AddOutputFilterByType DEFLATE application/x-font application/x-font-opentype application/x-font-otf application/x-font-truetype application/x-font-ttf font/opentype font/otf font/ttf application/x-woff application/x-font-woff
    AddOutputFilterByType DEFLATE text/css text/html text/plain

    <IfModule mod_headers.c>
    # Remove browser bugs (only needed for really old browsers)
    BrowserMatch ^Mozilla/4 gzip-only-text/html
    BrowserMatch ^Mozilla/4\.0[678] no-gzip
    BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
    Header append Vary User-Agent
    </IfModule>
    </IfModule>

    <IfModule mod_headers.c>
    <FilesMatch "\.(ttf|ttc|otf|eot|woff|css|png|gif|ico|jpe?g )$">
    Header set Access-Control-Allow-Origin "*"
    </FilesMatch>
    </IfModule>

    # Cache all images for 2 weeks
    <IfModule mod_expires.c>
    <FilesMatch "\.(jpg|jpeg|png|gif|tiff|bmp|js|css)$">
    ExpiresActive on
    ExpiresDefault "access plus 2 weeks"
    </FilesMatch>
    </IfModule>

    <IfModule mod_headers.c>
    <filesMatch "\.(gif|png|jpg|jpeg|ico|js|css)$">
    Header set Cache-Control "max-age=1209600"
    </filesMatch>
    </IfModule>

    <IfModule mod_rewrite.c>
    RewriteEngine on
    # Please note that RewriteBase setting is obsolete use it only in case you experience some problems with SEO addon.
    # Some hostings require RewriteBase to be uncommented
    # Example:
    # Your store url is http://www.yourcompany.com/store/cart
    # So "RewriteBase" should be:
    # RewriteBase /store/cart
    # RewriteBase /
    Options -MultiViews

    RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

    RewriteCond %{REQUEST_URI} ^api/(.*)$ [or]
    RewriteCond %{REQUEST_URI} .*/api/(.*)$
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule .*api/(.*)$ api.php?_d=$1 [L,QSA]

    RewriteCond %{REQUEST_URI} \.(png|gif|ico|swf|jpe?g|js|css|ttf|svg|eot|woff|y ml|xml)$ [or]
    RewriteCond %{REQUEST_URI} store_closed.html$
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*?)\/(.*)$ $2 [L]

    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . index.php [L,QSA]

    </IfModule>

    # This prevents possible problems when downloading files
    <IfModule mod_php5.c>
    php_flag zlib.output_compression Off
    </IfModule>

    Mutlaka Yedek Alın.

    Kullandığın opencart default mu yoksa geliştirmeler varmı, versiyonu ne bilmiyorum. Aşağıdaki kod içeriği benim kullandığım opencarta ait 1.5.6 htaccess içeriği. Orjinal dosyanın yedeğini alıp aşağıdaki htaccess içeriğini denermisin bakalım nasıl bir sonuç olacak.
    problemin htaccess kaynaklı olabilir düşüncesindeyim.

    # 1.To use URL Alias you need to be running apache with mod_rewrite enabled. 
    
    # 2. In your opencart directory rename htaccess.txt to .htaccess.
    
    # For any support issues please visit: http://www.opencart.com
    
    Options +FollowSymlinks
    
    # Prevent Directoy listing 
    Options -Indexes
    
    # Prevent Direct Access to files
    <FilesMatch "\.(tpl|ini|log)">
     Order deny,allow
     Deny from all
    </FilesMatch>
    
    # SEO URL Settings
    RewriteEngine On
    # If your opencart installation does not run on the main web folder make sure you folder it does run in ie. / becomes /shop/ 
    
    RewriteBase /
    RewriteRule ^sitemap.xml$ index.php?route=feed/google_sitemap [L]
    RewriteRule ^googlebase.xml$ index.php?route=feed/google_base [L]
    RewriteRule ^download/(.*) /index.php?route=error/not_found [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_URI} !.*\.(ico|gif|jpg|jpeg|png|js|css)
    RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]
    
    ### Additional Settings that may need to be enabled for some servers 
    ### Uncomment the commands by removing the # sign in front of it.
    ### If you get an "Internal Server Error 500" after enabling any of the following settings, restore the # as this means your host doesn't allow that.
    
    # 1. If your cart only allows you to add one item at a time, it is possible register_globals is on. This may work to disable it:
    # php_flag register_globals off
    
    # 2. If your cart has magic quotes enabled, This may work to disable it:
    # php_flag magic_quotes_gpc Off
    
    # 3. Set max upload file size. Most hosts will limit this and not allow it to be overridden but you can try
    # php_value upload_max_filesize 999M
    
    # 4. set max post size. uncomment this line if you have a lot of product options or are getting errors where forms are not saving all fields
    # php_value post_max_size 999M
    
    # 5. set max time script can take. uncomment this line if you have a lot of product options or are getting errors where forms are not saving all fields
    # php_value max_execution_time 200
    
    # 6. set max time for input to be recieved. Uncomment this line if you have a lot of product options or are getting errors where forms are not saving all fields
    # php_value max_input_time 200
    
    # 7. disable open_basedir limitations
    # php_admin_value open_basedir none
  • 10-05-2016, 18:33:36
    #7
    Montana adlı üyeden alıntı: mesajı görüntüle
    Mutlaka Yedek Alın.

    Kullandığın opencart default mu yoksa geliştirmeler varmı, versiyonu ne bilmiyorum. Aşağıdaki kod içeriği benim kullandığım opencarta ait 1.5.6 htaccess içeriği. Orjinal dosyanın yedeğini alıp aşağıdaki htaccess içeriğini denermisin bakalım nasıl bir sonuç olacak.
    problemin htaccess kaynaklı olabilir düşüncesindeyim.

    # 1.To use URL Alias you need to be running apache with mod_rewrite enabled. 
    
    # 2. In your opencart directory rename htaccess.txt to .htaccess.
    
    # For any support issues please visit: http://www.opencart.com
    
    Options +FollowSymlinks
    
    # Prevent Directoy listing 
    Options -Indexes
    
    # Prevent Direct Access to files
    <FilesMatch "\.(tpl|ini|log)">
     Order deny,allow
     Deny from all
    </FilesMatch>
    
    # SEO URL Settings
    RewriteEngine On
    # If your opencart installation does not run on the main web folder make sure you folder it does run in ie. / becomes /shop/ 
    
    RewriteBase /
    RewriteRule ^sitemap.xml$ index.php?route=feed/google_sitemap [L]
    RewriteRule ^googlebase.xml$ index.php?route=feed/google_base [L]
    RewriteRule ^download/(.*) /index.php?route=error/not_found [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_URI} !.*\.(ico|gif|jpg|jpeg|png|js|css)
    RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]
    
    ### Additional Settings that may need to be enabled for some servers 
    ### Uncomment the commands by removing the # sign in front of it.
    ### If you get an "Internal Server Error 500" after enabling any of the following settings, restore the # as this means your host doesn't allow that.
    
    # 1. If your cart only allows you to add one item at a time, it is possible register_globals is on. This may work to disable it:
    # php_flag register_globals off
    
    # 2. If your cart has magic quotes enabled, This may work to disable it:
    # php_flag magic_quotes_gpc Off
    
    # 3. Set max upload file size. Most hosts will limit this and not allow it to be overridden but you can try
    # php_value upload_max_filesize 999M
    
    # 4. set max post size. uncomment this line if you have a lot of product options or are getting errors where forms are not saving all fields
    # php_value post_max_size 999M
    
    # 5. set max time script can take. uncomment this line if you have a lot of product options or are getting errors where forms are not saving all fields
    # php_value max_execution_time 200
    
    # 6. set max time for input to be recieved. Uncomment this line if you have a lot of product options or are getting errors where forms are not saving all fields
    # php_value max_input_time 200
    
    # 7. disable open_basedir limitations
    # php_admin_value open_basedir none
    htaccess dosyasını gönderdiğiniz şekilde değiştirdim. Ama link yapısı değişmedi. Kullandığım tema default olarak bulunan tema. Opencart son sürüm kurulu.
  • 10-05-2016, 18:42:22
    #8
    Bulunduğunuz host-sunucu linux işletim sistemli değil mi ?
  • 10-05-2016, 18:54:17
    #9
    Montana adlı üyeden alıntı: mesajı görüntüle
    Bulunduğunuz host-sunucu linux işletim sistemli değil mi ?
    Evet linux sunucu