Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8353519
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T09:17:20+00:00 2026-06-09T09:17:20+00:00

There’s a strange behavior with URL rewrites on our Magento installation, and I’m having

  • 0

There’s a strange behavior with URL rewrites on our Magento installation, and I’m having a hard time believing there’s nothing wrong with it. FYI, I currently have…

System –> Configuration –> Catalog –> Catalog –> SEO –> Create Permanent Redirect for URLs if URL Key Changed is “No”

Also

I’ve already tried re-indexing URL rewrites from System -> Index Management. This does not seem to remove rewrites that are already in place.

When I upload a product via a data feed, I leave url_key column blank so that Magento can create its own using the products’ names. So, if I upload a product named White Shirt A, it will create a target-to-request path catalog/product/view/id/1234 to mydomain.com/white-whirt-a.html. However, if I completely delete this product from the admin panel, and re-upload the same data feed I used earlier, Magento does not remove the preview URL mapping to mydomain.com/white-whirt-a.html. Instead, it creates a new URL rule to mydomain.com/white-whirt-a-1.html (or sometimes mydomain.com/white-whirt-a-1234.html using the product ID for some reason). Note that in the admin, the product will have mydomain.com/white-whirt-a.html as its URL key, which is not correct.

Some problems:

  1. I don’t want the ...-1.html or ...-1234.html to be created. How do I prevent getting these “hyphen” links?

  2. The larger problem is that the url_key available in admin and catalog export file display mydomain.com/white-whirt-a.html for this product. When the actual URL is mydomain.com/white-whirt-a-1.html.. What is going on?

  3. When does Magento create a URL rewrite using the product ID? i.e. mydomain.com/white-whirt-a-1234.html

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T09:17:22+00:00Added an answer on June 9, 2026 at 9:17 am

    It seems that Magento, or at least our current version, does not remove an URL rewrite once it has been created, no matter what the settings are or whether or not the corresponding product exists in the current catalog. So, if you upload a product with ID 1234 and delete this product later on, the URL rewrite remain in place in core_url_rewrite. For whatever reason you upload this product again, it will have a new product ID, of course, like 5678, but since the URL rewrite exist from product ID 1234 its name is the same as product ID 1234, you will end up with ...-1.html for your new rewrite. I’ve asked Magento to help, but they just don’t quite get what I’m trying to explain.. in the meantime, emptying the table core_url_rewrite will work for a dev site.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

There is a directed graph having a single designated node called root from which
There is this strange situation I'm fighting on. I have 3 pages, les call
We're building an app, our first using Rails 3, and we're having to build
There are many tutorials that talk about deleting index.php from the url. But I
There are a few ways to get class-like behavior in javascript, the most common
There is something strange happening. Param interceptor is the one in charge to take
There is a moment in my app, that I need to force to show
There is a column that exists in 2 tables. In table 1, this column
There's a Rails 3.2.3 web application which doesn't use any database. But in spite
There are two intents on the receiver side which are called from the same

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.