Not Solved Broken links
#1
Not Solved
Using 1.8.18

I scanned my site with a broken-links checker and learned that I have a bunch of links that are classified as broken.  Most of these come up in Webmaster tools.  

The broken links do not show a 404 page.  They usually point to a thread.   Is it normal that they are seen by google as broken links?  

Here are a few examples:

Is there a plugin to fix this or a  way to inform bots that these are not broken links?

https://dentalimplant411.com/dental-chat...nextnewest

https://dentalimplant411.com/dental-chat...e&uid=8751

https://dentalimplant411.com/dental-chat...nextnewest

https://dentalimplant411.com/dental-chat...nextoldest

https://dentalimplant411.com/dental-chat...3&pid=9093


Thank you in advance.
Reply
#2
Not Solved
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.
What goes around comes around
Reply
#3
Not Solved
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?
Reply
#4
Not Solved
(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.
What goes around comes around
Reply
#5
Not Solved
I also noticed about 15 of these errors. They all return the same error message:

https://dentalimplant411.com/misc.php?ac...26&modal=1

https://dentalimplant411.com/misc.php?ac...27&modal=1

https://dentalimplant411.com/misc.php?ac...26&modal=1

Any thoughts on these?

Thanks
Reply
#6
Not Solved
On the member profile page, there are contact links. Yahoo, skype etc.
What goes around comes around
Reply
#7
Not Solved
Is there a way to disable these in admin panel so they do not keep coming up for new members?
Reply
#8
Not Solved
(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>
What goes around comes around
Reply
#9
Not Solved
(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&amp;hid=8">Luxor Forums Rules</a></div>
			<div class="footer-link"><a href="/misc.php?action=help&amp;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&amp;hid=8">Luxor Forums Rules</a></div>
			<div class="footer-link"><a href="/misc.php?action=help&amp;hid=20">Privacy Policy</a></div> -->
			<br />
		</div>

That will hide those two links, but not the first 3 links.

Just saying...
I'm Serpius and You're Not    ¯\_(ツ)_/¯
Reply
#10
Not Solved
Thanks.

I had a new link come up today:

https://dentalimplant411.com/dental-chat...on=desktop

The redirection is to a mobile version but pulls up the desktop version.

Where can I find and edit this link?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)