Tags » Htaccess

HTACCESS - redirect to index page

RewriteEngine on
RewriteCond %{REQUEST_URI} !^/index.html$
RewriteRule .* /index.html 

How to Edit .htaccess from the WordPress Itself

Sometimes you need to make changes or add some codes inside the .htaccess file and you do not hold access to the cPanel but only to just WordPress (wp-admin). 123 more words


Remove Index.php From URL CodeIgniter

Create the .htaccess file add the code given below and put it into your root directory of the main folder

And please keep this variable  83 more words


How-To: Host a microsite inside a Drupal docroot hosted in Acquia

Hey Guys!

So, I had a requirement to host a microsite running some html & php code in a sub-directory inside a Drupal 8 docroot hosted in Acquia. 257 more words


After login wordpress gives 403 Forbidden

Hi guys!
Hope you are doing good.
What if You have installed wordpress in server. then If you login in another browser or private window. and given a nice line. 162 more words

If Your Permalinks Are Not Working

Be sure to have an .htaccess file in the root directory with the following in it:

RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

Replace url segment or folder with htaccess

If you like to replace a url segment or folder , you can follow :


RewriteEngine On
RewriteRule ^/?loren/lipsum/(.*)$ https://www.example.com/loren/sepcticula/$1