Hot answers tagged

5

Under Members -> Preferences in the control panel, you can set the Profile Triggering Word (see docs) to % which will make them completely inaccessible from the frontend. Another technique is to configure it randomly in the config.php like this: $config['profile_trigger'] = rand(0,time());


3

Try adding this within your channel:entries tag: {exp:channel:entries ....} {if no_results}{redirect="404"}{/if} {/exp:channel:entries} This should trigger a 404 error on paginated pages that have no entries in them. If you install Mo' Variables, you can enable an {if paginated} conditional for your templates. Then you can get a bit more specific and ...


2

As you've stated the S stands for session, so EE can identify the user throughout the site visit using a query string. Google can't natively index these links, unless the Googlebot learns to create an account! I don't know if your site is a member type site, but my guess is either a member of your site has published a link somewhere, or more likely, your ...


1

I believe each EE site uses any template that shares same data. Like., Head, Header, Footer etc. You can select any of those templates and put your JS code inside it. To find out, You can edit any template to see structure of the site. If You will find {embed="..."} tag that shares head, header etc. you can paste your code in that file that is embeding. In ...


1

I would think just putting those pages into a robots.txt file would be effective. Just a plain text file that sits in your website's root directory and includes basic site information (e.g. about location of your sitemap etc.). This can include statements instructing Google's robots to ignore specific files and folders - e.g. Disallow: /ajax/ will tell ...


1

You can use php to attempt to detect a bot, and dynamically show the desired content based on the results. Not perfect, but may help with your case. Check out this add-on https://devot-ee.com/add-ons/detect-spider for ee2 and maybe you could modify for ee3 if needed.


1

CE image does not have the ability to change the name of the image tag. You could, however, simply wrap your final html in a plugin with a replace method. For example, this is how to do that with CE String: {exp:ce_str:ing replace='<img|<amp-img'} <!-- your final html --> {/exp:ce_str:ing} Disclaimer: I am the author of both the CE Image ...


Only top voted, non community-wiki answers of a minimum length are eligible