Please help us to make AbanteCart Ideal Open Source Ecommerce Solution for everyone.

Support AbanteCart eCommerce

Author Topic: Is there a way to use "relative" linking rather than absolute/hard linking?  (Read 933 times)

Offline soup-n-sandwich

  • Newbie
  • *
  • Posts: 19
  • Karma: +0/-1
    • View Profile
Is there a way to use "relative" linking rather than absolute/hard linking for internal pages?
In the past on other platforms I was able to use relative links that would allow a certain amount flexibility.  I had some issues with my AbanteCart installation with upgrading and was forced to reinstalled and migrate database, store, etc. over.  When this was done I placed the on-line store from the "store" directory to a new directory called "retail".  Now most of the links within the store still point a the "store" directory because I didn't know any other way to link a page other than going to the page I wanted to be linked to, copying the URL and placing this URL as the linkable text or menu item. 

Is there a better way to link page so in the future I don't run into this issue?
« Last Edit: December 18, 2016, 11:19:00 AM by soup-n-sandwich »

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 4575
  • Karma: +223/-0
    • View Profile
Hello.

Better way is use links relative to your domain
http://www.motive.co.nz/glossary/linking.php
“Chuck Norris is so amazing.”
― Mother Teresa

Offline soup-n-sandwich

  • Newbie
  • *
  • Posts: 19
  • Karma: +0/-1
    • View Profile
Thanks Basara!  I'll do that.
Soup

 

Powered by SMFPacks Social Login Mod