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
judy at Web2Market  
#1 Posted : Wednesday, June 19, 2019 12:02:29 PM(UTC)
judy at Web2Market

Rank: Advanced Member

Groups: Developers
Joined: 11/7/2018(UTC)
Posts: 303

Thanks: 21 times
Was thanked: 5 time(s) in 5 post(s)
I tried enabling custom extensions to see if old .aspx urls would work on a product and clicking the button didn't do anything. There is a message about how to change the web.config, but the entry that needs to be changed in the system.webserver node (<modules>doesn't even exist.
I made the entry in the web.config file and added aspx to the extensions, and I am still getting an error too many redirects in the browser.

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

MikeR  
#2 Posted : Wednesday, June 19, 2019 1:35:45 PM(UTC)
MikeR

Rank: Advanced Member

Groups: Administrators, Developers, Registered, HelpDesk, System, Admin
Joined: 10/18/2018(UTC)
Posts: 183

Thanks: 1 times
Was thanked: 6 time(s) in 6 post(s)
Hi Judy,

I've reported it to the developers for investigation. Thanks for the report!
Thank you for your support!
Mike Randolph
AbleCommerce.com
shari  
#3 Posted : Thursday, June 20, 2019 4:58:21 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 tried enabling custom extensions to see if old .aspx urls would work on a product and clicking the button didn't do anything.


In AC9, we are preserving the Old urls with .aspx extensions. You don't need to do anything.

For example, http://mypetstore.com/De...Royal-Cat-Castle-p4.aspx will redirect to http://mypetstore.com/De...nt/Toys/Royal-Cat-Castle

We are looking into the code for the SEO custom extensions setting. This seems to be an outdated code and is not valid for MVC.
judy at Web2Market  
#4 Posted : Thursday, June 20, 2019 9:46:44 AM(UTC)
judy at Web2Market

Rank: Advanced Member

Groups: Developers
Joined: 11/7/2018(UTC)
Posts: 303

Thanks: 21 times
Was thanked: 5 time(s) in 5 post(s)
That url isn't valid, but how did you get .aspx to work on that site?
Thanks
MikeR  
#5 Posted : Thursday, June 20, 2019 10:14:54 AM(UTC)
MikeR

Rank: Advanced Member

Groups: Administrators, Developers, Registered, HelpDesk, System, Admin
Joined: 10/18/2018(UTC)
Posts: 183

Thanks: 1 times
Was thanked: 6 time(s) in 6 post(s)
Hi Judy,

That's the built-in migration from GOLD to V9, it automatically provides 301's for the legacy gold URLs.
Thank you for your support!
Mike Randolph
AbleCommerce.com
judy at Web2Market  
#6 Posted : Thursday, June 27, 2019 2:03:32 PM(UTC)
judy at Web2Market

Rank: Advanced Member

Groups: Developers
Joined: 11/7/2018(UTC)
Posts: 303

Thanks: 21 times
Was thanked: 5 time(s) in 5 post(s)
I upgraded a local site from Gold 9168 to AC9 RC3 and it didn't create any redirects for the old Gold urls with .aspx. Has this been added after RC3?
MikeR  
#7 Posted : Friday, June 28, 2019 9:08:46 AM(UTC)
MikeR

Rank: Advanced Member

Groups: Administrators, Developers, Registered, HelpDesk, System, Admin
Joined: 10/18/2018(UTC)
Posts: 183

Thanks: 1 times
Was thanked: 6 time(s) in 6 post(s)
Hi Judy,

Quote:
I upgraded a local site from Gold 9168 to AC9 RC3 and it didn't create any redirects for the old Gold urls with .aspx. Has this been added after RC3?


Are you talking about webpages?

Thank you for your support!
Mike Randolph
AbleCommerce.com
judy at Web2Market  
#8 Posted : Monday, July 1, 2019 6:02:34 AM(UTC)
judy at Web2Market

Rank: Advanced Member

Groups: Developers
Joined: 11/7/2018(UTC)
Posts: 303

Thanks: 21 times
Was thanked: 5 time(s) in 5 post(s)
I'm sorry, I was wrong. I was looking for a redirect in a table. I was able to go to Universal-Remote-P42.aspx and it redirected me to Sample-Category/Accessories/Universal-Remote with a 301 redirect.

Edited by user Monday, July 1, 2019 6:04:47 AM(UTC)  | Reason: Not specified

MikeR  
#9 Posted : Monday, July 1, 2019 10:44:17 AM(UTC)
MikeR

Rank: Advanced Member

Groups: Administrators, Developers, Registered, HelpDesk, System, Admin
Joined: 10/18/2018(UTC)
Posts: 183

Thanks: 1 times
Was thanked: 6 time(s) in 6 post(s)
Hi Judy,

I'm glad it's sorted out. The gold URLs are being watched via code and will provide 301's to the new URL structure.
Thank you for your support!
Mike Randolph
AbleCommerce.com
brant25348293  
#10 Posted : Wednesday, January 22, 2020 8:41:55 AM(UTC)
brant25348293

Rank: Advanced Member

Groups: HelpDesk
Joined: 1/20/2020(UTC)
Posts: 43

How can these automatic redirects be disabled?

I cannot get old product redirects from my old store to work in the new AbleCommerce 9. AbleCommerce seems to be overriding my entries in web.config if the URL ends in –P???.aspx

For example,
I want to redirect
https://www.idautomation...vantage-Package-P43.aspx
to
https://www.idautomation.../barcode-fonts/code-128/
However, it is going to
https://www.idautomation.com/Product/Index/43
In the new store.
Naveed Ashraf  
#11 Posted : Wednesday, January 22, 2020 8:47:25 AM(UTC)
Naveed Ashraf

Rank: Advanced Member

Groups: Admin, Administrators, Developers, Registered, HelpDesk, Authorized User
Joined: 7/31/2019(UTC)
Posts: 77

Was thanked: 8 time(s) in 8 post(s)
Quote:
I want to redirect
https://www.idautomation...vantage-Package-P43.aspx
to
https://www.idautomation.../barcode-fonts/code-128/
However, it is going to
https://www.idautomation.com/Product/Index/43
In the new store.


The product URLs are not being generated during the upgrade, let me check and I reply back.
Thanks for your support!
Naveed Ashraf
Ablecommerce.com
Developer Assistance Available
Naveed Ashraf  
#12 Posted : Wednesday, January 22, 2020 9:23:01 AM(UTC)
Naveed Ashraf

Rank: Advanced Member

Groups: Admin, Administrators, Developers, Registered, HelpDesk, Authorized User
Joined: 7/31/2019(UTC)
Posts: 77

Was thanked: 8 time(s) in 8 post(s)
Hi,

Please provide more details about your issue.

I have confirmed that for all products where we do not have a "Custom Url" defined in AC Gold, the product URL is generated during upgrade process.

So, if you have upgraded from AC Gold to AC9, the old URL

/Personalized-Gift-Certificate-P1.aspx

should be auto converted to

/Sample-Category/Gift-Ideas/Personalized-Gift-Certificate


However if you had some "Custom Url" defined for some products already in AC Gold then please let me know, and I will try to suggest some workaround.

Thanks,

Edited by user Wednesday, January 22, 2020 9:23:47 AM(UTC)  | Reason: Not specified

Thanks for your support!
Naveed Ashraf
Ablecommerce.com
Developer Assistance Available
IDAutomation  
#13 Posted : Wednesday, January 22, 2020 10:01:35 AM(UTC)
IDAutomation

Rank: Member

Groups: Authorized User, Developers
Joined: 11/13/2018(UTC)
Posts: 23

Thanks: 16 times
Was thanked: 1 time(s) in 1 post(s)
I'm working with Brant, so I wanted to clarify what is going on. We are currently running a store from the ancient ablecommerce 7.0 so we have long-established links over 10 years old that we need to redirect to the new store. Obviously these pages are not actively nor will be active on the new store but we are trying to set up the redirects based on the original URLs.

We can forward a direct link such as
cart/IDAutomation-Code-128-Font-Advantage-Package-P43C8.aspx
to barcode-fonts/code-128/


but then this direct link didn't work without adding an extra redirect
cart/IDAutomation-Code-128-Font-Advantage-Package-P43.aspx
it's set up to redirect to the link above but ends up going to https://www.idautomation.com/Product/Index/43 which I then redirect to barcode-fonts/code-128/

We've changed the names of products over the years so without the direct names we can't catch every variation.
Is there a way to strip the names down to just the P##.aspx or P##C##.aspx to redirect?
Naveed Ashraf  
#14 Posted : Wednesday, January 22, 2020 10:12:05 AM(UTC)
Naveed Ashraf

Rank: Advanced Member

Groups: Admin, Administrators, Developers, Registered, HelpDesk, Authorized User
Joined: 7/31/2019(UTC)
Posts: 77

Was thanked: 8 time(s) in 8 post(s)
Quote:

I'm working with Brant, so I wanted to clarify what is going on. We are currently running a store from the ancient ablecommerce 7.0 so we have long-established links over 10 years old that we need to redirect to the new store. Obviously these pages are not actively nor will be active on the new store but we are trying to set up the redirects based on the original URLs.


Thanks, for more information. I got the above mentioned issue.


However please explain the rest of the post with some real examples of URLs. So, that I will be able to understand and help you out of the situation.
Thanks for your support!
Naveed Ashraf
Ablecommerce.com
Developer Assistance Available
Naveed Ashraf  
#15 Posted : Wednesday, January 22, 2020 11:43:55 AM(UTC)
Naveed Ashraf

Rank: Advanced Member

Groups: Admin, Administrators, Developers, Registered, HelpDesk, Authorized User
Joined: 7/31/2019(UTC)
Posts: 77

Was thanked: 8 time(s) in 8 post(s)
Quote:
We've changed the names of products over the years so without the direct names we can't catch every variation.
Is there a way to strip the names down to just the P##.aspx or P##C##.aspx to redirect?


The SEO fixed redirects need static URL paths for redirection.

However the Dynamic redirects uses the RegEx patterns, and may work for you in this situation.
But you will not be able to specify individual Target URLs for each Source URL.
Thanks for your support!
Naveed Ashraf
Ablecommerce.com
Developer Assistance Available
Users browsing this topic
Guest (10)
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.