From wordpress to SPA application - SEO issues - wordpress

I need to test in terms of SEO a new page which was exported from wordpress to single page application. I want to keep my rank in search results. Unfortunately I am not sure how to do it properly.
Could you please give me any advice?
I know that I need to verify sitemap and broken links. Could you please recommend any tools to do it automatically?

The most important thing to do is to use the same URLs you have from your old website, or use 301 redirect method to redirect the old URLs to the new one.
Regarding the one pages, its not good for SEO since all your content will be in the same page, and here you can't target many keywords.
Still you can use one page website with advanced techniques to rank one many keywords but here it will affect the UX.
Regarding the XML site, since you have one page in your new website, you have to redirect all the pages to the new one using 301 redirect or you will have many 404s in the webmaster tool.

Related

Does Wordpress list all pages for crawlers?

I created a page on a Wordpress site that was for internal use only and triggers some backend code. Within a few days I started seeing hits on that page from "bingbot".
I'm not using any kind of sitemap plugin. How are crawlers finding this page?
I know the robots.txt file can block them but I want to make sure they don't show up for crawlers that don't respect this. I still want to have the page publicly accessible if someone types in the URL.
What needs to be done in Wordpress to make sure a page can't be discovered except by typing in the URL?
Any given URL is potentially "discovered" once the post is published and if there's a link to it from elsewhere on your site. There's no guaranteed way to prevent search engines from indexing a URL.

Redirecting old pages to homepage/index

I have taken over an old domain and put a new site on it, it use to be a membership site so I have thousands of old URLs that now go to a 404 page.
Should I redirect these to the homepage to keep the link juice, it is a relative subject, so the links are useful.
If so how would I do it? This is a wordpress site.
/user/*
/image//
What is the best way to deal with these 404's?
I would redirect them to your homepage. Google (and all other crawlers) will notice the change, so you can provide a better and continuous user experience for your users.
There is a brilliant plugin called Redirection (https://wordpress.org/plugins/redirection/) that will allow you to configure redirects in WP, including logs of 404's that visitors to your site experience to help you know where redirects might be necessary.
A word of caution: there are some major implications to putting redirects in place including effects on your site's SEO. I recommend you read up on the different kinds of redirects and what they do.
Reading on the topic: https://developer.mozilla.org/en-US/docs/Web/HTTP/Redirections

How to list all pages in Google search results?

My website was recently hacked and Google mentioned "This site may be hacked" so I removed the entire wordpress website and changed server. I installed a new wordpress website however, Google is still crawling the old pages. It runs into 20+ Google pages meaning there's over 200 links generated by the hack.
Now, I would like to do a 301 Redirect to all this links using htaccess so Google cache faster and remove these links.
How do I list all this links displayed in the searched result? or is there a better way to do? Yes, I have asked Google for Review but they said it will take several weeks :(
You can see all youre indexed pages by writing this in Google search
site:example.com
Just write youre domain name instead of example.com

WordPress SEO by Yoast Changing sitemap xml url

I want to change the url for the sitemap xml in seo yoast plugin.
from: http://example.com/sitemap_index.xml
to: http://example.com/sitemap-something-unique-aqw65643.xml
I know exactly how to change it using rewite rule, but my problem is that I don't know if this is safe.
Is there anyone can explain me what will be the bad effect?
Using a URL rewrite rule for something like this should not impose any negative side-effects. You are simply directing traffic from one URL to another. There are even some benefits of using rewrites when it comes to SEO but those mostly pertain to your page URLs. Since you are using WordPress, I'm sure that's not the advice you're looking for.
There is thread on Google Support here that talks about URL mapping when preparing to migrate to a new domain. I'm sure some of this might be helpful information for your situation. I would lean toward a 301 Permanent redirect for a sitemap that I was submitting to Google or another search engine.

URL routing and permanent page redirection for old page

suppose our company has website which was developed by asp.net web form v1.1. it is running for last 5 year. people search google by keyword and got the link to come to our site...it means google cached all the pages of our site. now our company planing to develop our site with asp.net 4.0 and our company CTO want to use asp.net 4.0 routing feature for search engine friendly. i am aware of how to use url routing feature....here is small sample snippet of url routing.
for our new website pages name will be change. so when some one will search google and get link and when click on those link then request will come to our site but page not found will show because page name will be changed. so how to write the logic in such a way as a result when old request will come then routing will redirect to right page and also do the permanent redirection for google as a result from the next time user will get right page url. so my concern is how to write the logic which will drive the user to right page if the old page does not exist, the user will be redirected to right page using routing. please help me with code & concept. thanks
You need to use a HTTP 301 Permanent Redirection
Using .NET Framework v4:
Response.RedirectPermanent("NewPage.aspx");
EDIT:
I jumped in too quickly there... a good MVC solution would be: http://www.eworldui.net/blog/post/2008/04/25/ASPNET-MVC-Legacy-Url-Routing.aspx
This will redirect the request to the right place and return a 301 back...
If you do it via MVC, you will always have to manage those old routes. I think the best way is tu use directly IIS for this scenario. The url module in IIS allows you to configure permanent redirects very easily.
I am not an expert of MVC, infact a starter, so the solution that comes in my mind is you will have to register all routes for your existing pages like:
routes.MapRoute(
"BooksCategory", // Route name
"products/books.aspx", // URL with parameters
new { controller = "Products", action = "Browse", category = "Books" }
);
You can enhance it according to your needs.
I's suggest using a hybrid of this tools. You should return 301 as it's a permanent move. Google should pick-up on that when it starts scanning your new site.
I'd suggest you also need to keep your legacy urls separate, so they don't interfere with the current site. At some point in the future, perhaps when this new site becomes the legacy site, you'll want to organise your urls. By knowing what's needed by the app & what's for SEO might help.
You can probably do your SEO redirection using IIS and it's redirection module. Also, have look at Googles (and Bings) webmaster tools. They should help you figure our what the search engine is seeing on your site.

Resources