Change links automatically to affiliate links

My goal: I want external links to shops I’m affiliated with (for example amazon) to automatically get the affiliate ID attached to it. Example: link I put in my blog post editor https://www.amazon.com/dp/B07K344J3N/ changes in frontend to https://www.amazon.com/dp/B07K344J3N/?tag=myafftag-02 What I have found: The creator of the theme I’m using is offering something very close to … Read more

Hide Login information in Account settings in Buddy Boss

First time working with Buddy Boss. I managed to customize the navigation items on the profile page, but I can’t find a solution for the Account settings page. What I’m trying to achieve is to hide/remove the Login information tab and rename the Email preferences to Email notifications. If this is doable than we have … Read more

Redirect subdomain homepage to domain specific page in wordpress multisite

I have a wordpress multisite with one site to domain.com and another to materials.domain.com At the domain site I have a page domain.com/materials I’d like to redirect the materials.domain.com homepage to the domain.com/materials I’m using a child theme to my subdomain instalation and trying the following on functions.php wp_redirect(home_url(‘https://domain.com/materials’),301); exit; Now when I access the … Read more

How to exclude a directory from WordPress permalinks in a Multisite environment?

The scenario is as follows: A multisite install with three sites: site1.com (admin) site2.com site3.com Q: How to exclude a folder located in the root directory, which should also be associated with site3.com? That is: exclude a particular directory that does not belong to WordPress so that it is accessible from: site3.com/folderToExclude/ Back in the … Read more

How to create a 301 redirect that doesn’t apply to subsites

Scenario: I’m trying to set a 301 redirect so that https://foo.org/events is redirected to a non-WordPress site https://bar.org/events. On my .htaccess file, I set the following: Redirect 301 /events https://bar.org/events/ This worked great until I found out the rule was cascading down to my subsites, which have completely separate and unrelated event pages. In other … Read more

Change the Default Pages Menu View in wp-admin

I can’t seem to figure out how to change the default view for “Pages” in the admin menu. The initial view is the “Pages” view (/wp-admin/edit.php?post_type=page) How could it change this to something else? Like “Add New Page”? (/wp-admin/post-new.php?post_type=page) I’ve tried several different options including rebuilding the menu with a custom menu, but it seems … Read more