---
title: 'Markdown URL with &noprocess flag'
url: 'https://getgrav.org/forum/support/markdown-url-with-noprocess-flag-t81'
markdown: 'https://getgrav.org/forum/support/markdown-url-with-noprocess-flag-t81.md'
date: '2026-06-21'
description: 'Markdown is manipulating my URL even though I add the &noprocess flag. my URL [Link Here](https://sampledomain.com/?q=page/test-page-16779&noprocess) what is'
---

[Support](https://getgrav.org/forum/support)

#  Markdown URL with &noprocess flag 

  Started by Claud Rusnac 4 years ago · 5 replies · 758 views    

 [4 years ago](https://getgrav.org/forum/support/markdown-url-with-noprocess-flag-t81#post-36165 "Permalink") 

Markdown is manipulating my URL even though I add the &noprocess flag.

my URL `[Link Here](https://sampledomain.com/?q=page/test-page-16779&noprocess)`
what is being returned `https://sampledomain.com/?q=page%2test-page-16779`

last edited 12/01/22 by Claud Rusnac

 [4 years ago](https://getgrav.org/forum/support/markdown-url-with-noprocess-flag-t81#post-36167 "Permalink") 

@crusnac, What result are you hoping to get?

 [4 years ago](https://getgrav.org/forum/support/markdown-url-with-noprocess-flag-t81#post-36168 "Permalink") 

I am hoping to get `https://sampledomain.com/?q=page/test-page-16779`

the `/` in `page/test-page-16779` is being replaced with `%2` see `page%2test-page-16779`

 [4 years ago](https://getgrav.org/forum/support/markdown-url-with-noprocess-flag-t81#post-36169 "Permalink") 

@crusnac, Yes, I got that...

I'm afraid my question was a bit confusing... I was hoping for some more information because I don't know how you interpret the given url, what you are expecting and what in your mind the problem is.

- You might have made a typo in `?q=page%2test-page-16779`, while url encoding should result in `?q=page%2Ftest-page-16779`. Notice your `%2` vs `%2F`.
- You might NOT have made a typo in `?q=page%2test-page-16779`.
- You might be expecting that `?q=page` is the query, and `/test-page-16779` is a path to a page.
- You might be expecting that `?q=page/test-page-16779` is the query.
- You might be expecting that `?q=page%2Ftest-page-16779` will be misinterpreted by the server.
- You might be expecting that `&noprocess` would not encode the `/` into `%2F`
- You might just find `?q=page%2Ftest-page-16779` to be ugly.
- ...

last edited 12/02/22 by pamtbaau

 [4 years ago](https://getgrav.org/forum/support/markdown-url-with-noprocess-flag-t81#post-36170 "Permalink") 

Yes, sorry. My url is `https://sampledomain.com/?q=page/test-page-16779` (cleansed for security reasons).

When I use the url above in a document `[Link Here](https://sampledomain.com/?q=page/test-page-16779&noprocess)`, Grav manipulates it by encoding the `/` into `%2F` which makes the URL invalid.

Based upon the documentation adding a `&noprocess` shouldn't encode? Is this a bug or am I missing something?

 [4 years ago](https://getgrav.org/forum/support/markdown-url-with-noprocess-flag-t81#post-36171 "Permalink") 

@crusnac,

> Grav manipulates it by encoding the `/` into `%2F` which makes the URL invalid

A url with a query containing `%2F` isn't invalid.
Google, for example, turns a search for "invalid/url" into url `https://www.google.com/search?q=invalid%2Furl...`

What makes you think it is invalid? Did you get an error somewhere?

> Based upon the documentation adding a `&noprocess` shouldn’t encode?

I presume you're referring to subjects [Skip all attributes](https://learn.getgrav.org/16/content/linking#skip-all-attributes) and [Skip certain attributes](https://learn.getgrav.org/16/content/linking#skip-certain-attributes) from the [Link attributes](https://learn.getgrav.org/16/content/linking#link-attributes) section.

It doesn't say anything about url-encoding, but only that using `&noprocess`, all/certain attributes in the provided link will not be extracted into attributes in `<a>` elements. Like `?classes=underline` for example.

See the code that transforms the Markdown link into an anchor element: [Excerpts.php::processLinkExcerpt()](https://github.com/getgrav/grav/blob/f0e263a4040f3b6a6941b93a14d60ae60bc4acb9/system/src/Grav/Common/Page/Markdown/Excerpts.php#L119-L142). It is line 142 using PHP function [http\_build\_query()](https://www.php.net/manual/en/function.http-build-query.php) that converts the `/` into `%2F` in the query part of the link.

last edited 12/02/22 by pamtbaau

[Log in](https://getgrav.org/login?return=%2Fforum%2Fsupport%2Fmarkdown-url-with-noprocess-flag-t81) to reply.

###  Suggested topics

 | Topic | Participants | Replies | Views | Activity |
|---|---|---|---|---|
| [Try to inherit a Theme but get an error](https://getgrav.org/forum/support/try-to-inherit-a-theme-but-get-an-error-t9508)    [Support](https://getgrav.org/forum/support) · by TomW, 1 day ago |  | 2 | 33 | [2 hours ago](https://getgrav.org/forum/support/try-to-inherit-a-theme-but-get-an-error-t9508 "by TomW") |
| [retina images are shown in Admin (but not all of them)](https://getgrav.org/forum/support/retina-images-are-shown-in-admin-but-not-all-of-them-t9504)    [Support](https://getgrav.org/forum/support) · by Anna, 1 week ago |  | 2 | 143 | [1 day ago](https://getgrav.org/forum/support/retina-images-are-shown-in-admin-but-not-all-of-them-t9504 "by Anna") |
| [page.date != page.header.date, now my collection sorting is broken (bug? by design?)](https://getgrav.org/forum/support/page-date-page-header-date-now-my-collection-sorting-is-broken-bug-by-design-t9484)    [Support](https://getgrav.org/forum/support) · by Anna, 3 weeks ago |  | 1 | 299 | [3 weeks ago](https://getgrav.org/forum/support/page-date-page-header-date-now-my-collection-sorting-is-broken-bug-by-design-t9484 "by Anna") |
| [it's no possible sign in with email......](https://getgrav.org/forum/support/it-s-no-possible-sign-in-with-email-t9462)    [Support](https://getgrav.org/forum/support) · by webmasterodp, 1 month ago |  | 4 | 400 | [1 month ago](https://getgrav.org/forum/support/it-s-no-possible-sign-in-with-email-t9462 "by webmasterodp") |
| [Site stopped working overnight - 'not writeable' error](https://getgrav.org/forum/support/site-stopped-working-overnight-not-writeable-error-t9445)    [Support](https://getgrav.org/forum/support) · by nwhitfield, 1 month ago |  | 2 | 373 | [1 month ago](https://getgrav.org/forum/support/site-stopped-working-overnight-not-writeable-error-t9445 "by pamtbaau") |
