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

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

Removing .html Url Extension Using .htaccess Not Working

I'm using the below code to remove .html extention form url, but it is not working.. can any on… Read more Removing .html Url Extension Using .htaccess Not Working

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)

How To Add A Html Header To All Html Pages Of A Folder Automatically With Htaccess?

I tried this Options +Indexes IndexOptions FancyIndexing VersionSort NameWidth=* HTMLTable Charset=… Read more How To Add A Html Header To All Html Pages Of A Folder Automatically With 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

Seo Friendly Url Using Php

I am trying to make SEO friendly website using php... In folder jcheck i have a index.php file whic… Read more Seo Friendly Url Using Php

Htaccess - Rewrite Only Inside Folder

I hava a folder - careers - and i want to do the rewrite only for the files of that folder, for exa… Read more Htaccess - Rewrite Only Inside Folder

How To Convert My Htaccess Code To Php Header

I have these lines of code in my .htaccess. My problem is is this line of code is in my .htaccess … Read more How To Convert My Htaccess Code To Php Header

How To Redirect Multiple Similar Urls With One Query?

I currently have lots of URLs that look like this: http://www.domain.com/classes-dallas-tx.html I n… Read more How To Redirect Multiple Similar Urls With One Query?

Htaccess Url Rewrite With Multiple Variables In Url

I want to make some url rewrite rules on my .htaccess file so that this link: http://myseite.com/in… Read more Htaccess Url Rewrite With Multiple Variables In Url

How To Remove .html From Url?

How to remove .html from the URL of a static page? Also, I need to redirect any url with .html to … Read more How To Remove .html From Url?

.htaccess Redirect All Extension To Php

I recently updated my .htaccess file to hide the .php extension of the urls. It works nice, when I … Read more .htaccess Redirect All Extension To Php

Get Data From Within Url

On my website, say test.com, if someone visits test.com/hello I want it to redirect to test.com and… Read more Get Data From Within Url

How To Understand A Website Is Using Gzip Compression?

I am trying to check any website is using gzip or not? I found this explanation on Nibbler, We che… Read more How To Understand A Website Is Using Gzip Compression?

.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

Deny Direct Access But Allow Regular Html

I have the follow .htaccess inside upload directory: order allow,deny deny from all I want to allo… Read more Deny Direct Access But Allow Regular Html

How To Prevent Access Of Admin Pages By Knowing The Admin Page Url?

If someone knows my url of the admin page such as www.example.com/admin.php, then they will easily … Read more How To Prevent Access Of Admin Pages By Knowing The Admin Page Url?

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

Use Global Variables To Dynamically Change Url

So this is going to be really hard to explain, I have an A folder and I have a B folder. I am using… Read more Use Global Variables To Dynamically Change Url

Prevent Direct Access To Php Script But Allow From Index.html

I have a simple contact form where users input their data and the form sends it to 'mail.php… Read more Prevent Direct Access To Php Script But Allow From Index.html