I am trying to generate sitemap.xml for an eCommerce website from xml-sitemaps.com
All the URLs are being scanned but the footer links of the website are missing in the xml file.
The whole website is written in javascript except the foooters which are in wordpress and these footer links are redirects from an old website.
The crawler from xml-sitemaps.com skips pages that are redirected (as well as pages that have a canonical meta tag pointing to a different URL).
You should still see them in the log from your last - they would have been discovered, but ignored.
Related
This is a peculiar one.
I work for an agency, and we develop WordPress and JAM Stack sites for our clients.
I have been contacted by the IT team for one of the clients (an NGO), and they flagged something that I have not seen before.
NOTE: I am going to be using example.org as the website, to protect the identity of the client.
Basically, we developed a WordPress site for them, which works great and all, but as it turn outs there is a page on the website which points to a totally different website
The example page is as follows
example.org/news/points-to-different-website/
The news page doesn't exist in anywhere on WordPress system, and neither does it exist as a custom post type.
And another thing, I noticed is when I removed the / at the end of the URL, it shows the custom 404 page developed for the website
example.org/news/points-to-different-website
But as soon as you add the /, it shows a totally different website.
I have checked all the Apache configuration files related to the site, and it is just the normal setup for any WordPress site.
So, I am wondering what could be causing this, and how can one prevent it?
That's a strange issue. Does example.org/news/points-to-different-website/ actually redirect to another full URL, i.e. differentwebsite.com, or is the different site actually at example.org/news/points-to-different-website/?
Try
emptying the trash for both pages and posts, as there could be a conflicting slug that is causing a redirect.
Reset permalinks.
Using PHPMyAdmin, search the database for the URL points-to-different-website and see if there is malware or some kind of a redirect, an iFrame, etc.
This can sometimes happen if the server hostname is not set up correctly.
What can happen is website on the server will show in place of a non-existent site or page from another website on the same server.
If you are using a reseller hosting/shared hosting, then the site could be from another account on the server, the site could also be from another server, for example:
There are 2 servers with the hostnames serverone.myserver.com and servertwo.myserver.com... A site on serverone might show in place of a site or page on servertwo.
My problem is that my client has migrated from Wordpress to Shopify, and there were some important pages on the site under the /services/ folder. I wanted to redirect them to their new pages after the migration, which are /pages/ pages.
Shopify has reserved /services/ URLs, however. Therefore I cannot redirect mydomain.com/services/some-services-page to mydomain.com/pages/some-services-page.
Additionally, I cannot change the URLs of the /pages/ pages to /services/ pages.
What would be the next best step here? It seems like a significant limitation of Shopify, as any pages you want to migrate from another CMS that have /services/, apparently can't be redirected, and you lose the SEO value. Those pages are now returning 404 and there doesn't seem to be anything I can do about it, or am I missing something?
I've had some back and forth with Shopify support, which ultimately ends with them saying its a limitation of Shopify and I should submit a feature request. I appreciate any advice you might have.
You can manually create redirects from old relative urls to new ones on shopify by going to [yourstore].myshopify.com/admin/redirects
If you want to track which pages customers are exactly hitting and getting 404's, you can use app Transportr:
https://apps.shopify.com/transportr
It tracks which pages are getting 404, and you can also create redirects directly from an app
I have a 2 problem that is, I have to redesign an Aspx website to a WordPress website everything till now was fine but:
there are some query strings in aspx that show the students certificates directly, for example, http://www.example.ac.ir/Auth.aspx?id=184182187190184239218183181181182181
I want to redirect this kind of URL that Ids are variable to a WordPress page and show this certificate in WordPress directly
our old student’s certificates also have these URLs on it that they can scan their QR code to get access to it, because of this I don’t want that when a user request for old URL be faced with 404 error page
Example:
I want to redirect:
http://www.example.ac.ir/Auth.aspx?id=184182187190184239218183181181182181
Or:
http://www.example.ac.ir/ga.aspx?id=M3S941301026821
(these are old Aspx version of the website)
to:
http://www.example.ac.ir/Auth.php?id=184182187190184239218183181181182181
Or:
http://www.example.ac.ir/ga.php?id=M3S941301026821
(these should be new WordPress version of the website)
problem 2:
problem 2 is about PHP code, where can I find a tutorial that makes PHP page or plugin that convert aspx to PHP and read from non WordPress structured database??
I want to design that certificate pages in WordPress
note: if there is a way that I use aspx pages in WordPress without rendering such as it can resolve my problem, too
On your Auth.aspx page,Make a Response.Redirect() to your PHP page:
Response.Redirect("http://www.example.ir/Auth.php?id=" + Request.QueryString["Id"].ToString());
So recently I updated my site from Joomla to Wordpress. (best decision of my life...seriously)
All of my old Joomla links were formatted with a ? right after my domain name like this: www.example.com/?blah
Now when I switched to Wordpress, I'm using pretty URLs that are formatted like this : www.example.com/blah
Now googles got all the old Joomla urls still indexed so when searched for it still gives you the old URLs. In my head those Joomla URLs should throw a 404 error. But they don't! They just display the homepage.
For Example - if you go to www.example.com/blah it will throw a 404 error because that page doesn't exist, however if you go to www.example.com/?blah it will show that URL in the address bar, but display the homepage despite the fact that that page does not exist either.
So my questions are:
1) will google eventually dump those URLs in favor of my Wordpress ones? How will that hurt my SEO and page rank - does google still see that as a valid page and keep it in its index?
2) How do I force 404 errors for those URLs that don't exist anymore with a question mark.
(1) You'll have to get your sitemap redone and have GoogleBot reindex your site. Google Webmaster Tools should be the place to do that.
(2) You could redirect the invalid links to a 404 page using your .htaccess file
I have just converted a blogger site to WordPress. Unfortunately URLs are not same for both the sites. Now I need to add redirects for all google cached URLs. But I am not able to get all the google cached URL's at one place so that i can check them all.
Please advise?