In Progress

Remove [url removed, login to view] 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',

'routeVar'=>'yr',

'showScriptName'=>false,

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).

Thanks.

Skills: Linux, System Admin, Yii

See more: yii remove, yii remove index, yii urlformat path, remove yii, yii website, yii 1, website migrate, migrate website new, migrate website new host, migrate php, index, php file remove, php remove file, php rules rewrite, php rewriteengine, php host, htaccess rewriteengine, php htaccess rewriteengine, rewriteengine, fix system path, php htaccess, yii server, remove index, yii main php, fix index

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

Project ID: #1106712

Awarded to:

tech717

Hi, let's start !!

$85 USD in 0 days
(159 Reviews)
5.9

2 freelancers are bidding on average $118 for this job

tommanning1982

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)
3.7