I think you are already using the google SEO plugin to return 404, because MyBB returns 200 by default.
The 2nd URL you post looks like a member that was deleted, the last URL looks like a post that was deleted. For URLs of this type the correct header response to return is 410 - you deleted them and they not coming back. However Google should still drop these URLs after awhile with the 404 response.
For the 1st, 3rd and 4th URL. These URLs are generated by the next previous buttons that you see at the bottom of each thread. The ideal solution is to adjust the code so that these buttons do not show when there is no next thread or when there is no previous thread. You can do this with php in templates.
Thank you Ashley.
I ma using the google SEO plugin.
Sounds like the broken links generated by Next and Previous buttons are common. I have not found any code in the forum to fix that. Is there a place where I can find the specific code to correct this?
(2018-09-15, 06:41 PM)jwozni2 Wrote: [ -> ]Thank you Ashley.
I ma using the google SEO plugin.
Sounds like the broken links generated by Next and Previous buttons are common. I have not found any code in the forum to fix that. Is there a place where I can find the specific code to correct this?
You can see them on this page -
Next oldest,
next newest. - at the bottom of every thread. They are only a problem when there is no next thread or no previous thread. Find them in the showthread template.
On the member profile page, there are contact links. Yahoo, skype etc.
Is there a way to disable these in admin panel so they do not keep coming up for new members?
(2018-09-15, 07:18 PM)jwozni2 Wrote: [ -> ]Is there a way to disable these in admin panel so they do not keep coming up for new members?
No unfortunately. I get around this by hiding contact links to guests. You need to install the php in templates plugin to do that.
Then in the relevant template you put
<if $mybb->user['uid'] then>Put here anything you do not want guests to see</if>
(2018-09-15, 07:18 PM)jwozni2 Wrote: [ -> ]Is there a way to disable these in admin panel so they do not keep coming up for new members?
I know this is not specific to user ID (UID), but this is how I hide the links on my website from ALL users.
In the Footer template find the code that might be similar to this...
<div class="footer_block nav_block">
<div class="footer-nav">Navigation</div>
<div class="footer-link"><a href="/memberlist.php">Members</a></div>
<div class="footer-link"><a href="/upgrade.php">Account Upgrade</a></div>
<div class="footer-link"><a href="/misc.php?action=help&hid=8">Luxor Forums Rules</a></div>
<div class="footer-link"><a href="/misc.php?action=help&hid=20">Privacy Policy</a></div>
<br />
</div>
For example, if I don't want the links for the Luxor Forums Rules and the Privacy Policy to show up at all, then I do this...
<div class="footer_block nav_block">
<div class="footer-nav">Navigation</div>
<div class="footer-link"><a href="/memberlist.php">Members</a></div>
<div class="footer-link"><a href="/upgrade.php">Account Upgrade</a></div>
<--! <div class="footer-link"><a href="/misc.php?action=help&hid=8">Luxor Forums Rules</a></div>
<div class="footer-link"><a href="/misc.php?action=help&hid=20">Privacy Policy</a></div> -->
<br />
</div>
That will hide those two links, but not the first 3 links.
Just saying...