I originally set my site up as http://www.mydomain.com/blog/ using wordpress as an add on to my static site for blog. Since then I have moved all my static pages into wordpress and have been using a simple index.html entry page leading into mydomain.com/blog/
I decided it was time to get rid of the /blog/ and have mydomain.com pull up my WP pages and posts etc.
So, I followed the instructions at here and everything went well, my pages and posts work etc. I also confirmed this was a correct method on the codex page (albeit the instructions there were for the opposite direction). Cool so far.
I then attempted to use redirection to strip /blog/ out by using the regular expression /blog/* to target / as suggested by a link from urbangiraffe site here
This leads to a new problem, it redirected everything (awesome) including mydomain.com/blog/wp-admin/ so now I can’t log in.. (not so cool per se!)
So, luckily I had another tab open in my browser and I was able to delete that regex and can get into my blog but I am still stymied on how best to redirect everything but my wp-admin. Does this make sense? Anyone can help? Please?
- The topic ‘[Plugin: Redirection] Ooops! I messed up with a regex’ is closed to new replies.