Forum Moderators: phranque

Message Too Old, No Replies

Another Mod Rewrite issue

It works, but not if there's a querystring

         

Tommybs

10:15 am on Jan 21, 2011 (gmt 0)

10+ Year Member



Hi,

I recently moved a site over to a new server, none of my code has changed including my .htaccess file.

Now I'm testing out the site on the new server and mod_rewrite doesn't appear to be working correctly.

I've got a redirect set-up to go from [site.com...] to [site.com...] and this still works fine. However my other redirects such as RewriteRule ^page/([0-9]+)/?$ page.php?pid=$1 [L,NC]

no longer seem to send the query_string parameter along correctly and I'm not sure why. I'm guessing it is something with the config now but for the life of me I can't figure out what.

I'm trying to find a solution to this issue but wondered if anyone here had any ideas

Tommybs

3:58 pm on Jan 22, 2011 (gmt 0)

10+ Year Member



Well I managed to sort this. I'm not sure exactly what the issue was but I changed some setting in my virtualhost config and it started to work

jdMorgan

10:40 pm on Jan 24, 2011 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Glad you got it sorted!

Jim