Support

Admin Tools for WordPress

#33936 URL Redirection with Admin Tools Pro for WP

Posted in ‘Admin Tools for WordPress’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

WordPress version
n/a
PHP version
n/a
Admin Tools version
n/a

Latest post by on Friday, 20 November 2020 20:17 CST

vrans99

Hi.

I am a little confused with the URL Redirection feature.

In the documentation section, you have the example of forwarding my domain to (for example) google.com as an external url, but what about if I want to redirect URLs coming from (for example) google.com to my site's url.

I am in the process of converting all my Joomla sites to WP and I would like to redirect previous urls that are listed in google.com/bing.com to new urls in my site.

For example, if someone find https://mysite.com/index.php/menu/series/video-1 in google.com but, after the conversion to WP, the new url is https://mysite.com/videos/video-1, what is the best way to approach this?

Also, is it possible to use a wildcard to minimize the entries? For example, I need something like this:

My Joomla Site urls:                                                   ->   My new WP Site urls:
https://mysite.com/index.php/menu/series/video-1    ->   https://mysite.com/videos/video-1
https://mysite.com/index.php/menu/series/video-2    ->   https://mysite.com/videos/video-2
https://mysite.com/index.php/menu/series/video-3    ->   https://mysite.com/videos/video-3
https://mysite.com/index.php/menu/series/video-4    ->   https://mysite.com/videos/video-4

One of my Joomla sites has thousands of urls and it would be awesome to achieve the URL Redirection with fewer queries. Is it possible? If so, how can I do this?

For the previous example, can I use something like this:
https://mysite.com/index.php/menu/series/%    ->   https://mysite.com/videos/%

Your help is really appreciated.

Thanks.

tampe125

Hello,

I'm sorry but URL redirection works just for a single URL, you can't create wildcards.

If you want to redirect URLs that match a particular expression, the most effective solution is to use .htaccess redirects, since they happen even before visitors touch your site, improving their experience.
Htaccess directives could be a little hard to write, so I'd suggest to use this online tool to test them: https://htaccess.madewithlove.be/

Davide Tampellini

System Task
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!