Search
 
SCRIPT & CODE EXAMPLE
 

HTML

removing filepath from url using htaccess

#remove php file extension-e.g. https://example.com/file.php will become https://example.com/file 
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}.php -f
RewriteRule ^(.*)$ $1.php [NC,L] 
Comment

PREVIOUS NEXT
Code Example
Html :: html5 template 
Html :: how to center html element in bootstrap 5 
Html :: htmjl favicons 
Html :: how to open link in new tab 
Html :: how to center text in svg 
Html :: placeholder select html 
Html :: font awesome linkedin 
Html :: twig count array 
Html :: remove border in ion item 
Html :: html entity quote 
Html :: html long text three dots 
Html :: how to change the preview image of a website 
Html :: svg content_type 
Html :: how to link your js file to html 
Html :: jquery integration 
Html :: html email links 
Html :: how to center link in html 
Html :: bootstrap 4 center div 
Html :: how to change font size in html 
Html :: ckeditor cdn 
Html :: language list select html 
Html :: no-gutter bootstrap 4 
Html :: code to start text from right in html in arabic 
Html :: htaccess code to remove .php extension 
Html :: add fav icon to browser tab html 
Html :: Ion-img in center of screen 
Html :: vue js focus ref 
Html :: md bootstrap cdn 
Html :: justify content space between class bootstrap 
Html :: Can I customize the Work Order Tablet View? I want all the buttons at the top. odoo 
ADD CONTENT
Topic
Content
Source link
Name
3+4 =