⚠ In case you've missed it we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This forum is read-only and soon will be archived. ⚠

Problem posting/inserting content that contains an url

post url relative php format

  • Please log in to reply
No replies to this topic

#1 Chriz



  • Members
  • Pip
  • 1 posts

Posted 27 August 2019 - 08:20 AM



I have just installed Grocery CRUD to manage my website.

Everything works well and i can manage my content.

The problem is when i write an article that includes an URL, linking to a external website and save/create.

Everything is posted to my DB and everything seems OK.

When displaying the post on my website, the urls are wrong, wierd format.



I write a small text and insert a link. I am using the ckeditor btw.

<a href="https://www.test.com">https://www.test.com</a>

Expecting to see https://www.test.com as a clicable link among the rest of the text that is written.


What i get is this when looking at the code on my page.

<a href="\"https://www.test.com\"">https://www.test.com</a>

Ekstra "\ results in a broken link.


When hoovering over the link i see this:


Is this something that happens when inserting to database?

I not sure how i can solve this so i can insert links which i do often.

I need some advice/help on this please. Does anyone have an idea on how to fix this?



This is my example text with an url that is not working at the moment.


\n long desc - Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. https://www.test.com

Also tagged with one or more of these keywords: post, url, relative, php, format

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users