Hi Everyone.
I have a htaccess file the re-writes my urls for a directory on a website I am helping to develop for a friend.
the directory structure is mydomain.co.uk/dir1/dir2/shopping-cart/
The mod_rewrite rule rewrites the index.php file into pretty urls
for example:
shopping-cart/123/this-is-the-item-title
The problem I am facing is when we try and use the same htaccess for the mobile side
we get the internal server error.
The directory structure is the same for the mobile as it is for the desktop
Any help would be appreciated as we have been digging around for a few days now.
Here is the htaccess mod_rewrite condition we are using
<IfModule mod_rewrite.c> RewriteEngine on RewriteCond %{HTTP_HOST} !^(www\.|m\.)?mydomain\.co\.uk RewriteRule ^(\d+)/([^/]+)/?$ index.php?uiid=$1&title=$2 [L] </IfModule>