skip to Main Content

PHP not accepting URLs with special characters

I'm trying send following URL as parameter to php, https://boxtext.com/expected-my-list-size-b2b#:~:text=%E2%80%9C1%2C000%20email%20subscribers%20is%20a,monetization%20methods%2C%E2%80%9D%20Smith%20says. I try to read the URL using $url = $_REQUEST["new_url"]; echo $url; This works fine for the URLs without any special characters. If I remove #:~: this part of the…

VIEW QUESTION

Apache – Pretty URLs with .htaccess rewrite engine

Hej, I'm trying to achieve a pretty urls for my site with rewrite engine. The goal is this - mysite.dk/da, mysite.dk/da/success and mysite.dk/da#scroll. So far my htaccess file looks like this: RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}.php -f RewriteRule…

VIEW QUESTION
Back To Top
Search