possibly ridiculous url re-write question
ok, i’ve been trying to wrap this around my head for hours now, and i haven’t been able to come up with a solution, so i’m tossing it out there for anyone that might be able to help.
here’s the scenario:
A: i am using the xenforo message board software on my root directory (and i would preferably like to keep it there).
B: i have a wordpress install at mydomain.com/blog.
C: i would like to have the podcast im starting up soon at mydomain.com/podcast.
it seems that my two choices are:
1. put a separate wp install in each directory.
2. use some kind of crazy url rewrite rules in my .htaccess file.
i’ve been researching the second option, since id like to have both the podcast and blog in the same wp install, that way when i use plugins like the jetpack subscriptions, my audience doesn’t have to submit their email to two different widgets to get updates about new podcast episodes and blog posts. the same goes for RSS feeds, i’d like to not have to have two different rss feeds (one from each install).
so, ive created the folder mydomain.com/podcast, and set up a .htaccess file there, to redirect to mydomain.com/blog/podcast using this rewrite rule:
Options +FollowSymLinks RewriteEngine On RewriteRule ^(.*)$ http://mydomain.com/blog/podcast/$1 [R=301,L]
this works fine, but the url shows up in my browser as mydomain.com/blog/podcast instead of mydomain.com/podcast, so that’s problem #1.
problem #2 is that i don’t know how to get my already existing podcast posts at mydomain.com/blog/podcast to use the same url structure as mydomain.com/podcast.
it seems this all gets super complicated when you don’t want to use wordpress at the root of your server.
am i over complicating this? is there an easier way to do this? id just move my forum to /forum and /blog to root, but 90% of the activity happens in the forum, so i kinda want that to be the first thing people see.
any advice would be appreciated! thanks!
- The topic ‘possibly ridiculous url re-write question’ is closed to new replies.