webconfig seo url - R10.net
  • 20-06-2019, 11:13:22
    #1
    merhaba,
    htaccess için hazırlanmış kodlar windowsda çalışmadığı için aynı komutları webconfigde yapılması gerekiyor komutlar bunlar, ücretli ya da ücretsiz yardımcı olabilecek var mı?
    RewriteEngine on
    
    
    
    
    
    RewriteRule ^galeri$ galeri.php [NC,L]
    
    
    RewriteRule ^gallery$ gallery.php [NC,L]
    
    
    
    
    RewriteRule ^iletisim$ iletisim.php [NC,L]
    
    
    
    RewriteRule ^contact$ contact.php [NC,L]
    
    
    
    RewriteRule ^blog$ blog.php [NC,L]
    
    
    
    RewriteRule ^blog-en$ blog-en.php [NC,L]
    
    
    
    
    
    RewriteRule ^sitemap.xml$ sitemap.php [NC,L]
    
    
    
    
    
    RewriteRule ^blog-detay/([0-9a-zA-Z-_]+)/([0-9]+)$ blog-detay.php?sef=$1&id=$2 [L,QSA]
    
    
    
    RewriteRule ^blog-detail/([0-9a-zA-Z-_]+)/([0-9]+)$ blog-detay-en.php?sef=$1&id=$2 [L,QSA]
    
    
    
    RewriteRule ^([0-9a-zA-Z-_]+)-([0-9]+)$ sayfa-detay.php?sef=$1&id=$2 [L,QSA]
    
    
    
    RewriteRule ^kategori/([0-9a-zA-Z-_]+)/([0-9]+)$ kategori.php?sef=$1&id=$2 [L,QSA]
    
    
    
    RewriteRule ^category/([0-9a-zA-Z-_]+)/([0-9]+)$ category.php?sef=$1&id=$2 [L,QSA]
    
    
    
    RewriteRule ^sayfa/([0-9a-zA-Z-_]+)/([0-9]+)$ sayfa.php?sef=$1&id=$2 [L,QSA]
    
    
    
    RewriteRule ^page/([0-9a-zA-Z-_]+)/([0-9]+)$ page.php?sef=$1&id=$2 [L,QSA]
  • 20-06-2019, 11:17:38
    #2
    Hocam aşağıda ki kod web.config olarak kaydedip dener misinizi?


    <?xml version="1.0" encoding="UTF-8"?>
    <configuration>
    <system.webServer>
    <rewrite>
    <rules>
    <rule name="Imported Rule 1" stopProcessing="true">
    <match url="^(.*)$" ignoreCase="false" />
    <conditions logicalGrouping="MatchAll">
    <add input="{HTTPS}" pattern="off" ignoreCase="false" />
    </conditions>
    <action type="Redirect" url="https://{HTTP_HOST}{URL}" redirectType="Permanent" />
    </rule>
    <rule name="Imported Rule 2" stopProcessing="true">
    <match url="^admin/(.*)?$" />
    <conditions logicalGrouping="MatchAll">
    <add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" />
    <add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" />
    </conditions>
    <action type="Rewrite" url="admin/index.php?a={R:1}" appendQueryString="true" />
    </rule>
    <rule name="Imported Rule 3">
    <match url="^sitemap.xml$" ignoreCase="false" />
    <action type="Rewrite" url="sitemap.php" />
    </rule>
    <rule name="Imported Rule 4" stopProcessing="true">
    <match url="^(.*)?$" />
    <conditions logicalGrouping="MatchAll">
    <add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" />
    <add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" />
    </conditions>
    <action type="Rewrite" url="index.php?a={R:1}" appendQueryString="true" />
    </rule>
    <rule name="Imported Rule 1-1" stopProcessing="true">
    <match url="^galeri$" />
    <action type="Rewrite" url="galeri.php" />
    </rule>
    <rule name="Imported Rule 2-1" stopProcessing="true">
    <match url="^gallery$" />
    <action type="Rewrite" url="gallery.php" />
    </rule>
    <rule name="Imported Rule 3-1" stopProcessing="true">
    <match url="^iletisim$" />
    <action type="Rewrite" url="iletisim.php" />
    </rule>
    <rule name="Imported Rule 4-1" stopProcessing="true">
    <match url="^contact$" />
    <action type="Rewrite" url="contact.php" />
    </rule>
    <rule name="Imported Rule 5" stopProcessing="true">
    <match url="^blog$" />
    <action type="Rewrite" url="blog.php" />
    </rule>
    <rule name="Imported Rule 6" stopProcessing="true">
    <match url="^blog-en$" />
    <action type="Rewrite" url="blog-en.php" />
    </rule>
    <rule name="Imported Rule 7" stopProcessing="true">
    <match url="^sitemap.xml$" />
    <action type="Rewrite" url="sitemap.php" />
    </rule>
    <rule name="Imported Rule 8" stopProcessing="true">
    <match url="^blog-detay/([0-9a-zA-Z-_]+)/([0-9]+)$" ignoreCase="false" />
    <action type="Rewrite" url="blog-detay.php?sef={R:1}&amp;id={R:2}" appendQueryString="true" />
    </rule>
    <rule name="Imported Rule 9" stopProcessing="true">
    <match url="^blog-detail/([0-9a-zA-Z-_]+)/([0-9]+)$" ignoreCase="false" />
    <action type="Rewrite" url="blog-detay-en.php?sef={R:1}&amp;id={R:2}" appendQueryString="true" />
    </rule>
    <rule name="Imported Rule 10" stopProcessing="true">
    <match url="^([0-9a-zA-Z-_]+)-([0-9]+)$" ignoreCase="false" />
    <action type="Rewrite" url="sayfa-detay.php?sef={R:1}&amp;id={R:2}" appendQueryString="true" />
    </rule>
    <rule name="Imported Rule 11" stopProcessing="true">
    <match url="^kategori/([0-9a-zA-Z-_]+)/([0-9]+)$" ignoreCase="false" />
    <action type="Rewrite" url="kategori.php?sef={R:1}&amp;id={R:2}" appendQueryString="true" />
    </rule>
    <rule name="Imported Rule 12" stopProcessing="true">
    <match url="^category/([0-9a-zA-Z-_]+)/([0-9]+)$" ignoreCase="false" />
    <action type="Rewrite" url="category.php?sef={R:1}&amp;id={R:2}" appendQueryString="true" />
    </rule>
    <rule name="Imported Rule 13" stopProcessing="true">
    <match url="^sayfa/([0-9a-zA-Z-_]+)/([0-9]+)$" ignoreCase="false" />
    <action type="Rewrite" url="sayfa.php?sef={R:1}&amp;id={R:2}" appendQueryString="true" />
    </rule>
    <rule name="Imported Rule 14" stopProcessing="true">
    <match url="^page/([0-9a-zA-Z-_]+)/([0-9]+)$" ignoreCase="false" />
    <action type="Rewrite" url="page.php?sef={R:1}&amp;id={R:2}" appendQueryString="true" />
    </rule>
    </rules>
    </rewrite>
    </system.webServer>
    </configuration>
    PHP Mikro Canlı Tv Scripti - 170 ₺
    PHP Pinterest Online Hesap Takip Scripti - 100 ₺
  • 20-06-2019, 11:22:14
    #3
    mikropiks adlı üyeden alıntı
    Hocam aşağıda ki kod web.config olarak kaydedip dener misinizi?


    <?xml version="1.0" encoding="UTF-8"?>
    <configuration>
    <system.webServer>
    <rewrite>
    <rules>
    <rule name="Imported Rule 1" stopProcessing="true">
    <match url="^(.*)$" ignoreCase="false" />
    <conditions logicalGrouping="MatchAll">
    <add input="{HTTPS}" pattern="off" ignoreCase="false" />
    </conditions>
    <action type="Redirect" url="https://{HTTP_HOST}{URL}" redirectType="Permanent" />
    </rule>
    <rule name="Imported Rule 2" stopProcessing="true">
    <match url="^admin/(.*)?$" />
    <conditions logicalGrouping="MatchAll">
    <add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" />
    <add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" />
    </conditions>
    <action type="Rewrite" url="admin/index.php?a={R:1}" appendQueryString="true" />
    </rule>
    <rule name="Imported Rule 3">
    <match url="^sitemap.xml$" ignoreCase="false" />
    <action type="Rewrite" url="sitemap.php" />
    </rule>
    <rule name="Imported Rule 4" stopProcessing="true">
    <match url="^(.*)?$" />
    <conditions logicalGrouping="MatchAll">
    <add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" />
    <add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" />
    </conditions>
    <action type="Rewrite" url="index.php?a={R:1}" appendQueryString="true" />
    </rule>
    <rule name="Imported Rule 1-1" stopProcessing="true">
    <match url="^galeri$" />
    <action type="Rewrite" url="galeri.php" />
    </rule>
    <rule name="Imported Rule 2-1" stopProcessing="true">
    <match url="^gallery$" />
    <action type="Rewrite" url="gallery.php" />
    </rule>
    <rule name="Imported Rule 3-1" stopProcessing="true">
    <match url="^iletisim$" />
    <action type="Rewrite" url="iletisim.php" />
    </rule>
    <rule name="Imported Rule 4-1" stopProcessing="true">
    <match url="^contact$" />
    <action type="Rewrite" url="contact.php" />
    </rule>
    <rule name="Imported Rule 5" stopProcessing="true">
    <match url="^blog$" />
    <action type="Rewrite" url="blog.php" />
    </rule>
    <rule name="Imported Rule 6" stopProcessing="true">
    <match url="^blog-en$" />
    <action type="Rewrite" url="blog-en.php" />
    </rule>
    <rule name="Imported Rule 7" stopProcessing="true">
    <match url="^sitemap.xml$" />
    <action type="Rewrite" url="sitemap.php" />
    </rule>
    <rule name="Imported Rule 8" stopProcessing="true">
    <match url="^blog-detay/([0-9a-zA-Z-_]+)/([0-9]+)$" ignoreCase="false" />
    <action type="Rewrite" url="blog-detay.php?sef={R:1}&amp;id={R:2}" appendQueryString="true" />
    </rule>
    <rule name="Imported Rule 9" stopProcessing="true">
    <match url="^blog-detail/([0-9a-zA-Z-_]+)/([0-9]+)$" ignoreCase="false" />
    <action type="Rewrite" url="blog-detay-en.php?sef={R:1}&amp;id={R:2}" appendQueryString="true" />
    </rule>
    <rule name="Imported Rule 10" stopProcessing="true">
    <match url="^([0-9a-zA-Z-_]+)-([0-9]+)$" ignoreCase="false" />
    <action type="Rewrite" url="sayfa-detay.php?sef={R:1}&amp;id={R:2}" appendQueryString="true" />
    </rule>
    <rule name="Imported Rule 11" stopProcessing="true">
    <match url="^kategori/([0-9a-zA-Z-_]+)/([0-9]+)$" ignoreCase="false" />
    <action type="Rewrite" url="kategori.php?sef={R:1}&amp;id={R:2}" appendQueryString="true" />
    </rule>
    <rule name="Imported Rule 12" stopProcessing="true">
    <match url="^category/([0-9a-zA-Z-_]+)/([0-9]+)$" ignoreCase="false" />
    <action type="Rewrite" url="category.php?sef={R:1}&amp;id={R:2}" appendQueryString="true" />
    </rule>
    <rule name="Imported Rule 13" stopProcessing="true">
    <match url="^sayfa/([0-9a-zA-Z-_]+)/([0-9]+)$" ignoreCase="false" />
    <action type="Rewrite" url="sayfa.php?sef={R:1}&amp;id={R:2}" appendQueryString="true" />
    </rule>
    <rule name="Imported Rule 14" stopProcessing="true">
    <match url="^page/([0-9a-zA-Z-_]+)/([0-9]+)$" ignoreCase="false" />
    <action type="Rewrite" url="page.php?sef={R:1}&amp;id={R:2}" appendQueryString="true" />
    </rule>
    </rules>
    </rewrite>
    </system.webServer>
    </configuration>
    site komple gitti hocam geçici olarak kullanılamıyor dedi
  • 20-06-2019, 11:24:31
    #4
    Localhost kurulu bilgisayarlarda .htaccess to web.config işleminin aşağıda ki şekilde yapabiliyoruz.

    Bilgisayar Sağ Tık -> Yönet
    Hizmetler ve Uygulamalar -> Internet Informatio Services (IIS)
    Siteler -> Default Web Site
    -> Açılan özellikler arasından URL Rewirte 'a tek tık
    -> Sağda açılan menülerden Özelliği Aç
    -> Açılan Alanda Import Rules...
    Daha sonra dosya seçip Uygula diyoruz ve web.config olarak varsayılan localhost'a dosya kaydediliyor



    ykyazilim adlı üyeden alıntı
    site komple gitti hocam geçici olarak kullanılamıyor dedi
    Hocam Windows'un kendi anlatımıyla bu şekilde olması gerekiyor. Kendi sistemlerim de de kullanıyorum. Şuana kadar sorun çıkmamıştı. :/



    Hocam bi de aşağıda ki şekilde dener misiniz

    <?xml version="1.0" encoding="UTF-8"?>
    <configuration>
    <system.webServer>
    <rewrite>
    <rules>
    <rule name="Imported Rule 1" stopProcessing="true">
    <match url="^galeri$" />
    <action type="Rewrite" url="galeri.php" />
    </rule>
    <rule name="Imported Rule 2" stopProcessing="true">
    <match url="^gallery$" />
    <action type="Rewrite" url="gallery.php" />
    </rule>
    <rule name="Imported Rule 3" stopProcessing="true">
    <match url="^iletisim$" />
    <action type="Rewrite" url="iletisim.php" />
    </rule>
    <rule name="Imported Rule 4" stopProcessing="true">
    <match url="^contact$" />
    <action type="Rewrite" url="contact.php" />
    </rule>
    <rule name="Imported Rule 5" stopProcessing="true">
    <match url="^blog$" />
    <action type="Rewrite" url="blog.php" />
    </rule>
    <rule name="Imported Rule 6" stopProcessing="true">
    <match url="^blog-en$" />
    <action type="Rewrite" url="blog-en.php" />
    </rule>
    <rule name="Imported Rule 7" stopProcessing="true">
    <match url="^sitemap.xml$" />
    <action type="Rewrite" url="sitemap.php" />
    </rule>
    <rule name="Imported Rule 8" stopProcessing="true">
    <match url="^blog-detay/([0-9a-zA-Z-_]+)/([0-9]+)$" ignoreCase="false" />
    <action type="Rewrite" url="blog-detay.php?sef={R:1}&amp;id={R:2}" appendQueryString="true" />
    </rule>
    <rule name="Imported Rule 9" stopProcessing="true">
    <match url="^blog-detail/([0-9a-zA-Z-_]+)/([0-9]+)$" ignoreCase="false" />
    <action type="Rewrite" url="blog-detay-en.php?sef={R:1}&amp;id={R:2}" appendQueryString="true" />
    </rule>
    <rule name="Imported Rule 10" stopProcessing="true">
    <match url="^([0-9a-zA-Z-_]+)-([0-9]+)$" ignoreCase="false" />
    <action type="Rewrite" url="sayfa-detay.php?sef={R:1}&amp;id={R:2}" appendQueryString="true" />
    </rule>
    <rule name="Imported Rule 11" stopProcessing="true">
    <match url="^kategori/([0-9a-zA-Z-_]+)/([0-9]+)$" ignoreCase="false" />
    <action type="Rewrite" url="kategori.php?sef={R:1}&amp;id={R:2}" appendQueryString="true" />
    </rule>
    <rule name="Imported Rule 12" stopProcessing="true">
    <match url="^category/([0-9a-zA-Z-_]+)/([0-9]+)$" ignoreCase="false" />
    <action type="Rewrite" url="category.php?sef={R:1}&amp;id={R:2}" appendQueryString="true" />
    </rule>
    <rule name="Imported Rule 13" stopProcessing="true">
    <match url="^sayfa/([0-9a-zA-Z-_]+)/([0-9]+)$" ignoreCase="false" />
    <action type="Rewrite" url="sayfa.php?sef={R:1}&amp;id={R:2}" appendQueryString="true" />
    </rule>
    <rule name="Imported Rule 14" stopProcessing="true">
    <match url="^page/([0-9a-zA-Z-_]+)/([0-9]+)$" ignoreCase="false" />
    <action type="Rewrite" url="page.php?sef={R:1}&amp;id={R:2}" appendQueryString="true" />
    </rule>
    </rules>
    </rewrite>
    </system.webServer>
    </configuration>
    PHP Mikro Canlı Tv Scripti - 170 ₺
    PHP Pinterest Online Hesap Takip Scripti - 100 ₺
  • 26-06-2019, 10:39:34
    #5
    mikropiks adlı üyeden alıntı
    Localhost kurulu bilgisayarlarda .htaccess to web.config işleminin aşağıda ki şekilde yapabiliyoruz.

    Bilgisayar Sağ Tık -> Yönet
    Hizmetler ve Uygulamalar -> Internet Informatio Services (IIS)
    Siteler -> Default Web Site
    -> Açılan özellikler arasından URL Rewirte 'a tek tık
    -> Sağda açılan menülerden Özelliği Aç
    -> Açılan Alanda Import Rules...
    Daha sonra dosya seçip Uygula diyoruz ve web.config olarak varsayılan localhost'a dosya kaydediliyor





    Hocam Windows'un kendi anlatımıyla bu şekilde olması gerekiyor. Kendi sistemlerim de de kullanıyorum. Şuana kadar sorun çıkmamıştı. :/




    Hocam bi de aşağıda ki şekilde dener misiniz

    <?xml version="1.0" encoding="UTF-8"?>
    <configuration>
    <system.webServer>
    <rewrite>
    <rules>
    <rule name="Imported Rule 1" stopProcessing="true">
    <match url="^galeri$" />
    <action type="Rewrite" url="galeri.php" />
    </rule>
    <rule name="Imported Rule 2" stopProcessing="true">
    <match url="^gallery$" />
    <action type="Rewrite" url="gallery.php" />
    </rule>
    <rule name="Imported Rule 3" stopProcessing="true">
    <match url="^iletisim$" />
    <action type="Rewrite" url="iletisim.php" />
    </rule>
    <rule name="Imported Rule 4" stopProcessing="true">
    <match url="^contact$" />
    <action type="Rewrite" url="contact.php" />
    </rule>
    <rule name="Imported Rule 5" stopProcessing="true">
    <match url="^blog$" />
    <action type="Rewrite" url="blog.php" />
    </rule>
    <rule name="Imported Rule 6" stopProcessing="true">
    <match url="^blog-en$" />
    <action type="Rewrite" url="blog-en.php" />
    </rule>
    <rule name="Imported Rule 7" stopProcessing="true">
    <match url="^sitemap.xml$" />
    <action type="Rewrite" url="sitemap.php" />
    </rule>
    <rule name="Imported Rule 8" stopProcessing="true">
    <match url="^blog-detay/([0-9a-zA-Z-_]+)/([0-9]+)$" ignoreCase="false" />
    <action type="Rewrite" url="blog-detay.php?sef={R:1}&amp;id={R:2}" appendQueryString="true" />
    </rule>
    <rule name="Imported Rule 9" stopProcessing="true">
    <match url="^blog-detail/([0-9a-zA-Z-_]+)/([0-9]+)$" ignoreCase="false" />
    <action type="Rewrite" url="blog-detay-en.php?sef={R:1}&amp;id={R:2}" appendQueryString="true" />
    </rule>
    <rule name="Imported Rule 10" stopProcessing="true">
    <match url="^([0-9a-zA-Z-_]+)-([0-9]+)$" ignoreCase="false" />
    <action type="Rewrite" url="sayfa-detay.php?sef={R:1}&amp;id={R:2}" appendQueryString="true" />
    </rule>
    <rule name="Imported Rule 11" stopProcessing="true">
    <match url="^kategori/([0-9a-zA-Z-_]+)/([0-9]+)$" ignoreCase="false" />
    <action type="Rewrite" url="kategori.php?sef={R:1}&amp;id={R:2}" appendQueryString="true" />
    </rule>
    <rule name="Imported Rule 12" stopProcessing="true">
    <match url="^category/([0-9a-zA-Z-_]+)/([0-9]+)$" ignoreCase="false" />
    <action type="Rewrite" url="category.php?sef={R:1}&amp;id={R:2}" appendQueryString="true" />
    </rule>
    <rule name="Imported Rule 13" stopProcessing="true">
    <match url="^sayfa/([0-9a-zA-Z-_]+)/([0-9]+)$" ignoreCase="false" />
    <action type="Rewrite" url="sayfa.php?sef={R:1}&amp;id={R:2}" appendQueryString="true" />
    </rule>
    <rule name="Imported Rule 14" stopProcessing="true">
    <match url="^page/([0-9a-zA-Z-_]+)/([0-9]+)$" ignoreCase="false" />
    <action type="Rewrite" url="page.php?sef={R:1}&amp;id={R:2}" appendQueryString="true" />
    </rule>
    </rules>
    </rewrite>
    </system.webServer>
    </configuration>
    teşekkür ederim hocam yardımınız için ama çalışmadı maalesef...
    ücretliya da ücretsiz yardımcı olabilecek var mı?
  • 26-06-2019, 15:27:56
    #6
    ykyazilim adlı üyeden alıntı
    merhaba,
    htaccess için hazırlanmış kodlar windowsda çalışmadığı için aynı komutları webconfigde yapılması gerekiyor komutlar bunlar, ücretli ya da ücretsiz yardımcı olabilecek var mı?
    RewriteEngine on
    
    
    
    
    
    RewriteRule ^galeri$ galeri.php [NC,L]
    
    
    RewriteRule ^gallery$ gallery.php [NC,L]
    
    
    
    
    RewriteRule ^iletisim$ iletisim.php [NC,L]
    
    
    
    RewriteRule ^contact$ contact.php [NC,L]
    
    
    
    RewriteRule ^blog$ blog.php [NC,L]
    
    
    
    RewriteRule ^blog-en$ blog-en.php [NC,L]
    
    
    
    
    
    RewriteRule ^sitemap.xml$ sitemap.php [NC,L]
    
    
    
    
    
    RewriteRule ^blog-detay/([0-9a-zA-Z-_]+)/([0-9]+)$ blog-detay.php?sef=$1&id=$2 [L,QSA]
    
    
    
    RewriteRule ^blog-detail/([0-9a-zA-Z-_]+)/([0-9]+)$ blog-detay-en.php?sef=$1&id=$2 [L,QSA]
    
    
    
    RewriteRule ^([0-9a-zA-Z-_]+)-([0-9]+)$ sayfa-detay.php?sef=$1&id=$2 [L,QSA]
    
    
    
    RewriteRule ^kategori/([0-9a-zA-Z-_]+)/([0-9]+)$ kategori.php?sef=$1&id=$2 [L,QSA]
    
    
    
    RewriteRule ^category/([0-9a-zA-Z-_]+)/([0-9]+)$ category.php?sef=$1&id=$2 [L,QSA]
    
    
    
    RewriteRule ^sayfa/([0-9a-zA-Z-_]+)/([0-9]+)$ sayfa.php?sef=$1&id=$2 [L,QSA]
    
    
    
    RewriteRule ^page/([0-9a-zA-Z-_]+)/([0-9]+)$ page.php?sef=$1&id=$2 [L,QSA]
    Merhaba Hocam

    Ftp ye htaccess dosyasını atıp sunucuya uzak bağlantı yapıp dosyayı tanımlatıp çalıştırabilirsiniz.

    Çok yaptım hiç sorunsuz php sitelerini seo url li windows ta sorunsuz çalıştırdık.
    Yerel Teknoloji
    0(262) 606 0 624
    https://www.yerelteknoloji.com/