Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 01 Oct 2018, 14:53
shoppingtelly shoppingtelly is offline
 
Join Date: Apr 2002
Redirect a deleted thread link

Not sure if this is even possible.

I got a warning from Google Adsense, could not resolve where the problem was so just removed the whole thread, now the violation has changed because they still check the link but no content because I have removed the thread.

Is it possible to divert an old link eg: showthread.php?57713-Breathing to either a 404 page or home page?

Thank you in advance
Reply With Quote
  #2  
Old 01 Oct 2018, 15:48
In Omnibus's Avatar
In Omnibus In Omnibus is offline
 
Join Date: Apr 2010
Real name: Kris
You can try adding the following to your .htaccess file:

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^ /index.html [L]
Reply With Quote
  #3  
Old 01 Oct 2018, 16:03
shoppingtelly shoppingtelly is offline
 
Join Date: Apr 2002
Thank you, where would I put showthread.php?57713-Breathing and where would I put the redirect link in the code?

Thank you again
Reply With Quote
  #4  
Old 01 Oct 2018, 16:27
In Omnibus's Avatar
In Omnibus In Omnibus is offline
 
Join Date: Apr 2010
Real name: Kris
Originally Posted by shoppingtelly View Post
Thank you, where would I put showthread.php?57713-Breathing and where would I put the redirect link in the code?

Thank you again
Adding that to your .htaccess file should redirect all 404 errors to your index page.

There should be no need to link any specific thread.
Reply With Quote
  #5  
Old 01 Oct 2018, 16:38
shoppingtelly shoppingtelly is offline
 
Join Date: Apr 2002
Thank you again, one final question have looked and cant find the .htaccess where would it be located?
Reply With Quote
  #6  
Old 01 Oct 2018, 17:44
In Omnibus's Avatar
In Omnibus In Omnibus is offline
 
Join Date: Apr 2010
Real name: Kris
Originally Posted by shoppingtelly View Post
Thank you again, one final question have looked and cant find the .htaccess where would it be located?
It should be located in the root folder, which is usually public_html
Reply With Quote
  #7  
Old 01 Oct 2018, 18:13
shoppingtelly shoppingtelly is offline
 
Join Date: Apr 2002
Thank you again, sadly didn't work, still getting the page with the message



If I removed the Adsense from that page it would be removed from all pages so at a loss how to make Google Happy.

Sadly not been able to resolve, any further help would be appreciated.

Last edited by shoppingtelly; 01 Oct 2018 at 22:40.
Reply With Quote
  #8  
Old 04 Oct 2018, 18:25
shoppingtelly shoppingtelly is offline
 
Join Date: Apr 2002
Don't know if anyone has any other ideas, would really appreciate any help.
Reply With Quote
  #9  
Old 05 Oct 2018, 04:17
iA1 iA1 is offline
 
Join Date: Jul 2018
Install this addon and it will just remove adsense code from error pages.
https://www.vbulletin.org/forum/showthread.php?t=326045
__________________
Get your own favorite style made responsive for vBulletin 3 and vBulletin 4.
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Add-On Releases vt.Lai VBB Redirect Link 4.1 For vBB 4-Make Redirect page with outbound link VuThanhLai vBulletin 4.x Add-ons 13 14 Apr 2015 21:18



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 07:53.

Layout Options | Width: Wide Color: