Welcome Guest, Not a member yet? Register   Sign In
Save php code in database
#3

Well, I'll advise that do this instead:

1. Use relative links structure for links that are within the main url, which in your case is the `base_url()` function. So, your link within the post content should be something like so:

Code:
<a href="/blog/post-slug">text in link</a>



2. Use absolute link structure only when the link is redirecting to an external website, like so

Code:
<a href="https://google.com">text in link</a>
Reply


Messages In This Thread
Save php code in database - by guerreroretirado - 11-22-2020, 12:33 PM
RE: Save php code in database - by ojmichael - 11-22-2020, 09:21 PM
RE: Save php code in database - by sammyskills - 11-23-2020, 02:26 AM
RE: Save php code in database - by egranty - 11-23-2020, 09:59 AM
RE: Save php code in database - by InsiteFX - 11-24-2020, 06:36 PM



Theme © iAndrew 2016 - Forum software by © MyBB