I have a Django app that currently handles several different domains. One in particular is abc.com/blog/ The content there is mostly static so I moved it over to a WordPress site. That site is hosted on wordpress.abc.com and follows the same link structure except it doesn't append /blog/ to any links. I would like to write a RewriteRule that takes all abc.com/blog/ links and rewrites them to the new wordpress.abc.com site EXCEPT one page at abc.com/blog/special/ Here's what I've tried in my httpd.conf file thus far but it doesn't appear to be doing anything.
Any help is greatly appreciate. I'm very much a newbie when it comes to Apache settings. asked 11 Jan '19, 19:20 aa56280 |
Place the rules within a Location directive. You can rewrite the last rule to something like this,
answered 11 Jan '19, 23:22 johns Thanks. This doesn't seem to be doing anything either. I'm putting this at the bottom of my httpd.conf file. Is that where it's suppose to go?
(12 Jan '19, 17:11)
aa56280
It is. We can troubleshoot directly if you send us a support ticket.
(12 Jan '19, 22:40)
johns
|