Remove [login to view URL] from website URLs

Hi, I am trying to migrate my Yii website to a new Linux server. However, on this new server my mod_rewrite rules no longer work. I need my pages to be accessible via patterns/characters (for example), but they only work via [url removed, login to view]

In my Yii [url removed, login to view] file I have 'urlFormat'=>'path',



My host has checked that mod_rewrite is installed and enabled, and that AllowOverride is on.

I have tried many different rewrite rules in my .htaccess, but none have worked. The one I have right now is:

RewriteEngine On

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ^(.*)$ [url removed, login to view]$1 [L]

My host says that the syntax may have changed, and that's why my rules no longer work.

I need someone who is experienced with mod_rewrite/.htaccess files and knows how to fix this. Yii knowledge is not necessary because I know I already have my Yii files set up correctly for this (since it worked on my last server).


Skills: Linux, System Admin, Yii

See more: yii remove, yii remove index, yii urlformat path, work from website, php checked checked, how to fix website, how to fix a website, remove yii, yii website, yii 1, website migrate, migrate website, migrate website to new, migrate website to new host, migrate php, index, php file remove, php remove file, htaccess mod_rewrite, php rules rewrite, php rewriteengine, php host, htaccess rewriteengine, php htaccess rewriteengine, rewriteengine

About the Employer:
( 5 reviews ) Lytham St Annes, United Kingdom

Project ID: #1106712

Awarded to:


Hi, let's start !!

$85 USD in 0 days
(159 Reviews)

2 freelancers are bidding on average $118 for this job


I'm an experienced Linux/Unix admin. I can help you with this. Let me know if you are interested.

$150 USD in 1 day
(8 Reviews)