svgmx5 Posted February 12, 2013 Share Posted February 12, 2013 Ok, so my issue is the following: Currently the application i have has rules to access pages that look like this " locations/city-state-country" however all of the sudden this url no longer works and takes the user to either a page in the website but with out any styles or anything just blank or it returns a 404 error page. The code on my .htaccess file is the following <IfModule mod_rewrite.c> Options +FollowSymLinks RewriteEngine on RewriteRule (.*)-(.*)-(.*)$ index.php?name=$1&state=$2&country=$3 Options +FollowSymLinks RewriteEngine on RewriteRule (.*)-(.*)$ index.php?name=$1&country=$2 </IfModule> This code had been working for the past year and half and like i said it has all of the sudden stop working. The site is hosted on GoDaddy on a shared hosting. I had contacted them and all i could get was that there was something on the scripting on the .htaccess file that was no longer working. I have looked over and over and i just can't figure out what it could be, so i'm hoping someone else can help me out with this. The Apache version on the server is 2.2. Also, i uploaded the whole site up to a different server with out making any modification to the files and it works just fine there. I know the apache version on the other server is 2.2.15. Not sure if this makes any difference. Also both servers are Linux servers. Again any help would be greatly appreciated. Thank you Quote Link to comment https://forums.phpfreaks.com/topic/274390-mod_rewrite-rules-no-longer-working-on-my-file/ Share on other sites More sharing options...
Ken_GoDaddy Posted February 19, 2013 Share Posted February 19, 2013 @svgmx5 I'm with Go Daddy and came across your post. Have you been able to get your script to working correctly? If not I would like to assist and bring clarity and resolution to your concerns. Please feel free to reply or send me a private message Quote Link to comment https://forums.phpfreaks.com/topic/274390-mod_rewrite-rules-no-longer-working-on-my-file/#findComment-1413431 Share on other sites More sharing options...
svgmx5 Posted February 20, 2013 Author Share Posted February 20, 2013 No we haven't been able to fix this. We ended having to move it from a shared hosting to a Virtual Dedicated Hosting environment since it was working there. Quote Link to comment https://forums.phpfreaks.com/topic/274390-mod_rewrite-rules-no-longer-working-on-my-file/#findComment-1413710 Share on other sites More sharing options...
Ken_GoDaddy Posted February 21, 2013 Share Posted February 21, 2013 @svgmx5 What is the domain name in question? Feel free to reply or private message me with it and I will look into your concerns further. Quote Link to comment https://forums.phpfreaks.com/topic/274390-mod_rewrite-rules-no-longer-working-on-my-file/#findComment-1413752 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.