I'm using ezpublish 5.4.11. Our customer want us to disable the search engine. We managed to hide the input and button on the templates. Then, we'd like to disable access to search result page and to do it in a clean way (from a SEO point of view :permanent redirect to homepage). What is the best way to do this ? Besides, any other setting to update ?
Disable ezPublish search functionality
58 views Asked by Laurent Finet-Baron At
1
There are 1 answers
Related Questions in SEARCH
- How to create a regular expression to partition a string that terminates in either ": 45" or ",", without the ": "
- Hospital route finding ai project
- tryin to write a function that searches for SSN in a dict, and if that SSN is found, to retrieve all the data associated with that SSN
- How the search filter from search bar works in mern?
- Angular application loading weirdly when I add "/" at the end of URL
- Elastic python to extract last 1hr tracing
- How to detect if two sentences are simmilar, not in meaning, but in syllables/words?
- I need to have a look at all my private pine scripts and filter the scripts for certain words in TRADINGVIEW
- What is correct URL? {'quandl_error': {'code': 'QECx01', 'could not recognize URL: /api/v3/databases/WIKI/search. Please check URL and try again.'}
- Solr 9 punctuation issue
- Autocomplete search filter not working for dynamically added input fields in angular
- How to correct call API search request with debounce?
- Search in GDrive only the first 5 topics
- How do I use sp/pnp sp.search to find all Associated sites when querying a hub site Id
- How to apply custom analyzers on a field in Vespa schema
Related Questions in EZPUBLISH
- EzPLatform kernel class extension
- You have requested a synthetic service ("kernel"). The DIC does not know how to construct this service
- site access doesn't appear in url
- Symfony 5 service crash at compilation because of ManagerRegistry injection
- Symfony 5.x - What is the point of the alias logic?
- Ibexa Graphql error : Could not find type with alias "RepositoryLanguage"
- Cannot get page information from the server
- Uncaught PHP Exception "Unknown handler dfs" in eZ Publish
- User redirecting to login page even after successful authentication in Ez Publish
- multisite eZ Platform installation
- ezpublish 4.3.0. management screen
- Disable ezPublish search functionality
- Symfony The security context contains no authentication token
- ezpublish 5.4 sort according to parent field
- Can't send Email SMTP in ez publish 5.4
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
I assume you have access to Symfony? I did this for a client by creating a controller that throws a 404 exception. I then routed the search page to the 404 controller. Because symfony sits in front of eZ Publish, you can use symfony to disable any default eZ modules. Moreover, if you were to upgrade to Platform, this method of disabling the module would continue to work. Note that in my example I am preferring to 404 rather than redirect. You could also 410 or 301 the controller by changing the HTTP Exception returned.
The route config:
The controller:
Alternatively, if you want to disable a default module/view in the legacy stack alone, you can use the
site.ini'sSiteAccessRulesblock.