Welcome to WebmasterWorld Guest from 54.158.86.243

Forum Moderators: Ocean10000 & incrediBILL & phranque

Brain Cramp: Having A Different URL From One Page On A Site?

     
7:13 pm on Jan 14, 2017 (gmt 0)

Senior Member

WebmasterWorld Senior Member planet13 is a WebmasterWorld Top Contributor of All Time 5+ Year Member Top Contributors Of The Month

joined:June 16, 2010
posts: 3823
votes: 29


I am having a brain cramp and can't even remember if this is possible, so please don't laugh too hard....

Is it possible to host a page on one site but serve it up under a different URL without borking everything and getting google mad at you?

Example: Page is hosted at www.mysite.com but it is served at the URL www.example123.com

I am going to be making several one-page sites under different domains (I know it sounds spammy, but it is not, trust me).

I don't want to do a bunch of database / wordpress installs on a bunch of different domains.

What I would like to do is create a page on my wordpress site at www.mysite.com and then have it available as the home page of www.example123.com

Are iframes still a thing? Is that what I need? Is there a better way to do it? I am not trying to get the pages to rank well in google, but it would be nice if google doesn't HATE the pages.

Thanks in advance.
9:07 pm on Jan 14, 2017 (gmt 0)

Senior Member

WebmasterWorld Senior Member topr8 is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Apr 19, 2002
posts:3268
votes: 20


are the two sites on the same server?
1:13 am on Jan 15, 2017 (gmt 0)

Senior Member

WebmasterWorld Senior Member planet13 is a WebmasterWorld Top Contributor of All Time 5+ Year Member Top Contributors Of The Month

joined:June 16, 2010
posts: 3823
votes: 29


@ topr8

are the two sites on the same server?


I am not sure I understand.

I only want ONE site. I wanted all the pages to be hosted on ONE site (one installation of wordpress).

If my site is:

www.example.com

then I want this page:

www.example.com/123mainst

To actually show (and be accessible by)

www.123mainst.com

EDIT: I think I understand your question a bit better now...

My hosting plan allows for multiple domains by creating a folder and pointing a domain name at it.

I could create as many domains as I want but then I have to go through the hassle of installing a wordpress database for EACH domain and then managing it (plugins and updates, etc.,)

I would rather - if possible - have ONE wordpress installation (on the example.com domain) and then have the content for 123mainst.com come from one page of the one wordpress install at example.com

Thanks in advance.

(If there was a way I could figure out how to do a static .html page with a nice jquery slideshow / gallery in it, then I would do that on a separate real domain, but I don't know of any good free / affordable jquery slideshows / galleries).
3:25 am on Jan 15, 2017 (gmt 0)

New User

joined:Nov 15, 2015
posts: 24
votes: 0


I've got to ask why is Wordpress your fall back option for a one-page site?

Anyway, in answer to your last question, I found this on w3schools - mods, I hope it's OK to post from w3?

[w3schools.com...]

Many slideshow options, all without jquery as far as I can tell :-)
10:56 pm on Jan 15, 2017 (gmt 0)

Administrator

WebmasterWorld Administrator phranque is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Aug 10, 2004
posts:10747
votes: 43


You can probably use mod_proxy for this.
The [P] flag of the RewriteRule directive could be useful here.
6:17 pm on Jan 16, 2017 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member lucy24 is a WebmasterWorld Top Contributor of All Time 5+ Year Member Top Contributors Of The Month

joined:Apr 9, 2011
posts:13531
votes: 403


I thought [P] could only be used in config?
9:51 pm on Jan 16, 2017 (gmt 0)

Administrator

WebmasterWorld Administrator phranque is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Aug 10, 2004
posts:10747
votes: 43


Context is typically limited at the directive level and neither RewriteRule nor the equivalent mod_proxy directives are limited to the config file:

https://httpd.apache.org/docs/current/mod/mod_proxy.html#proxypass
https://httpd.apache.org/docs/current/mod/mod_rewrite.html#rewriterule
https://httpd.apache.org/docs/current/rewrite/flags.html#flag_p