عرض مشاركة واحدة
قديم 01-01-2017, 01:00 AM
المشاركة 5
abo-karim
.:: Administrator ::.
  • abo-karim غير متواجد حالياً
افتراضي رد: مشكلة في اعدادات XenForo , مشكلة الروابط الصديقة
خلاص تم حل المشكلة والحمدالله

بانشاء هذا الملف .htaccess

واضافة الكود التالي له

كود PHP:
#    mod_security can interfere with uploading of content such as attachments. If you
#    cannot attach files, remove the "#" from the lines below.
#<ifmodule mod_security.c>
#    secfilterengine off
#    secfilterscanpost off
#</ifmodule>

errordocument 401 default
errordocument 403 default
errordocument 404 default
errordocument 500 default

<
ifmodule mod_rewrite.c>
    
rewriteengine on

    rewritecond 
%{http_host} !^your-domain\.com$
    
rewriterule ^(.*)$ https://your-domain.com/forum/$1 [r=301,l]

    #    if you are having problems with the rewrite rules, remove the "#" from the
    #    line that begins "rewritebase" below. You will also have to change the path
    #    of the rewrite to reflect the path to your xenforo installation.
    #rewritebase /xenforo

    #    this line may be needed to enable webdav editing with php as a cgi.
    #rewriterule .* - [e=http_authorization:%{http:authorization}]

    
rewritecond %{request_filename} -[or]
    
rewritecond %{request_filename} -[or]
    
rewritecond %{request_filename} -d
    rewriterule 
^.*$ - [nc,l]
    
rewriterule ^(data/|js/|styles/|install/|favicon\.ico|crossdomain\.xml|robots\.txt) - [nc,l]
    
rewriterule ^.*$ index.php [nc,l]
</
ifmodule


طب ايه الجديد سوى انك وضعت دومين موفعك زى ماقولتلك

عموما الحمد لله ومبروك عليك الروابط