RewriteRule '
-
I’m trying to redirect all calls to my website example.com to redirection.com except those calls, having the suffix /suffix. Those ones should direct to folder suffix in which my wordpress insallation is.
This is what i tried so far (spoiler: it doesn’t work as expected)
RewriteEngine On RewriteRule ^/suffix$ https://www.example.com/suffix RewriteRule (.*) https://www.redirection.com -
Hi there,
It sounds like the site you’re working on is not hosted with WordPress.com. I believe you’re using open-source WordPress software (from WordPress.org) but hosting your site elsewhere.
You’ve reached the forums for WordPress.com support. This means our support tools aren’t designed to directly support your needs. We’ll need to direct you to the WordPress community support forums (at WordPress.org) where you can get more relevant help. https://wordpress.org/support/forum/how-to-and-troubleshooting/
If you’re wondering: WordPress.com and WordPress.org are two entirely separate entities. You can read more about the differences between WordPress.org software and WordPress.com here: https://wordpress.com/support/com-vs-org/
Regarding what you are trying to accomplish, if you are using a plugin such as Redirection, you’ll want to take your question directly to the plugin’s support forum within WordPress.org here: https://wordpress.org/support/plugin/redirection/
We hope you are able to find a working solution soon. Good luck! :)
-
- The topic ‘RewriteRule '’ is closed to new replies.