This is a discussion on Apache Rewrite question within the Linux Web Servers forums, part of the Web Server and Related Forums category; I'm certainly no expert at this, but I'm assuming the following is possible...but as a beginner, I ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I'm certainly no expert at this, but I'm assuming the following is
possible...but as a beginner, I have no idea where to begin! I'm taking over a site, and the powers that be would like to keep the status quo (http://original.com, for the sake of clarity). They've recently purchased http://newsite.com, and would like to be able to edit the files through the main CMS (CMS Made Simple is what they're using), the one that controls http://original.com. Adding those files in isn't a problem, except for the URL in the address bar. Normal pages in original.com display as such: http://original.com/index.php?page=about Anything I add to the CMS will display in this way, so I CAN'T simply add in the newsite.com pages in a subdirectory /newsite/ and use: RewriteEngine On Options +FollowSymlinks RewriteBase / RewriteCond %{HTTP_HOST} newsite.com RewriteCond %{REQUEST_URI} !/newsite RewriteRule ^(.*)$ newsite/$1 [L] Does anyone know a way to redirect http://newsite.com to http://original.com/index.php?page=newsite without affecting all the other pages in the site? http://newsite.com will only have two or three pages, max, so I can use the same method to mask the other two or three URLs. This seems possible, if not easy and possible, but my Googling has been in vain. Thoughts? TIA, Kate |
|
|||
|
On Tue, 18 Mar 2008, zoo1023@gmail.com wrote:
> http://original.com, for the sake of clarity For the sake of clarity, please don't abuse other people's domains. Use http://example.com/ http://www.example.com/ instead. |
|
|||
|
On Mar 19, 10:04 am, Andreas Prilop <aprilop2...@trashmail.net> wrote:
> On Tue, 18 Mar 2008, zoo1...@gmail.com wrote: > >http://original.com, for the sake of clarity > > For the sake of clarity, please don't abuse other people's domains. > Use > http://example.com/ > http://www.example.com/ > instead. Oh, I had no idea example.com was actually an example! I'll do that from now on, sorry. |
| Thread Tools | |
| Display Modes | |
|
|