Mobile app version of vmapp.org
Login or Join
Reiling115

: URL masking with .htaccess I need a hardcore programmer to help me with URL masking. So this is my situation. My website www.michaelfotograf.dk/blog/ is the main site that needs to be configured.

@Reiling115

Posted in: #Htaccess #Masking #Url

I need a hardcore programmer to help me with URL masking.

So this is my situation.


My website michaelfotograf.dk/blog/ is the main site that needs to be configured.
I have another website/webhotel called umagepar.dk www.umagepar.dk is redirected to michaelfotograf.dk/blog/ The blog is an ongoing project where i post a lot of stuff to get my ranking higher on google. umagepar.dk which redirect to michaelfotograf.dk/blog/ is also a project on is own, so I do not want people to know, that it is a blog connected with michaelfotograf.dk/blog/ I therefore need to mask michaelfotograf.dk/blog/ so it will be called umagepar.dk in the URL in the searchbar at all times!


How can I do this?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Reiling115

1 Comments

Sorted by latest first Latest Oldest Best

 

@Ann8826881

Your host at michaelfotograf.dk will need to support Addon (multiple) domains (as it is called in cPanel).


In cPanel (for michaelfotograf.dk), setup umagepar.dk as an Addon domain, pointing to michaelfotograf.dk/blog/
Change the nameservers for umagepar.dk to point to the DNS at michaelfotograf.dk
Remove the redirection from umagepar.dk to michaelfotograf.dk/blog/
Redirect michaelfotograf.dk/blog/ to umagepar.dk in order to prevent the user accessing the same content from different URLs (duplicate content).


.htaccess is only required to perform the final redirect, in order to prevent duplicate content - it is not necessary to perform the URL "masking".

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme