Results 1 to 7 of 7
  1. #1
    Join Date
    Aug 2006
    Posts
    16
    Plugin Contributions
    0

    Default remove redirect in Products URL

    Hi,
    when I add a product and put a link in the Products URL field Zencart creates a redirect like this: http://domain.com/index.php?main_pag...therdomain.com

    There is a way to link directly without redirect?

    Thank you.

  2. #2
    Join Date
    Jul 2009
    Posts
    495
    Plugin Contributions
    0

    Default Re: remove redirect in Products URL

    i dont think its possible, but all its doing is redirecting you to their site via yourself's

  3. #3
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: remove redirect in Products URL

    Quote Originally Posted by beatdis View Post
    There is a way to link directly without redirect?
    Why ?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  4. #4
    Join Date
    Aug 2006
    Posts
    16
    Plugin Contributions
    0

    Default Re: remove redirect in Products URL

    I want to create a satellite website to promote some articles of another website and I think is best to link directly for SEO.

  5. #5
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: remove redirect in Products URL

    Well, one of the primary reasons for the redirect is specifically to *not* give page-rank for your products to someone else.

    If you must change it, change this section in your customized version of tpl_product_info_display.php:
    Code:
    <?php echo sprintf(TEXT_MORE_INFORMATION, zen_href_link(FILENAME_REDIRECT, 'action=url&goto=' . urlencode($products_url), 'NONSSL', true, false)); ?>
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  6. #6
    Join Date
    Aug 2006
    Posts
    16
    Plugin Contributions
    0

    Default Re: remove redirect in Products URL

    Thank you for the reply.
    Unfortunately I'm not able with php and I don't know how to modify the code to remove the redirect.

    Thank you.

  7. #7
    Join Date
    Aug 2006
    Posts
    16
    Plugin Contributions
    0

    Default Re: remove redirect in Products URL

    No one can help me?

    Thank you all, anyway.

 

 

Similar Threads

  1. Replies: 2
    Last Post: 16 Feb 2016, 10:34 PM
  2. Weird URL redirect
    By Boatersplanet in forum General Questions
    Replies: 2
    Last Post: 28 Jun 2011, 11:51 PM
  3. How to redirect image URL?
    By musicfreer in forum General Questions
    Replies: 4
    Last Post: 17 Jun 2011, 11:53 PM
  4. Redirect Catergory to different URL?
    By plsony in forum Setting Up Categories, Products, Attributes
    Replies: 17
    Last Post: 25 May 2010, 02:15 AM
  5. URL redirect
    By expensivedesign in forum Basic Configuration
    Replies: 7
    Last Post: 20 Sep 2009, 09:09 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg