Hi everyone. I really hope somebody will be able to help me, cause I’ve already tried everybody else.
I recently installed VBSeo on my vbulletin forum. On wamp server everything worked perfectly fine, but on hosting there was “internal server error”. Eventually I found what was causing it. The htaccess rewrites.
It worked okay on my local server. On hosting, the exclamation mark had to be changed to “^”. I don’t know why, though, because the code provided by VBSeo seems to be working everywhere except on my hosting.
Now once the “!” was changed to “^”, it started working, but the function “get last post” or “get new post” doesn’t work. The same happens on my local server if I make the same change.
Could anyone explain what is this about and if it’s possible to fix the whole thing? People are complaining to me about it and I can’t do anything.
I found that if I completely remove the following part “!(delfossecp/|delfosse2cp/|cron|vbseo_sitemap)”, then everything works perfectly fine. I just have to leave “^” there.
But my guess is that it must make something work wrong. Can you confirm or deny my suspicion?
Just for future reference, any time you get a “Internal Server Error” when playing with a .htaccess file, it means you have a syntax error in there… well, 99% of the time at least. =p
Actually it wasn’t a syntax error, vbseo recommended I include another file in the condition with the exclamation point and everything started working as intended. Weird thing. It seems like there’s no real standardization in apache rewrites, their behavior varies a little bit depending on the hosting. Maybe that’s because every hosting has a different version of apache. I don’t know.