Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Page 2 of 2
Backend is fine. Frontend gives 404 for all pages except mainpage
 
fisherguy
Jr. Member
 
Avatar
Total Posts:  4
Joined:  2012-06-06
 
Crucial - 25 May 2008 08:15 PM

Do you have URL rewrites enabled in the backend of Magento? And what do you have for the unsecure/secure base store url/link values?

You can find all of this in System > Configuration > General > Web.

If you have mod_rewrite on your server, then set Use Web Server Rewrites to Yes. Otherwise leave it as No.

For the Unsecure section, make sure the values are:

Base URLhttp://opengate.dk/w_magento/magento/
Base Link URL{{unsecure_base_url}}
Base Skin URL
{{unsecure_base_url}}skin/
Base Media URL{{unsecure_base_url}}media/
Base JavaScript URL{{unsecure_base_url}}js/

And for the Secure section, for now just leave it the same as above:

Base URLhttp://opengate.dk/w_magento/magento/
Base Link URL{{secure_base_url}}
Base Skin URL
{{secure_base_url}}skin/
Base Media URL{{secure_base_url}}media/
Base JavaScript URL{{secure_base_url}}js/

Thank you. It helps me!

 
Magento Community Magento Community
Magento Community
Magento Community
 
Hichamza
Jr. Member
 
Total Posts:  10
Joined:  2010-12-11
 

Fixing Mod_Rewrite Errors Getting A 404 Cannot Find Page Error!

The most common cause for this is that you have an incorrect .htaccess file in your ftp.

Goto the magentocommerce.com site and download the magento files again.

Extract the files, and ONLY upload the .htaccess file to your Magento root directory.

This should fix any problems related to enabling the use of web server rewrites in Magento.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Kunzi
Member
 
Total Posts:  44
Joined:  2009-02-11
 
ryan777 - 28 June 2011 03:35 PM

Also make sure that if you move your site, your .htaccess file goes with it if you are using URL Rewrites. I just battled with these same problems for over an hour, only just realizing that for whatever reason the .htaccess from the old location didn’t make it into the zip file when moving it!

Thanks! This solved my problems. I transferred a site to another domain, but in process copied the files to my computer and then to the new domain. The .htaccess file was not included and thus the site did not work.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top
Page 2 of 2