Recognition

Posts

6 Posts
  • Published Question

    Remove parameter in URL with .htaccess

    Hello Community, I'm again trying to do some stuff with .htaccess and for some reason am not able to. I want to remove a parameter from my URL. Let me give you an example, let's say I have something in the lines of M...
    Accepted Answer: Hi @brendRos, Nice seeing you again! So, I think a redirect like the following should work: ```bash RewriteEngine ON RewriteCond %{THE_REQUEST} \s/index.php\?band=(\S+)\s [NC] RewriteRule ^ /%1? [R=301,L] RewriteCond ...
    1 By brendRos Apache
  • Published Question

    Restrict 301 redirects by IP

    It's me again! Recently I posted in the community about some specific 301 redirects and it seems I'm again stuck on this topic. I'm generating URLS for redirection with .htaccess and what I need to add now is to some ...
    Accepted Answer: Hi @brendRos, I'm glad to see you using the community more and more that's really cool! As for your question, you can do something like the following: ```bash RewriteEngine On RewriteCond %{REMOTE_ADDR} !=XXX.XXX.XXX....
    1 By brendRos Apache
  • Published Question

    301 Redirect - only the root folder to another page

    Hello community I'm trying to do a 301 redirect on my website. My aim is to redirect only a certain folder to another page but not redirect if someone has entered a specific URL in that folder. Let me clarify what I m...
    Accepted Answer: I'll recommend using <^>RedirectMatch<^>. You can read more about it here : https://httpd.apache.org/docs/2.4/mod/mod_alias.html Basically, this directive is equivalent to Redirect, but makes use of regular expressio...
    1 By brendRos Apache
  • Published Question

    Using Multiple Git Repositories with Jenkins - CI/CD

    Hi all, It's been a long time since I last posted a question here but I'm back! :D Anyway, I'm currently trying some stuff with Jenkins and I've started creating a small project. I have an issue where I have 3 reposi...
    Accepted Answer: Hi @brendRos, I think in your case the RelativeTargetDirectory plugin of the GitSCM class should help. You can read more about it here: Relative Target Directory (https://javadoc.jenkins.io/plugin/git/hudson/plugins/g...
    2 By brendRos CI/CD
  • Published Question

    Help with contributing to projects

    Hey all, I've been trying to push myself into learning more and I read somewhere that it's good to start contributing to open source projects. I recently learn about hacktoberfest and the idea is pretty cool but I'm ...
    2 By brendRos Git PHP Python
  • Published Question

    JavaScript causing issues

    Guys, I've been experiencing an issue where my function has been constantly executing without actually. Here is my JavaScript code ``` <script> //Constants const testInput = document.querySelector('[name=te...
    Accepted Answer: Hi @brendRos, The error is quite common and it's not actually an error, it's how JavaScript works. Turn your attention to your Event Listeners: //EventListeners testInput.addEventListener('click', ExecuteRelo...
    1 By brendRos JavaScript CoreOS