• Home
  • Get help
  • Ask a question
Last post 4 hours 30 min ago
Posts last week 89
Average response time last week 30 min
All time posts 67681
All time tickets 10462
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.

#3494 – Creating sh404 redirects enmass

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.
Thursday, 06 April 2017 22:19 UTC
williamconifer
Greetings,

I just finished a redesign of a Joomla site that has been using sh404SEF for quite a while https://www.xxxx.com. It's a big site. 1,100 pages or so.

In reorganizing the content I have also simplified the urls. Here is an example.

Old: plan-your-trip/tourism-directory/lodging/campgrounds-camping-resorts/prophetstown-state-park.html
New: lodging/campgrounds-camping-resorts/prophetstown-state-park.html

Basically the logic for this branch of the K2 category tree is remove "plan-your-trip/tourism-directory/" and you'll have the new url.

Problem: I have over 1000 pages that I would like to create a redirect. Is there an automated way to create these redirects in sh404SEF?

What would you suggest?

Thanks
Jack
Friday, 07 April 2017 07:22 UTC
wb_weeblr
Hi

Sorry no, there is no automated way inside sh404SEF at the moment. We have started development of a Joomla extension that will handle that sort of things, but it's a few months away I am afraid.

If you can find some patterns such as the one you describe above:

to-remove-1/to-remove-2/url/to/preserve

with a limited/defined number of strings to remove, then this looks well suited to adding a few rules in your .htaccess file. This is of course a specialized work and you will need to handle it yourself, or hire someone to do it for you, but it's going to be the most efficient way to handle that.

Rgds
 
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.