• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here: Home » URL Hijack by Spam Trackback through 302 Redirection in WordPress

By Abhishek Ghosh June 10, 2011 4:03 pm Updated on June 10, 2011

URL Hijack by Spam Trackback through 302 Redirection in WordPress

Advertisement

URL Hijack by Spam Trackbacks through 302 Redirection in WordPress is getting a very popular method nowadays again. The major target are blogs with >80 % traffic from Google Search Engines.

 

What is this URL Hijack is?

 

People will arrive to your webpage by any means (suppose from the Google Search Result pages); after few seconds will be redirected to the spammer / hacker’s own webpage.

 

What is 302 and 301 redirection?

 

To redirect a page, multiple methods can be used.

Advertisement

---

Well recognized for redirections are status codes 301 and 302. 301 redirect is permanent redirection ( that is content moved from one domain to another permanently).

The 302 redirect is temporary redirection; the main page remains valid to Google Search. Obviously, The effect of the two redirections are also different to the search engine.

 

How URL Hijack is performed using spam Trackbacks?

 

How URL Hijacking can happen, was written by Joost de Valk in Yoast in two years ago:

 

This is were, in my opinion, WordPress goes wrong, as that redirect is a 302 redirect. On line 65 of wp-trackback.php, it says the following:
wp_redirect(get_permalink($tb_id));

So it uses the function wp_redirect to redirect you back to the original post. This function lives in wp-includes/pluggable.php, and by default, sends a 302 redirect. You can make it send a 301 redirect by simply changing the code to:
wp_redirect(get_permalink($tb_id),301);

 

We will not discuss on how URL Hijack is actually done by using which line of code. This post will be exploited to use by the hackers for URL Hijack, who are still not aware of the method.

 

How to prevent URL Hijack by spam trackbacks in WordPress blog?

 

  • Use Disallow Tracbacks, Comments, Comment feeds from Robots.txt.URL Hijack by Spam Trackback perfectly in post to fight duplicate content issue.
  • Use Ultimate Security Check like plugins to check other security loop holes.
  • Use Exploit Scanner like plugin to check if your WordPress theme has any problem itself.
  • Always manually check who is actually giving the link that you are getting as a Trackback. This is what we suggest to do to prevent URL Hijack or allowing spam trackbacks.
  • Copy paste the URL of the trackback (if suspicious) to any text Editor to see what it looks like. Simply delete the URL and allow Trackback / delete it if you guess anything suspicious.
  • Never use “Free Premium Themes” ; other than illegal it can itself inject codes to facilitate the URL Hijack. We recommend using good Premium themes or if you do not afford, use official free themes from WordPress as scaffold and create your own Child Theme.
  • Certain plugins can do this URL Hijack, try not to download WordPress plugins outside of WordPress repositary.
  • Update WordPress and plugins regularly to prevent URL Hijack.

 

Other methods of URL Hijack

 

  • Manipulating the .htaccess file : hacker needs access to the root. Difficult task for the hacker to exploit for doing a URL Hijack as it is almost impossible to gain access with a good setup. But this is very effective for doing the URL Hijack  : visitor will practically not notice the redirection; everything will happen instantaneously.
  • Malicious Java Scripts of bad Advertisers. We can just say, these Advertisers do not perform any URL hijack through advertising: Google Adsense, Adbrite, LakeQuincy Media, Technorati Media, Tribal Fusion, Chitika. For all others, be cautious, we have not tested. We discovered 3 (till now) who do these.

 

Signature Tagged With 302 exploit hijack , placa mae com legenda

