Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

Just installed the latest full version of Ultimate SEO contirbution.

Install all went OK, unfortunately I get an error 404 on every single page i try to view other than the home page.

 

I presume this is going to be something obvious.. I just cannot think what, as i followed all the instructions correctly. I have also cleared my cache.

 

Does cache control need to be on?

Posted
Just installed the latest full version of Ultimate SEO contirbution.

Install all went OK, unfortunately I get an error 404 on every single page i try to view other than the home page.

 

I presume this is going to be something obvious.. I just cannot think what, as i followed all the instructions correctly. I have also cleared my cache.

 

Does cache control need to be on?

 

My initial guess would be .htaccess

 

Did you set the following correctly?

 

For a shop in root (www.mysite.com/)

RewriteBase /

 

For a store outside of root in a directory (www.mysite.com/catalog/)

RewriteBase /catalog/

Posted

Has the htaccess rules and file taken care of.

What url is on Your browser.

 

Satish

Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Posted
Has the htaccess rules and file taken care of.

What url is on Your browser.

 

Satish

 

Hi, thanks for your replies.

 

I have the .htaccess file uploaded to my public_html folder on the server.

The text in the .htaccess file is as follows:

 

 

RedirectMatch permanent ^/$ http://tintisha.com/store

 

 

Options +FollowSymLinks

RewriteEngine On

RewriteBase /store/

 

RewriteRule ^(.*)-p-(.*).html$ product_info.php?products_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-c-(.*).html$ index.php?cPath=$2&%{QUERY_STRING}

RewriteRule ^(.*)-m-(.*).html$ index.php?manufacturers_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-pi-(.*).html$ popup_image.php?pID=$2&%{QUERY_STRING}

RewriteRule ^(.*)-t-(.*).html$ articles.php?tPath=$2&%{QUERY_STRING}

RewriteRule ^(.*)-a-(.*).html$ article_info.php?articles_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-pr-(.*).html$ product_reviews.php?products_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-pri-(.*).html$ product_reviews_info.php?products_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-i-(.*).html$ information.php?info_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-links-(.*).html$ links.php?lPath=$2&%{QUERY_STRING}

 

My store is in a folder called 'store' inside the public_html folder.

 

Still no joy though.

Thanks

Rich

Posted
Hi, thanks for your replies.

 

I have the .htaccess file uploaded to my public_html folder on the server.

The text in the .htaccess file is as follows:

RedirectMatch permanent ^/$ http://tintisha.com/store

Options +FollowSymLinks

RewriteEngine On

RewriteBase /store/

 

RewriteRule ^(.*)-p-(.*).html$ product_info.php?products_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-c-(.*).html$ index.php?cPath=$2&%{QUERY_STRING}

RewriteRule ^(.*)-m-(.*).html$ index.php?manufacturers_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-pi-(.*).html$ popup_image.php?pID=$2&%{QUERY_STRING}

RewriteRule ^(.*)-t-(.*).html$ articles.php?tPath=$2&%{QUERY_STRING}

RewriteRule ^(.*)-a-(.*).html$ article_info.php?articles_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-pr-(.*).html$ product_reviews.php?products_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-pri-(.*).html$ product_reviews_info.php?products_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-i-(.*).html$ information.php?info_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-links-(.*).html$ links.php?lPath=$2&%{QUERY_STRING}

 

My store is in a folder called 'store' inside the public_html folder.

 

Still no joy though.

Thanks

Rich

 

I have now fixed the problem. I needed the .ht access file INSIDE the 'store' folder, AND pointing to 'RewriteBase /store/'

The way the instructions were written didnt quite make sense after the first couple of reads.

 

Sorted now.. hope this helps someone else in the future. :thumbsup:

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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...