General Topics

How To Verify mod rewrite Enabled Or Not On Server?

Verify mod rewrite Enabled Or Not On Server

Verify mod rewrite Enabled Or Not On Server: Here I am sharing mod rewrite enable tutorial so you can do Linux Enable mod rewrite after reading this. If you want IP Canonicalization for better ranking on SE. Then you must verify first apache rewrite rule enable and paste a code of IP Canonicalization in your .htaccess file. I hope you will easily understand this post which has written about mod rewrite. In future when you want to enable mod rewrite. Then I hope you can enable it easily without support from any article.

Verify mod rewrite Enabled Or Not On Server

mod_rewrite Enable Apache

1. First Login to the CPanel account.

CPanel Login 2. Now create a new file with the name of mod_rewrite.php.

Create mod_rewrite.php file 3. Add this code into the newly created the file.

<?php echo "Mod_rewrite is activated!"; ?>

4. Now the turn to rename the old .htaccess file to “.htaccess_original” and create a new file like shown below.

Create new .htaccess file 5. Now add this code in the new .htaccess file which you have created now.

RewriteEngine On
RewriteRule ^.*$ mod_rewrite.php

Place code in .htaccess file 6. Now visit your site you will see a message “Mod_rewrite is activated!. Also shown in below picture.

Open Your Site

Lastly, don’t forget to read:

How To Show Article Publish Date In Google Search Results?

Make Money Online Fast Without Paying Anything

Rank Your Website Higher On Google?

Show More

Humna Yousaf

I am Humna Yousaf and love with blogging and serving as the author of Global Blurb. I love with writing so therefore I write to fulfill my urge. I am a developer, SEO expert, and designer. I have the experience to entertain with WordPress more of than 2 years. If you want to hire me.

Want to contribute