HaLo2FrEeEk Posted July 30, 2008 Share Posted July 30, 2008 I've asked this question before, but didn't get any reply at all, and I really need help. I have Mod_Rewrite set up in my tutorials directory to make the links look static, here is the original url: http://infectionist.com/tutorials/?cat=photoshop&tut=panorama And here is what it's rewritten to: http://infectionist.com/tutorials/photoshop-panorama.html Here is my Mod_Rewrite code: RewriteEngine on RewriteRule (.*)-(.*)\.html$ index.php?cat=$1&tut=$2 RewriteRule (.*)\.html$ index.php?cat=$1 What's happening, though, is when I run a sitemap generator from Auditmypc.com, (it's a Java based one), it always fails on these pages, it will never index the tutorial pages, even though all the links point to the right place, and everything is served up by my database. It works fine when I visit the link from a browser, but the sitemap skips it. I thought it was a problem with the server not handling the rewrites fast enough, so I set the request delay to 1 second. The thread count is at 9, and it still fails. Would the Mod_Rewrite be doing this? Or is it something with my code? What can I do to fix this, because I really want my tutorials indexed by Google and other search engines, but it won't pick up these pages (as far as I know, google will with it's normal crawl, but it'd have a better rank if I could put it in a sitemap, and I don't want to add it all manually. Edit: It's mainly the images that get rejected. For some reason, the sitemap crawler refuses to accept the images (not linked, embedded) that are on the tutorial pages. Though it still won't accept the pages themselves, either, sometimes I can get it to accept them if I retry failed urls. Quote Link to comment https://forums.phpfreaks.com/topic/117434-would-mod_rewrite-mess-up-a-sitemap-generator/ Share on other sites More sharing options...
HaLo2FrEeEk Posted August 1, 2008 Author Share Posted August 1, 2008 Ok, this is the mod_rewrite forum, and this question is about mod_rewrite. What's the problem? Everyone else is getting replies, so either no one knows the answer, or you're all just being jerks and purposely not answering. There's no reason why someone couldn't just give me a little "Hey, I'll look into this and see what I can come up with". At least then I'd know SOMEONE was helping. I obviously can't figure this out on my own, thus why I'm asking for help. I've posted all relevant information, and I asked sincerely for help. Quote Link to comment https://forums.phpfreaks.com/topic/117434-would-mod_rewrite-mess-up-a-sitemap-generator/#findComment-605280 Share on other sites More sharing options...
HaLo2FrEeEk Posted August 8, 2008 Author Share Posted August 8, 2008 Funny thing, I could swear I was asking for just the tiniest bit of help, is it really that hard? I mean, even a simple "yes, your code would disrupt a sitemap generator" would do, but nothing? I'm starting to think I'm being ignored in here, I really need some help, and you guys are flat refusing it? What's going on? Did I do something wrong? Quote Link to comment https://forums.phpfreaks.com/topic/117434-would-mod_rewrite-mess-up-a-sitemap-generator/#findComment-611314 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.