şu anda .htaccess dosyası şu şekilde sizin verdiğinizi Options kısmından itibaren yapıştırdım local'de çalıştırıyorum websitesine eriştiğimde evet bi SSL sertifika sorunu yaşıyordum ancak htaccessi editledikten sonra devam ediyordu, localhost "
www.localhost" olarak gözüküyordu. Bende bunun üzerine sizin verdiğiniz htaccess + config.php deki
https://localhost un http olarak yaptım sorun düzeldi şuanda css aktif durumda diğer fonksiyonları da test edeceğim şimdi, teşekkür ederim verdiğiniz htaccess için.
<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript
</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>
<ifmodule mod_expires.c>
<filesmatch "\.(jpg|gif|png|css|js|php)$">
ExpiresActive on
ExpiresDefault "access plus 1 year"
</filesmatch>
</ifmodule>
Options -Indexes
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
RewriteCond %{HTTPS} !=on
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
RewriteRule ^tests/([_A-Za-z0-9-]+)/page/([0-9]+)$ index.php?page=test_category&sef=$1&pagination=$2
RewriteRule ^tests/([_A-Za-z0-9-]+)$ index.php?page=test_category&sef=$1
RewriteRule ^tests/page/([0-9]+)$ index.php?page=tests&pagination=$1
RewriteRule ^tests$ index.php?page=tests
RewriteRule ^pdf/(.*?)$ pdf_viewer.php?file=$1
RewriteRule ^videos/([_A-Za-z0-9-]+)/page/([0-9]+)$ index.php?page=video_category&sef=$1&pagination=$2
RewriteRule ^videos/([_A-Za-z0-9-]+)$ index.php?page=video_category&sef=$1
RewriteRule ^videos/page/([0-9]+)$ index.php?page=videos&pagination=$1
RewriteRule ^videos$ index.php?page=videos
RewriteRule ^live-lesson-packages/([_A-Za-z0-9-]+)/page/([0-9]+)$ index.php?page=live_lesson_packages_category&sef=$1&pagination=$2
RewriteRule ^live-lesson-packages/([_A-Za-z0-9-]+)$ index.php?page=live_lesson_packages&sef=$1
RewriteRule ^live-lesson-packages/page/([0-9]+)$ index.php?page=live_lesson_packages&pagination=$1
RewriteRule ^live-lesson-packages$ index.php?page=live_lesson_packages
RewriteRule ^teachers/([_A-Za-z0-9-]+)/page/([0-9]+)$ index.php?page=teacher_category&sef=$1&pagination=$2
RewriteRule ^teachers/([_A-Za-z0-9-]+)$ index.php?page=teacher_category&sef=$1
RewriteRule ^teachers/page/([0-9]+)$ index.php?page=teachers&pagination=$1
RewriteRule ^teachers$ index.php?page=teachers
RewriteRule ^packets$ index.php?page=packets
RewriteRule ^teacher/([0-9]+)$ index.php?page=teacher&id=$1
RewriteRule ^student/([0-9]+)$ index.php?page=student&id=$1
RewriteRule ^page/([_A-Za-z0-9-]+)$ index.php?page=page&sef=$1
RewriteRule ^video/([_A-Za-z0-9-]+)$ index.php?page=video&sef=$1
RewriteRule ^live-lesson/([_A-Za-z0-9-]+)$ index.php?page=live_lesson&sef=$1
RewriteRule ^test/([0-9]+)/([_A-Za-z0-9-]+)$ index.php?page=test&id=$1&sef=$2
RewriteRule ^test-solve/([0-9]+)$ index.php?page=test_solve&id=$1
RewriteRule ^test-result/([0-9]+)$ index.php?page=test_result&id=$1
RewriteRule ^blog/([_A-Za-z0-9-]+)$ index.php?page=article&sef=$1
RewriteRule ^blog/page/([0-9]+)$ index.php?page=blog&pagination=$1
RewriteRule ^blog$ index.php?page=blog
RewriteRule ^faq$ index.php?page=faq
RewriteRule ^contact$ index.php?page=contact
RewriteRule ^search$ index.php?page=search
RewriteRule ^register$ index.php?page=register
RewriteRule ^login$ index.php?page=login
RewriteRule ^forgot-password$ index.php?page=forgot_password
RewriteRule ^renew-password/(.*)$ index.php?page=renew_password&hash=$1
RewriteRule ^account$ index.php?page=account
RewriteRule ^support$ index.php?page=support
RewriteRule ^support-ticket/(.*?)$ index.php?page=support_ticket&id=$1
RewriteRule ^support/create$ index.php?page=support_create
RewriteRule ^logout$ index.php?page=logout
RewriteRule ^course-accept/([0-9]+)$ index.php?page=course_accept&id=$1
RewriteRule ^course-reject/([0-9]+)$ index.php?page=course_reject&id=$1
RewriteRule ^course-detail/([0-9]+)$ index.php?page=course_detail&id=$1
RewriteRule ^live-lesson-detail/([0-9]+)$ index.php?page=live_lesson_detail&id=$1
RewriteRule ^course-requests$ index.php?page=course_requests
RewriteRule ^withdraw$ index.php?page=withdraw
RewriteRule ^profile-information$ index.php?page=profile_information
RewriteRule ^my-videos/page/([0-9]+)$ index.php?page=my_videos&pagination=$1
RewriteRule ^my-videos$ index.php?page=my_videos
RewriteRule ^my-live-lesson-packages/page/([0-9]+)$ index.php?page=my_live_lesson_packages&pagination=$1
RewriteRule ^my-live-lesson-packages$ index.php?page=my_live_lesson_packages
RewriteRule ^my-tests/page/([0-9]+)$ index.php?page=my_tests&pagination=$1
RewriteRule ^my-tests$ index.php?page=my_tests
RewriteRule ^add-video$ index.php?page=add_video
RewriteRule ^add-live-lesson-package$ index.php?page=add_live_lesson_package
RewriteRule ^add-test$ index.php?page=add_test
RewriteRule ^showcase$ index.php?page=showcase
RewriteRule ^mentor-certificate$ index.php?page=mentor_certificate
RewriteRule ^calendar$ index.php?page=calendar
RewriteRule ^buy/showcase/([0-9]+)$ index.php?page=buy_showcase&id=$1
RewriteRule ^course-cancel/([0-9]+)$ index.php?page=course_cancel&id=$1
RewriteRule ^my-course-detail/([0-9]+)$ index.php?page=my_course_detail&id=$1
RewriteRule ^my-course-requests$ index.php?page=my_course_requests
RewriteRule ^student-live-lesson-packages$ index.php?page=student_live_lesson_packages
RewriteRule ^course-request/([0-9]+)$ index.php?page=course_request&id=$1
RewriteRule ^purchased-videos$ index.php?page=purchased_videos
RewriteRule ^payments$ index.php?page=payments
RewriteRule ^watch-video/([0-9]+)$ index.php?page=watch_video&id=$1
RewriteRule ^watch-video/([0-9]+)/section/([0-9]+)$ index.php?page=watch_video_section&vid=$1&id=$2
RewriteRule ^buy/video/([0-9]+)$ index.php?page=buy_video&id=$1
RewriteRule ^buy/packet/([0-9]+)$ index.php?page=buy_packet&id=$1
RewriteRule ^buy/live-lesson/([0-9]+)$ index.php?page=buy_live_lesson&id=$1
RewriteRule ^certificate/([0-9]+)$ certificate.php?id=$1
RewriteRule ^add-balance$ index.php?page=add_balance
RewriteRule ^payment-result/success$ index.php?page=payment_result&durum=1
RewriteRule ^payment-result/error$ index.php?page=payment_result&durum=0
RewriteRule ^lang/([_A-Za-z0-9-]+)$ index.php?page=lang&lang=$1