Skip to content Skip to sidebar Skip to footer
Showing posts with the label .htaccess

.htaccess Condition - Action Dependent On Filetype

What I have is a rule: RewriteCond %{REQUEST_FILENAME}.php !abc.php RewriteRule ^(.*)$ some.php [… Read more .htaccess Condition - Action Dependent On Filetype

Pretty Urls Without Mod_rewrite, Without .htaccess

Without a possibility to access .htaccess I find myself in a creative impasse. There is no mod_rewr… Read more Pretty Urls Without Mod_rewrite, Without .htaccess

How To Hide A Subfolder In Url Rewriting

My site is : www.mysite.com/subfolder/login/index.php I want the URL there to just be www.mysite.co… Read more How To Hide A Subfolder In Url Rewriting

Replace Space With Dash (-) In Url Only

Is it possible to change the space in the url to a dash (-) without changing it in the code? The UR… Read more Replace Space With Dash (-) In Url Only

Https To Http Htaccess Redirect For Home Page Only

I need help being able to redirect the home page of a website I'm building from HTTPS to HTTP. … Read more Https To Http Htaccess Redirect For Home Page Only

Need To Remove .html File Extension And Duplicate Names

I have a .htaccess file with the contents below, that removes the .html file extension for all of m… Read more Need To Remove .html File Extension And Duplicate Names

Protecting Certain Files And Folders From View Within A Public Folder

Today I've been struggling with this for a while. What I am trying to accomplish is that I need… Read more Protecting Certain Files And Folders From View Within A Public Folder

How To Block Direct Access To .html Files? (.htaccess)

I want to block direct access to multiple files, but being able to access in index.html For example… Read more How To Block Direct Access To .html Files? (.htaccess)