Mobile app version of vmapp.org
Login or Join
Sue5673885

: Mask URL to make the host URL invisible and use the main domain as WordPress permalinks? I use one hosting for all of my domains (approx. 15 of them) and I have a WordPress installed for

@Sue5673885

Posted in: #Domains #Masking #Wordpress

I use one hosting for all of my domains (approx. 15 of them) and I have a WordPress installed for one of them.

Let's say, my main hosting domain is: hosting.example.net

And I have installed WordPress to the subfolder: hosting.example.net/wp

Then, I've forwarded my domain example.com to hosting.example.net/wp WITH masking. So, I have example.com for all pages.

Now, here's the problematic part: Masking is not a SEO-friendly practice, because I cannot take advantage of SEO-optimized permalinks (e.g. example.com/books). But at the same time I do not want my hosting domain hosting.example.net to be visible (e.g. hosting.example.net/wp/books).

Is there a workaround for this to get permalinks like example.com/books?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Sue5673885

1 Comments

Sorted by latest first Latest Oldest Best

 

@Shanna517

There is no 'workaround' - you need to proxypass from a server registered to example.com. This means serving URLs as example.com/books but have your server source the content from hosting.example.net.

This involves configuring your server (Apache/Nginx/IIS). An example for Apache would be:

<VirtualHost *:80>
DocumentRoot "/www/whatever"
ServerName example.com
ProxyPass hosting.example.net/ </VirtualHost>

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme