Category "url-rewriting"

NGINX rewrite rule using two variables

I would like to achieve this but don't know how, or if it is possible: web.com/anything => if web.com/show.php?query=anything web.com/anything/something =>

NEXT/Image Component URL issue

I am using NEXT/Image component and facing this issue: When I open the source code on chrome the image src is this: https://www.example.com/_next/image?url=%2Fi

Redirect an https URL to an internal web app

I currently have an https domain https://example.com hosted in a Windows Server R2019 machine. I am also developing a web application in Node.js in my laptop th

URL rewriting with /!#/ symbol in web.config

I want to redirect my old url https://mysite1.com/#!/page1 to new url https://mysite2.com/page1, other answers did not help, tried. <rule nam

Can a response from an http request alter the base address in the next client request?

I have an octoprint server running at http://192.168.1.205. I also have an nginx server hosting myDomain. I want to be able to use the nginx server to pass on

NextJS URL rewrite creates duplicate pages?

I just setup URL rewrites in NextJS to translate my URLs for my multilingual website. This is how my next.config.js file looks: module.exports = { i18n: {

How to do 1 URL re-write rule for multiple ids?

I have these URLs: https://www.example.com/amp/articles/10/title https://www.example.com/amp/videos/11/title I need to redirect only specific ids to non amp as

Use a Laravel Application alongside another scripts (wp/joomla/...) and remove /public

This is my directory structure: Public_html /app /bootstrap /config /database /public /resources /routes /vendor /storage /another-sctipt I

IIS URL Rewrite - Change Beginning of URL

I would like to replace https://web1.domain.org/cwweb/LauncherInterface.aspx?host=https://web1.domain.org/ with https://web2.domain.org/cwweb/LauncherInterface

Not able to see URL without trailing slash in NGINX

I know that this is a common issue in NGINX and there are many threads about that. Issue: When accessing the URL http://localhost/var without trailing slash is

.htaccess RewriteRule Weird Bug

# Do not remove this line or mod_rewrite rules and search engine friendly URLs will stop working Options +FollowSymLinks RewriteEngine On # Removes index.php

Understanding RewriteRule & HTACCESS

I'm building a blog with a prety easy page structure, consisting of articles.php, article.php and categories.php and I'd like to tidy up the url path for each p

Setup nginx not to crash if host in upstream is not found

We have several rails apps under common domain in Docker, and we use nginx to direct requests to specific apps. our_dev_server.com/foo # proxies to foo app our

Rewrite url in haproxy

I have haproxy as front layer to our nodejs app and I'm looking for a way to rewrite url. For example, if customers go to https://aaa.com/product/123, haproxy w