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

  • SEARCH
  • Home
  • 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 8621975
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T06:56:33+00:00 2026-06-12T06:56:33+00:00

My Django site is an ecommerce store. Relatively nontechnical copy editors will be logging

  • 0

My Django site is an ecommerce store. Relatively nontechnical copy editors will be logging into the Django admin interface and writing the copy for each of the product pages. They have told me that they want to be able to create links in this copy to other pages on the site. For example, if a product references another product in its description, they want to link between the pages.

I see a couple of possible options:

  1. They simply hardcode the urls in <a> tags in the copy. I’ve set up ckeditor for the admin textareas so this would be the simplest solution, but if the url structure of the site ever changed, (say we changed them for SEO purposes) all the links would break.

  2. Introduce some sort of wiki syntax where they surround the text that they want the links to be in square brackets. Something like:

    Widget A works really well with [[Widget B]]. It is good.

would produce:

Widget A works really well with <a href="/detail/widget-b/">Widget B</a>.  It is good.

Then you have the problem of what happens if the product’s name changes?

Has anyone dealt with this problem before and come up with a solution that is flexible enough to allow changing links/names/etc?

  • 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-12T06:56:35+00:00Added an answer on June 12, 2026 at 6:56 am

    I deal with this issue frequently. Ultimately, you have to be very persuasive to convince me to allow embedding links directly into the copy–especially with an e-commerce website.

    • What if the product name changes or is re-branded?
    • What if the product is discontinued… you don’t want 404 errors from your internal links.
    • Do you really want to lead people away from your “add to cart” call to action that high up on the page?
    • Do they know your SEO strategy? Are they going to dilute your links? What verbiage will they use? Will they ensure the link is valid?

    When I am asked to give copy/product development team the ability to add links I always start with a No. Ask them what they need them for, explain the problems that can arise (eg. extra cost in maintaining valid links, conversion rate considerations, SEO considerations), and offer alternative solutions.

    For example, I usually offer the ability to allow them to associate products with products as “Associated Products”, “Related Products”, “Accessories”, “More Information” etc. You can have these in tabs or lists at the bottom of the product page. These would be in models and thus you have control over not displaying discontinued products, the link names are the product names (which you have SEO control over), etc. Determine if they are going for cross-selling, up-selling, or providing the end user with more information.

    As a last resort I have also used a custom code parser which is again based on the target object and not a hard-coded link. For example, let’s say you give them the ability to do:

    Widget A works really well with [product=123].
    

    A custom template tag, parser in your model/view can replace that with a link to the the Product with id=123 (or use slug) based on get_absolute_url(). If the product is discontinued, the name can still show but no link. This only works if you have a policy of never deleting records. Even then, you may have to have some error handling for when they enter an invalid product ID or somebody does delete that product. That will happen.

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

Sidebar

Related Questions

I have a Django site in which the site admin inputs their Twitter Username/Password
I've built a Django site that will live at the root when it's live.
I am building a Django site framework which will power several independent sites, all
On my Django site I would like users to communicate with each other in
I've set up a basic django site using the automatic admin, and was using
I'm building a ecommerce site with django and i'm working on the page that
I'm building an ecommerce site with django. I want to build a page that
I've writing a Django site that uses two different databases. One is the local,
My Django site is set up with some middleware that on each request, checks
I've built a django/satchmo ecommerce site which is starting to get some traffic, and

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.