Taha Posted November 16, 2024 Share Posted November 16, 2024 hi I want to create a custom search form link for specific domains. Example .net, .shop, .info etc. How do I create a link? Or how do I edit the form field for just one domain extension? 0 Quote Link to comment Share on other sites More sharing options...
johnwilliam21 Posted November 25, 2024 Share Posted November 25, 2024 To create a custom search form link for specific domains like .net or .shop, append the domain extension as a query parameter in your form's action URL. For example: <form action="search.php?domain=.net" method="get"> For editing the form field for one domain, use a hidden input field to predefine the extension: <input type="hidden" name="domain" value=".net"> Let me know if you need further help! 1 Quote Link to comment Share on other sites More sharing options...
Huslua Posted February 3 Share Posted February 3 You can create a custom search link by modifying the search URL with a specific domain extension. For instance, if you're using Google, the link format would look like this: https://www.google.com/search?q=site:.net+your+search+query Just replace .net with whatever domain extension you're targeting. If you're editing the form field, you'll likely need to adjust the action URL or use a hidden input field that specifies the domain filter for the search. It's pretty straightforward once you get the hang of it! 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.