I am building Vue3 project with Vite and I am using Vite build.outDir option to build the project outside of the Vue3 app root. This is my project structure, wh
I have been trying to fix one issue for the last two weeks but didn't find any solution to my problem. So, I am trying to add HTTP authentication with PHP 7.4.
I have these URLs https://example.com/team?1892 https://example.com/team/?1892 which I need to redirect to https://example.com/team/whatever/ How can I do tha
We recently migrate our new website and we need to adjust htaccess to avoid 404 error with the search engine, The website was a Multilanguage site we decided to
I have a sub-directory on a site with a zip file in it. I want to limit access to the zip file to certain domains. I have tried many methods but none are workin
I have some website running with PHP. In my .htaccess I have added the following directives: <FilesMatch "index.php"> Header add Link "</css/bo
I have a website, which is a one-pager JS-based site. It has different "subsites" and "categories", but since everything is controlled via JS, and since there a
I am stuck in a difficult situation here I have hundreds of addon and subdomains under my "public_html" having WordPress instances inside them. While cleaning u
I want to be able to add some code to my .htaccess file that allows me to generate differently sized images by adding "?w=100&h=100" after the URL. Does any
I have following code for hiding php extension and redirecting user to a non .php url if user adds a .php extension in url for example domain.com/about.php shou
I try to use a simple 301 redirect from domain1.com/folder/ to domain2.com/ but excluding domain1.com/folder/subfolder I use the following code in .htaccess: Re
Is there a way to redirect the URL as follows: URL is generated based on a filtering system so it is like this https://example.com/product-category-no-slash-gen
I hope everyone is fine. I want to convert links like this /do.php?id=15 to /download15.html I applied this step but it doesn't work Redire
I'm trying to redirect a page and any subpages to the root but I can't find a way of doing it. I'm using the redirection plugin (https://redirection.me/). I wou
I need to rewrite the rule for my url according to this pattern: Starting url : https://example.com/path/¶m1=1¶m2=2 Destination url: https://exa
I am experiencing an issue when trying to get data from API for my react app. I am trying to pass protect my API using htaccess file so when trying to send auth
I've been searching for how to do this, and I haven't been able to get anything to work yet. I want to remove the '.php' file extension from all files that have
I am running brew/apache on on my local machine (mac-os monterrey). I want to configure virtual hosts. The lookup for one of the virtual host (panierssaison.loc
I am trying to create a htaccess for seo urls, I created my htaccess all urls works fine exclude subfolder with parameters, they redirects to sitefolder. sitefo
I want to first check if the request URI is an image and then check for a cookie and pass both the values as parameters to a file in the multiple rewrite condit