skip to Main Content

Can I use HTACCESS to format this URL? – Apache

I would like to know if it is possible to format a URL like https://site1.com/en/article-details.test-article?item=test to https://site1.com/en/article-details/test-article?item=test so basically changing the .test-article to /test-article. Because of how my site works it only recognizes .test-article as a valid selector so reading…

VIEW QUESTION

httpd (apache) – rewrite page -> query parameter

I have a website containing a directory and pages. Let's call the directory 'Maintenance' and pages 'page1.html,...' I want to redirect each file under the directory to query parameter such as '/?q=pageX'. <VirtualHost *:80> ServerName myServer.com ServerAlias www.myServer.com DocumentRoot "/var/www/html"…

VIEW QUESTION

.htaccess RewriteRule gives right link but also a 404 – Apache

I'm hosting different sites http://example.nl/example.nl/_sites/byos/ http://example.nl/example.nl/_sites/eggbot/ http://example.nl/example.nl/_sites/hslab/ http://example.nl/example.nl/_sites/prolactin/ And yes there is a folder that has the same name as the domain, there is a reason for that. And I want the links to become: http://example.nl/byos/ http://example.nl/eggbot/ http://example.nl/hslab/ http://example.nl/prolactin/ This…

VIEW QUESTION

How rewrite url in htaccess – Apache

Good Morning, I have documents within the structure of my website, which are accessed with the following url format: http://example.com/docs/files/123/mydoc.pdf http://example.com/docs/files/475/otherdoc.pdf I want when a url of the above type is accessed, it is renamed with the following format: http://example.com/123/mydoc…

VIEW QUESTION
Back To Top
Search