WhiteKnight Posted December 4, 2008 Share Posted December 4, 2008 (edited) Using SEO-G I get this 404 error when i click on any of the links in the site. "The requested URL /my-products-name.html was not found on this server." It also gives the same thing when going to any category or information pages, etc. The issue is the pages are all named foobar.php but it gets changed to foorbar.html for the SEO. I have mod_rewrite on and the .htaccess set as in the code and it changes the .php to .html but then it does not find it on the server (just a local server for testing). Is there something obvious I am missing. If I turn off SEO-G (set master switch false) in admin it all works as before just no seo. Thanks for any pointers in the right direction. Edited December 4, 2008 by WhiteKnight Quote Link to comment Share on other sites More sharing options...
WhiteKnight Posted December 5, 2008 Author Share Posted December 5, 2008 Using SEO-G I get this 404 error when i click on any of the links in the site. "The requested URL /my-products-name.html was not found on this server." It also gives the same thing when going to any category or information pages, etc. The issue is the pages are all named foobar.php but it gets changed to foorbar.html for the SEO. I have mod_rewrite on and the .htaccess set as in the code and it changes the .php to .html but then it does not find it on the server (just a local server for testing). Is there something obvious I am missing. If I turn off SEO-G (set master switch false) in admin it all works as before just no seo. Thanks for any pointers in the right direction. OK so just posting a reply and solution to my own post for anyone else who finds this useful I had AllowOverride in the wrong place in my httpd-vhosts.conf file. I had commented it out in another site in the vhosts for testing and then went back and removed it. (That site did not need it.) Or at least that is what I thought I was doing. But in the process I deleted it from this osCommerce site instead. That keeps RewriteEngine On (in the htaccess file) from really being on locally. So this would have worked on the live server (where it was running) but not on the local Apache server where it is being tested and developed. Lesson learned (again) - At 3AM all these things start to look the same so that is probably not a good time to be messing around with the conf file. Thanks to all who have helped so much already. WK Quote Link to comment Share on other sites More sharing options...
kelsjc Posted June 12, 2010 Share Posted June 12, 2010 (edited) OK so just posting a reply and solution to my own post for anyone else who finds this useful I had AllowOverride in the wrong place in my httpd-vhosts.conf file. I had commented it out in another site in the vhosts for testing and then went back and removed it. (That site did not need it.) Or at least that is what I thought I was doing. But in the process I deleted it from this osCommerce site instead. That keeps RewriteEngine On (in the htaccess file) from really being on locally. So this would have worked on the live server (where it was running) but not on the local Apache server where it is being tested and developed. Lesson learned (again) - At 3AM all these things start to look the same so that is probably not a good time to be messing around with the conf file. Thanks to all who have helped so much already. WK Hi WK I am getting the same problem, but i don't really understand what you did could you please provide me some lammer-proof information? :) cos i am new to OSC What I understood, you removed the AllowOverride from .htaccess? And is not possible to watch SEO working in local apache host? thanks in advance Kelson Edited June 12, 2010 by kelsjc Quote Link to comment Share on other sites More sharing options...
kelsjc Posted June 12, 2010 Share Posted June 12, 2010 OK so just posting a reply and solution to my own post for anyone else who finds this useful I had AllowOverride in the wrong place in my httpd-vhosts.conf file. I had commented it out in another site in the vhosts for testing and then went back and removed it. (That site did not need it.) Or at least that is what I thought I was doing. But in the process I deleted it from this osCommerce site instead. That keeps RewriteEngine On (in the htaccess file) from really being on locally. So this would have worked on the live server (where it was running) but not on the local Apache server where it is being tested and developed. Lesson learned (again) - At 3AM all these things start to look the same so that is probably not a good time to be messing around with the conf file. Thanks to all who have helped so much already. WK Hi Just to say that I've fixed the problem: I set AllowOverride to All in httpd.conf under apache/conf/ folder and enabled the modules/mod_rewrite.so Quote Link to comment 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.