url rewrite(direct) for subdirectory best practice
-
I’ve read a few postings and guides to url redirects or rewrites, though I haven’t found one that directly addresses my situation. I’m unsure how to start the processes without breaking my site. Here goes:
I am hosting another party’s website on my bluehost account. They have their own DNS server that we’ve pointed over to the appropriate subdirectory. So far so good. The site happyhandschildcare.com brings us to their homepage. However, once you start clicking through the site my root directory appears in the url: claytonsalem.com/happyhandschildcare/pictures (or whatever).
None of this is surprising, I’m just not sure what the best(?) way to go about the rewrite. The site is mostly static pages(30 though 20 are to be junked) with one post menu item. There seem to be three options:
1. Plug-in. There’s a bunch of plug-ins that rewrite urls. I haven’t looked at all of them though I did read a recommendation for “Redirection.”
2. Settings -> General -> Site address. Is it that simple?
3. htaccess. It doesn’t seem too terrible to modify the file, though it seems like it might be breakable. Plus, I think the htaccess file in my root directory is from an old Drupal installation… separate issue.Any advice? I might go ahead and try the Site address in the settings to see what that does.
- The topic ‘url rewrite(direct) for subdirectory best practice’ is closed to new replies.