Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Requested URL ....html was not found


WhiteKnight

Recommended Posts

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 by WhiteKnight
Link to comment
Share on other sites

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

Link to comment
Share on other sites

  • 1 year later...

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 by kelsjc
Link to comment
Share on other sites

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...