मैं index.php पेज को छिपाना चाहता हूं और बस डोमेन दिखाऊंगा।.htaccess index.php को रीडायरेक्ट करें/
क्या यह .htaccess के साथ संभव है?
RewriteRule ^index\.php/?$/[L,R=301,NC]
भी करने की कोशिश की:
RewriteEngine On
RewriteBase/
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9} /index.php HTTP/
RewriteRule ^index.php$ http://example.com/ [R=301,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
index.php अभी भी पता चलता
नहीं। क्या ब्राउज़र हमेशा index.php दिखा सकते हैं और केवल डोमेन पर रीडायरेक्ट नहीं कर सकते हैं? –
क्या आप अपनी .htaccess फ़ाइल पोस्ट कर सकते हैं। – Satish
ऊपर पोस्ट किया गया है मेरे पास –