Teya Salat
2024-05-18 22:35
WELCOME TO INSTALOADED FORUM

Home
Contact Us
Advert With Us

*Post reply · Invite friends · From end
* MYKEMINI Recently, I moved this blog from Blogger to WordPress. The migration was successful and I even shared the steps I went through with the migration from blogger to wordpress. After the whole process, I checked everything and they were in order, but I didn’t notice one thing, it was Google Webmaster tool that reminded me.
I checked my mail one faithful morning after the migration and saw a message from Google Webmaster tools that I had an increase in not followed pages. Immediately, I went to my Google webmaster tools page and saw over 300 errors. The cause of all these errors was the?m=1that is placed at the end of my blog mobile version when I was on blogger. So whenever readers and bots access my site with any valid link that ends with ?m=1, they are redirected to a 404 error page.
When I told a friend about the problem, he said I should redirect the pages that ends with ?m=1 one after the other. I told him it isn’t easy to redirect over 500 links. His response was – just do it! I laughed at him because I was able to fix it with a code that is not up to two lines. Fixing that wasn’t difficult at all. All I did to redirect visitors to the correct page and tell search engines bots to crawl the correct URLs was by placing a rewrite rule in my .htaccess. Although after the migration, I once disallowed bots from crawling URL s that end with ?m=1, but Google webmaster tools still show errors.
Solve Blogger to WordPress ?m=1 Redirect Issue
This doesn’t require any plugin. Simply go to your blog .htaccess (hypertext access) file, after the RewriteEngine On RewriteBase / line, add the code below into it and don’t forget to save it.
RewriteEngine On
RewriteCond %{QUERY_STRING} ^m=1$
RewriteRule ^(.*)$ /$1? [R=301,L]
2016-07-24 17:37 · Reply · (0)

Online: Guests: 1

INSTALOADED | RECENT POSTS



post Created at 2017-01-15
Top Worst Things You Should Stop Doing Online10 years ago, what the internet use to be is not... Read More »
post Created at 2017-01-06
The Number Of Internet Users In Nigeria Reduced To 92.4million - NCC The number of internet users in Nigeria’s... Read More »
post Created at 2016-12-24
Glo Put an End to Blackberry Internet Service (BIS)I'm pretty sure that lots of Android device users... Read More »
post Created at 2016-12-18
Super Mario Run Arrives on iOSNintendo unveiled the iOS version of Super Mario... Read More »
post Created at 2016-10-29
Airtel free 5GB via IMEI  TweakingHi lovely viewer and welcome to this lovely post.... Read More »
post Created at 2016-10-29
MTN 4G LTE Users: You Can Now  Get Free MTN 5GB Data Reward*Even if 75% of cities in Nigeria are yet to... Read More »
post Created at 2016-10-11
Facebook Launches Market Place: Where You Can Buy & Sell Any ItemsFacebook has gone beyond just a social media where... Read More »
post Created at 2016-08-27
Whatsapp Will No Longer Work On These Phones »See List«At the end of 2016, we will no longer support the... Read More »
post Created at 2016-08-27
How to get 2Gb with just #200 on EtisalatThis is aNight Plan– Take Note!! All the Networks... Read More »
post Created at 2016-08-27
Woow..! WhatsApp To Share Users’ Phone Numbers With FacebookThe instant messaging app has updated its privacy... Read More »

Instaloaded Forum Owned By Michael Anthony
Mozilla 3.147.79.45 | 1 | 33 | 56 | 120 | 101467 |
© INSTALOADED » FORUM™ 2024