Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Conflict with wordpress upgrade to 2.0.4


ServaasProducts

Recommended Posts

Up until Monday, my oscommerce installation at servaas.com.au was happily co-existing with a Wordpress blog at servaas.com.au/blog

 

Then I upgraded from WP2.0.3 to 2.0.4

 

Now that I have upgraded, the blog is live, and the homepage of oscommerce is live, but if I (or customers) click on any product, they get taken to the blog and get a "page not found" message. Interestingly, static pages such as /contact_us.php and /privacy.php work fine.

 

I tried deleting the /blog folder on the server (via FTP) and re-loading all the files from my backup of 2.0.3 but when I went to /wp-admin/index.php it said my database was out of date and asked me to upgrade. I did, and now I have 2.0.4 again and I am back where I started.

 

Anyone know what is causing this new conflict?

Link to comment
Share on other sites

I worked it out.

 

I had changed the wrong .htaccess file. :'( I had added the following to the oscomemerce .htaccess

 

RewriteEngine On

RewriteBase /blog/

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule . /blog/index.php [L]

 

 

I deleted it from the oscomemerce .htaccess and added it to the wordpress .htaccess and all is working agian now

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...