Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8816613
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T04:39:37+00:00 2026-06-14T04:39:37+00:00

I have searched for this for about a week now and still cant find

  • 0

I have searched for this for about a week now and still cant find an answer to my question so I’m finally braking down and asking here! What I am trying to accomplish is to redirect a URL ONLY if it contains #NOTECHWORKING at the end. Notice the #. I’ve tried simple redirects but nothing is working with the # included.

This is what I have tried with no success:

RewriteCond %{REQUEST_FILENAME} #NOTECHWORKING  
RewriteRule ^.*$ http://www.mydomain.com/chatclosed.html [L]

This:

RewriteCond %{REQUEST_URI} #NOTECHWORKING 
RewriteRule ^.*$ http://www.mydomain.com/chatclosed.html [L]

And Also:

RewriteCond %{QUERY_STRING} #NOTECHWORKING 
RewriteRule ^.*$ http://www.mydomain.com/chatclosed.html [L]

If this needs to be done in Javascript, I would have no clue how to accomplish this!

Any help would be greatly appreciated.
Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T04:39:38+00:00Added an answer on June 14, 2026 at 4:39 am

    It can be done by using JavaScript. to apply the command by using back/next buttons:

    window.onhashchange = function() {
        var h=window.location.hash;
        if(h.substr(1) == 'NOTECHWORKING') window.location.replace("http://www.mydomain.com/chatclosed.html");
    };
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have searched about this but can't seem to find exactly how to do
I have searched but have not been able to find any information about this.
   I have searched on SO about this question, but I basically haven't found
I have searched on google about this issue and I can't find something that
I have searched everywhere and can't find anything about this: I have a checkbox
I have searched for this, and I can't find any documentation about doing these
So I have searched for this but not finding anything about it and if
I have searched for this for a long time now... I am writing an
I have searched for this but nobody have the same issue.. Now I need
I have searched for a general solution to this but only find answers to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.