Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to handle V2 urls


Recommended Posts

Is there any code in place to handle V2 style url's, like https://...com/product_info,php?products_id=123 and the rewritten ones like https://...com/some_name-p-123.html? There's no simple way to add rewrite code to the roots .htaccess file for this so this could cause quite a drop in the rankings for a site.

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

16 hours ago, Jack_mcs said:

Is there any code in place to handle V2 style url's, like https://...com/product_info,php?products_id=123 and the rewritten ones like https://...com/some_name-p-123.html? There's no simple way to add rewrite code to the roots .htaccess file for this so this could cause quite a drop in the rankings for a site.

You can place any name for product url in the  SEO Page name field.

For auto naming you can run SQL like this:

UPDATE products SET products_seo_page_name = CONTACT('some_name-p-',products_id,'.html')

 

Seo-page-name.png

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