This Article Has Been Shared 381 Times!

Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to URL Hijack by Spam Trackback through 302 Redirection in WordPress

  • 66 possible topics for your blog

    Here are some topics to write blogs, which are almost guaranteed to give you good ranking in search engine result pages for long run, if you do care about SEO.

  • Definitions of abbreviations used for advertisements

    You have probably saw abbreviations like CPC, CTR or CPM for advertisements. Here a quick summary of the main abbreviations used.

  • Alternatives to Google Adsense to make money from your blog

    Google Adsense is no doubt a good advertising company that pays well. But not all gets approved or some times gets banned without any fault from publishers point. Here are some good alternatives to Adsense.

  • High CPC Keywords and making money through Google AdSense : Realities

    High CPC Keywords can make a huge money through Google AdSense program. There are different ways to make the whole blog or a single post to yield more CPC.

  • 100 Tips for Building and Maintaining a Successful Blog

    100 Tips for Building and Maintaining a Successful Blog is the 2500th article published on this website.Free Infographic is also included so that you print it.

Additionally, performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Comments

  1. AbhishekAbhishek says

    June 13, 2011 at 7:53 pm

    Thanks a lot :)

  2. AvatarBitvisitor says

    August 10, 2012 at 1:21 pm

    always i used to read smaller posts that as well clear their motive, and that is also happening with this post which I am reading here.

  3. Avatarpixelrents.com says

    October 3, 2012 at 2:52 pm

    Amazing blog! Is your theme custom made or did you download it from somewhere?

    A theme like yours with a few simple adjustements would really make my blog stand out.
    Please let me know where you got your design. Cheers

  4. AbhishekAbhishek says

    October 3, 2012 at 6:30 pm

    This is custom designed theme. The designers are of our company. If you are interested to get quote, please use the contact us form (link at bottom of every page). We will change the theme, so you can grab it as sole license holder.

  5. Avatarwordpress ecommerce says

    October 17, 2012 at 4:38 pm

    all the time i used to read smaller articles or reviews that also clear their motive, and that
    is also happening with this piece of writing which I am reading
    here.

  6. Avatar???????? says

    January 30, 2013 at 1:41 pm

    Good article. I’m facing many of these issues as well..

  7. AvatarDemetra Singletary says

    June 26, 2013 at 10:36 am

    I like to share understanding that I have accumulated with the yr to help improve group functionality.

  8. AvatarShanna says

    August 6, 2013 at 6:15 pm

    Nice post. I learn something totally new and challenging on sites I stumbleupon on a daily
    basis. It’s always useful to read content from other writers and use a little something from their websites.

  9. Avatargetjealous.com says

    October 3, 2013 at 8:17 am

    Hi! I’ve been following your web site for a long time now and finally got the
    bravery to go ahead and give you a shout out from
    Kingwood Texas! Just wanted to mention keep up the excellent
    work!

    Here is my webpage: seo bedford, getjealous.com,

  10. Avatardr. kevin sands says

    October 31, 2013 at 7:54 am

    Great goods from you, man. I’ve understand
    your stuff previous to and you’re just extremely fantastic.
    I really like what you have acquired here, really like
    what you’re stating and the way in which you say
    it. You make it entertaining and you still care for to keep it sensible.
    I cant wait to read much more from you. This is
    actually a great website.

  11. AvatarIntrinsically safe says

    January 6, 2014 at 6:30 am

    Quality articles or reviews is the important to invite the
    users to go to see the web site, that’s what this site is providing.

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Cyberpunk Aesthetics: What’s in it Special January 27, 2023
  • How to Do Electrical Layout Plan for Adding Smart Switches January 26, 2023
  • What is a Data Mesh? January 25, 2023
  • What is Vehicular Ad-Hoc Network? January 24, 2023
  • Difference Between Panel Light, COB Light, Track Light January 21, 2023

About This Article

Cite this article as: Abhishek Ghosh, "URL Hijack by Spam Trackback through 302 Redirection in WordPress," in The Customize Windows, June 10, 2011, January 30, 2023, https://thecustomizewindows.com/2011/06/url-hijack-by-spam-trackback-through-302-redirection-in-wordpress/.

Source:The Customize Windows, JiMA.in

PC users can consult Corrine Chorney for Security.

Want to know more about us? Read Notability and Mentions & Our Setup.

Copyright © 2023 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy

We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
Cookie SettingsAccept
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT