30
Views
7
Comments
SEO URLs 301 Redirect without base URL change
Question
Application Type
Reactive

Hi everyone,

I have a scenario where the base URL remains the same, but the pattern of the input parameter has changed. To prevent the new URL from being indexed by Google , I need to implement a 301 permanent redirect.

For example:

Old URL: https://BaseURL.com/product/little-steps-902737

New URL: https://BaseURL.com/product/902737


Has anyone face the similar issue? 

Thanks for the help!

2024-12-02 12-15-17
Aravind EONE

Hi Meri,

Have you ever tried reverse proxy with tools like Cloudflare with outsystems ? So request will goes to Cloudflare then rewrite the URL then outsystems.

Why you are looking for 301 permanent redirect ? this still exposes the final URL, which is why above rewrite rules are often better. 

2019-07-08 11-15-14
Meri Hayrapetyan

Hi Aranvid,

In my case, the 301 permanent redirect is required for SEO purposes. Basically, the old links will be permanently removed from Google, while the new URLs will be indexed.


2024-11-06 14-58-26
OJ JALLOW

The solution depends on which version of the platform you are using (011 or ODC).

In Outsystems11(011)

OutSystems has a built-in management console for these roles. This is the most direct way to handle your scenario.

Where to go: Open service centre (https://<your-environment>/ServiceCenter). 

Navigation: Go to Administration > SEO URLs > Redirect Rules 

Configuration:

In OutSystems Developer Cloud(ODC)

In ODC, there is no redirect role like there is in (011). Because ODC uses cloud-native architecture (containers+AWS), redirects are handled differently:

  • Option A: Reverse Proxy / CDN (Recommended for SEO) 
  • Option B: Application Logic (Client-Side) 
2019-07-08 11-15-14
Meri Hayrapetyan

Hi,

I am using the O11 platform. For the redirect rules, the New and Old URLs must be defined. However, in my case the URL is the same; only the input parameter format has changed. So I am not sure if it is still possible to do this in the same way. 

2026-03-20 01-28-51
Saugat Biswas

Hi @Meri Hayrapetyan ,

I agree with the approach suggested by OJ above. I am just providing additional information to make solution more understandable.

  • Enable SEO‑friendly URLs (if not already enabled)
  • Keep the new URL as the canonical screen URL 
  • Add a 301 redirect rule in Service Center
    • In Service Center → SEO → Redirect Rules:
      • /product/{ProductName}-{ProductId}
    • Target URL (new URL):
      • /product/{ProductId}
    • Redirect type: Permanent (301)

This ensures: 

  • Search engines transfer ranking from old → new URL 
  • Old URLs stop being indexed 
  • Users are transparently redirected

Hope this helps,

Cheers,

Saugat

2019-07-08 11-15-14
Meri Hayrapetyan

Hi Saugat Biswas,

Thank you for your help. I tried your suggested approach, but it didn’t work—the redirect status still returns 200 instead of 301.

We currently have an open support case with OutSystems, so we’ll see if they can suggest a solution.

Thanks

2026-03-20 01-28-51
Saugat Biswas

Hi @Meri Hayrapetyan,

It seems that SEO Redirect Rules do NOT support URL parameters / wildcards.

In Service Center → SEO → Redirect Rules:

/product/{ProductName}-{ProductId} looks valid, but OutSystems does not interpret {} placeholders in redirect rules. Redirect rules match literal paths only.

Workaround

Update the product screen to accept both parameters:

  • Screen URL: /product/{ProductSlug}-{ProductId} 

Redirect in OnInitialize (Server Action) In the screen’s OnInitialize:

If ProductSlug is not empty then
    RedirectToURL(
        "/product/" + ProductId,
        Permanent = True
    )
End If 

This issues a proper HTTP 301 that orks with dynamic values with no SEO tools needed.

Cheers,

Saugat

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.