• 25-02-2021, 12:42:43
    #1
    Merhaba

    php özel kodlama sitemi, wordpress e çevireceğiz.,
    Domain aynı, SADECE URL YAPISI değişiyor.
    Aşağıdaki türlü komutlar doğrumudur? değilse, olmasını gereken nedir
    yardımlarınız için teşekkürler.
    -------------------------------------------------------------
    # BEGIN LSCACHE
    # END LSCACHE
    # BEGIN NON_LSCACHE
    # END NON_LSCACHE

    # BEGIN WordPress
    # The directives (lines) between "BEGIN WordPress" and "END WordPress" are
    # dynamically generated, and should only be modified via WordPress filters.
    # Any changes to the directives between these markers will be overwritten.
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
    RewriteBase /yeni/
    RewriteRule ^index.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /yeni/index.php [L]
    </IfModule>

    # END WordPress

    Redirect 301 /en/page/7/about-us /about-us
    Redirect 301 /tr/page/7/about-us tr/hakkimizda
    Redirect 301 /ru/page/7/about-us ru/насчет-нас
  • 25-02-2021, 12:57:34
    #2
    ErrorDocument 301 https://site.com
  • 25-02-2021, 13:54:41
    #3
    Adalente adlı üyeden alıntı: mesajı görüntüle
    ErrorDocument 301 https://site.com
    Domain aynı
    Sadece URL yapısı değişiyor!