apache - mod_rewrite rewrite all but index.php -
मेरे htaccess में मेरे पास
RewriteRule ^ ([^ /] +) /? $ Cms.php? Seotitle = $ 1 [एल]
यह विचार है कि index.html ठीक से लोड होगा और फिर domain.com/anythinghere.html पर अनुरोधित कुछ भी हथियाने के नियम का उपयोग करेगा Cms.php से फाइल।
हालांकि यह काम नहीं कर रहा है - कोई सुराग? वास्तव में इस sorted asap की आवश्यकता है।
इस नियम को आज़माएं:
RewriteCond $ 1! ^ (सीएमएस \ .php | index..html) $ पुनर्लेखनकंड% {REQUEST_FILENAME}! -f पुनर्वापरा नियम ^ ([^ /] +) /? $ Cms.php? Seotitle = $ 1 [एल]
< / प्री>
Comments
Post a Comment