• Home
  • Get help
  • Ask a question
Last post 3 hours 54 min ago
Posts last week 89
Average response time last week 30 min
All time posts 67735
All time tickets 10467
All time avg. posts per day 21

Helpdesk is open from Monday through Friday CET

Please create an (free) account to post any question in the support area.
Please check the development versions area. Look at the changelog, maybe your specific problem has been resolved already!
All tickets are private and they cannot be viewed by anyone. We have made public only a few tickets that we found helpful, after removing private information from them.

#7359 – Redirect folder to new domain

Posted in ‘sh404SEF’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Monday, 17 August 2020 00:02 UTC
mmorton

is there a way in sh404sef to redirect an entire folder to another website, no matter what page they land on in the folder 

example: I want everything past folder 1 to go to a new domain

website.com/folder1
website.com/folder1/page1.html
website.com/folder1//folder2/page2.html

 
Monday, 17 August 2020 09:44 UTC
wb_weeblr

Hi

Yes, that should be fairly easy using a generic redirect (see advanced redirects documentation here).

You should create a new alias with something like this:

Alias type: Do a 301 redirect
Alias: /folder1{*}
Target URL: https://newsite.com/

Note that this will redirect /folder1 and any page within /folder1 to the root of the new site.

If you want to redirect any page in /folder to the same page on the new site, you would do this:

Alias type: Do a 301 redirect
Alias: /folder1{*}
Target URL: https://newsite.com/folder1/{*}

You can easily change the target folder as well:

Alias type: Do a 301 redirect
Alias: /folder1{*}
Target URL: https://newsite.com/another-folder/{*}

Let me know how it goes.

Best regards

Yannick Gaultier

weeblr.com / @weeblr

 

 
Monday, 17 August 2020 14:44 UTC
mmorton

Perfect thank you

 
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.