logo
Welcome to our new AbleCommerce forums. As a guest, you may view the information here. To post to this forum, you must have a registered account with us, either as a new user evaluating AbleCommerce or an existing user of the application. For all questions related to the older version of Gold and earlier, please go to AbleCommerce Gold forum. Please use your AbleCommerce username and password to Login. New Registrations are disabled.

Notification

Icon
Error

Options
Go to last post Go to first unread
Lyonsperf  
#1 Posted : Saturday, February 19, 2022 10:32:20 AM(UTC)
Lyonsperf

Rank: Member

Groups: Registered, HelpDesk
Joined: 9/29/2021(UTC)
Posts: 17

We built a new webstore from scratch here on ablecommerce and recently went live.
When we switched from our old site to the new one using the same domain name, all the links in the search engines were no good because the new site is set up differently than the old one.

I would like to create a custom 404 page to explain what needs to be done by the customer to see what they are looking for.

Also, whats the best way to redirect the old links to the new ones, especially on google?

Wanna join the discussion?! Login to your AbleCommerce Forums forum account. New Registrations are disabled.

ray22901031  
#2 Posted : Saturday, February 19, 2022 6:26:40 PM(UTC)
ray22901031

Rank: Advanced Member

Groups: Authorized User, Developers
Joined: 2/17/2019(UTC)
Posts: 909

Thanks: 3 times
Was thanked: 15 time(s) in 15 post(s)
I will address the custom 404-page first, since it is the easiest of the two.

404 Pages

It is not a good idea to have just a single custom 404 page for everything, and let the customer decide what to do next, which can lead to confusion. It is better to have multiple customize 404 pages that can address specific groups or categories.

Here's an example of our main 404 page.
https://www.myradiomall.com/page-not-found

Here's what a specific 404 custom page looks like.
https://www.myradiomall....ion-page-vertex-standard

These redirects are driven by specific rules

Redirecting pages

First, let me start by saying we have found that the dynamic and static redirect option in Ablecommerce is great for internal to internal redirects, but not so good from external to internal redirects.

To redirect pages there are 4 options:

1 - Make the changes as they appear on search console - not the best idea
2 - Create rules in IIS - not too crazy about resources being used for this
3 - Use a CDN - for us the best option
4 - Do nothing - you're going to get screwed by Google

We dislike redirects being done at the server level, we preferred the redirects to be done before a user hits our site. This is why we use Cloudflare PageRules, you can sign up for the $20 a month program, and buy more rules as needed.

You can use batch and wildcards, which is why we like using a CDN, but you can do the same thing in IIS. This particular rule removes the "HTML" extension and redirects to the same url without any extension.

"https://www.myradiomall.com/motorola*.html" -> "https://www.myradiomall.com/motorola$1"

We like the fact that we can create batches to handle hundreds of URLs, and those that are not included in the batches are handled on a one-to-one basis.

Example of a one-to-one
"https://blog.myradiomall.com" -> "https://www.myradiomall.com/blogs"

All of the above redirects are permanent 301

This was a big thing for us, and we started getting ready months before we permanently closed our old site and launched it in AbleCommerce.

Take what I'm about to tell you extremely serious, at the very least, you should be logging into Google search console and start fixing changes there, if you do not, and Google notices that you're not making a timely effort to fix the disconnects, they will drop you.

Doing this on the search console should be a last resort, and I would strongly recommend you go with an outside service or a CDN to get this done.

I hope this helps,
-Ray

Edited by user Saturday, February 19, 2022 6:32:38 PM(UTC)  | Reason: Not specified

Lyonsperf  
#3 Posted : Saturday, February 19, 2022 6:30:33 PM(UTC)
Lyonsperf

Rank: Member

Groups: Registered, HelpDesk
Joined: 9/29/2021(UTC)
Posts: 17

Thanks Ray, I'll check that site out.
shaharyar  
#4 Posted : Monday, February 21, 2022 4:27:49 AM(UTC)
shaharyar

Rank: Advanced Member

Groups: Admin, Developers, Registered, HelpDesk, Authorized User
Joined: 10/5/2018(UTC)
Posts: 704

Thanks: 5 times
Was thanked: 113 time(s) in 112 post(s)
Quote:
I would like to create a custom 404 page to explain what needs to be done by the customer to see what they are looking for.


To create a custom 404 page in ablecommerce you can override a default 404 view file.

1- Copy the following files from Website\Views\Errors

- \_Layout.cshtml
- \_ViewStart.cshtml
- \PageNotFound.cshtml - Edit this file with your custom message

2- Paste these files to \Website\Themes\{current Theme}\Views\Errors\
(Create the views/errors folder on current theme root)

3- Copy the following files from \Website\Views

- \_ViewStart.cshtml
- \web.config

4- Paste to \Website\Themes\{current Theme}\Views\
Users browsing this topic
Guest (4)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.